A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

1522 rader
22 KiB

  1. @primary: rgb(114, 120, 191);
  2. @secondary: rgb(114, 191, 133);
  3. @subheaders: #444;
  4. @headerTextColor: black;
  5. @sansFont: 'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
  6. @serifFont: Lora, 'Palatino Linotype', 'Book Antiqua', 'New York', 'DejaVu serif', serif;
  7. @monoFont: Hack, consolas, Menlo-Regular, Menlo, Monaco, 'ubuntu mono', monospace, monospace;
  8. @dangerCol: #e21d27;
  9. @errUrgentCol: #ecc63c;
  10. @proSelectedCol: #71D571;
  11. @textLinkColor: rgb(0, 0, 238);
  12. body {
  13. font-family: @serifFont;
  14. font-size-adjust: 0.5;
  15. -webkit-font-smoothing: antialiased;
  16. -moz-osx-font-smoothing: grayscale;
  17. background-color: white;
  18. color: #111;
  19. h1, header h2 {
  20. a {
  21. color: @headerTextColor;
  22. .transition-duration(0.2s);
  23. &:hover {
  24. color: #303030;
  25. text-decoration: none;
  26. }
  27. }
  28. }
  29. h1, h2, h3 {
  30. line-height: 1.2;
  31. }
  32. &#post article, &#collection article p, &#subpage article p {
  33. display: block;
  34. unicode-bidi: embed;
  35. white-space: pre;
  36. }
  37. &#post {
  38. #wrapper, pre {
  39. max-width: 40em;
  40. margin: 0 auto;
  41. a:hover {
  42. text-decoration: underline;
  43. }
  44. }
  45. blockquote {
  46. p + p {
  47. margin: -2em 0 0.5em;
  48. }
  49. }
  50. article {
  51. margin-bottom: 2em !important;
  52. h1, h2, h3, h4, h5, h6, p, ul, ol, code {
  53. display: inline;
  54. margin: 0;
  55. }
  56. hr + p, ol, ul {
  57. display: block;
  58. margin-top: -1rem;
  59. margin-bottom: -1rem;
  60. }
  61. ol, ul {
  62. margin: 2rem 0 -1rem;
  63. ol, ul {
  64. margin: 1.25rem 0 -0.5rem;
  65. }
  66. }
  67. li {
  68. margin-top: -0.5rem;
  69. margin-bottom: -0.5rem;
  70. }
  71. h2#title {
  72. .article-title;
  73. }
  74. h1 {
  75. font-size: 1.5em;
  76. }
  77. h2 {
  78. font-size: 1.17em;
  79. }
  80. }
  81. header {
  82. padding: 1em 1rem;
  83. nav {
  84. span, a {
  85. &.pinned {
  86. &.selected {
  87. font-weight: bold;
  88. }
  89. &+.views {
  90. margin-left: 2em;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. .owner-visible {
  97. display: none;
  98. }
  99. time.dt-published {
  100. display: block;
  101. &.subtle {
  102. color: #666;
  103. margin-bottom: 0.5em;
  104. }
  105. }
  106. }
  107. &#post, &#collection, &#subpage {
  108. code {
  109. .article-code;
  110. }
  111. img, video, audio {
  112. max-width: 100%;
  113. }
  114. audio {
  115. width: 100%;
  116. white-space: initial;
  117. }
  118. pre {
  119. .code-block;
  120. code {
  121. background: transparent;
  122. border: 0;
  123. padding: 0;
  124. font-size: 1em;
  125. white-space: pre-wrap; /* CSS 3 */
  126. white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  127. white-space: -pre-wrap; /* Opera 4-6 */
  128. white-space: -o-pre-wrap; /* Opera 7 */
  129. word-wrap: break-word; /* Internet Explorer 5.5+ */
  130. }
  131. }
  132. blockquote {
  133. .article-blockquote;
  134. }
  135. article {
  136. hr {
  137. margin-top: 0;
  138. margin-bottom: 0;
  139. }
  140. p.badge {
  141. background-color: #aaa;
  142. display: inline-block;
  143. padding: 0.25em 0.5em;
  144. margin: 0;
  145. float: right;
  146. color: white;
  147. .rounded(.25em);
  148. }
  149. }
  150. header {
  151. nav {
  152. span, a {
  153. &.pinned {
  154. &+.pinned {
  155. margin-left: 1.5em;
  156. }
  157. }
  158. }
  159. }
  160. }
  161. footer {
  162. nav {
  163. a {
  164. margin-top: 0;
  165. }
  166. }
  167. }
  168. }
  169. &#collection {
  170. #welcome, .access {
  171. margin: 0 auto;
  172. max-width: 35em;
  173. h2 {
  174. font-weight: normal;
  175. margin-bottom: 1em;
  176. }
  177. p {
  178. font-size: 1.2em;
  179. line-height: 1.6;
  180. }
  181. }
  182. .access {
  183. margin: 8em auto;
  184. text-align: center;
  185. h2, ul.errors {
  186. font-size: 1.2em;
  187. margin-bottom: 1.5em !important;
  188. }
  189. }
  190. header {
  191. padding: 0 1em;
  192. text-align: center;
  193. max-width: 50em;
  194. margin: 3em auto 4em;
  195. .writeas-prefix {
  196. a {
  197. color: #aaa;
  198. }
  199. display: block;
  200. margin-bottom: 0.5em;
  201. }
  202. nav {
  203. display: block;
  204. margin: 1em 0;
  205. a:first-child {
  206. margin: 0;
  207. }
  208. }
  209. }
  210. nav#manage {
  211. position: absolute;
  212. top: 1em;
  213. left: 1.5em;
  214. li a.write {
  215. font-family: @serifFont;
  216. padding-top: 0.2em;
  217. padding-bottom: 0.2em;
  218. }
  219. }
  220. pre {
  221. line-height: 1.5;
  222. }
  223. }
  224. &#subpage {
  225. #wrapper {
  226. h1 {
  227. font-size: 2.5em;
  228. letter-spacing: -2px;
  229. padding: 0 2rem 2rem;
  230. }
  231. }
  232. }
  233. &#post {
  234. pre {
  235. font-size: 0.75em;
  236. }
  237. }
  238. &#collection, &#subpage {
  239. #wrapper {
  240. margin-left: auto;
  241. margin-right: auto;
  242. article {
  243. margin-bottom: 4em;
  244. &:hover {
  245. .hidden {
  246. .opacity(1);
  247. }
  248. }
  249. }
  250. h2 {
  251. margin-top: 0em;
  252. margin-bottom: 0.25em;
  253. &+time {
  254. display: block;
  255. margin-top: 0.25em;
  256. margin-bottom: 0.25em;
  257. }
  258. }
  259. time {
  260. font-size: 1.1em;
  261. &+p {
  262. margin-top: 0.25em;
  263. }
  264. }
  265. footer {
  266. text-align: left;
  267. padding: 0;
  268. }
  269. }
  270. #paging {
  271. overflow: visible;
  272. padding: 1em 6em 0;
  273. }
  274. a.read-more {
  275. color: #666;
  276. }
  277. }
  278. &#me #official-writing {
  279. h2 {
  280. font-weight: normal;
  281. a {
  282. font-size: 0.6em;
  283. margin-left: 1em;
  284. }
  285. a[name] {
  286. margin-left: 0;
  287. }
  288. a:link, a:visited {
  289. color: @textLinkColor;
  290. }
  291. a:hover {
  292. text-decoration: underline;
  293. }
  294. }
  295. }
  296. &#promo {
  297. div.heading {
  298. margin: 8em 0;
  299. }
  300. div.heading, div.attention-form {
  301. h1 {
  302. font-size: 3.5em;
  303. }
  304. input {
  305. padding-left: 0.75em;
  306. padding-right: 0.75em;
  307. &[type=email] {
  308. max-width: 16em;
  309. }
  310. &[type=submit] {
  311. padding-left: 1.5em;
  312. padding-right: 1.5em;
  313. }
  314. }
  315. }
  316. h2 {
  317. margin-bottom: 0;
  318. font-size: 1.8em;
  319. font-weight: normal;
  320. span.write-as {
  321. color: black;
  322. }
  323. &.soon {
  324. color: lighten(@subheaders, 50%);
  325. span {
  326. &.write-as {
  327. color: lighten(#000, 50%);
  328. }
  329. &.note {
  330. color: lighten(#333, 50%);
  331. font-variant: small-caps;
  332. margin-left: 0.5em;
  333. }
  334. }
  335. }
  336. }
  337. .half-col a {
  338. margin-left: 1em;
  339. margin-right: 1em;
  340. }
  341. }
  342. nav#top-nav {
  343. display: inline;
  344. position: absolute;
  345. top: 1.5em;
  346. right: 1.5em;
  347. font-size: 0.95rem;
  348. font-family: @sansFont;
  349. text-transform: uppercase;
  350. a {
  351. color: #777;
  352. }
  353. a + a {
  354. margin-left: 1em;
  355. }
  356. }
  357. footer {
  358. nav, ul {
  359. a {
  360. display: inline-block;
  361. margin-top: 0.8em;
  362. .transition-duration(0.1s);
  363. text-decoration: none;
  364. + a {
  365. margin-left: 0.8em;
  366. }
  367. &:link, &:visited {
  368. color: #999;
  369. }
  370. &:hover {
  371. color: #666;
  372. text-decoration: none;
  373. }
  374. }
  375. }
  376. a.home {
  377. &:link, &:visited {
  378. color: #333;
  379. }
  380. font-weight: bold;
  381. text-decoration: none;
  382. &:hover {
  383. color: #000;
  384. }
  385. }
  386. ul {
  387. list-style: none;
  388. text-align: left;
  389. padding-left: 0 !important;
  390. margin-left: 0 !important;
  391. .icons img {
  392. height: 16px;
  393. width: 16px;
  394. fill: #999;
  395. }
  396. }
  397. }
  398. }
  399. nav#full-nav {
  400. margin: 0;
  401. .left-side {
  402. display: inline-block;
  403. a:first-child {
  404. margin-left: 0;
  405. }
  406. }
  407. .right-side {
  408. float: right;
  409. }
  410. }
  411. nav#full-nav a.simple-btn, .tool button {
  412. font-family: @sansFont;
  413. border: 1px solid #ccc !important;
  414. padding: .5rem 1rem;
  415. margin: 0;
  416. .rounded(.25em);
  417. text-decoration: none;
  418. }
  419. .post-title {
  420. a {
  421. &:link {
  422. color: #333;
  423. }
  424. &:visited {
  425. color: #444;
  426. }
  427. }
  428. time, time a:link, time a:visited, &+.time {
  429. color: #999;
  430. }
  431. }
  432. .hidden {
  433. -moz-transition-property: opacity;
  434. -webkit-transition-property: opacity;
  435. -o-transition-property: opacity;
  436. transition-property: opacity;
  437. .transition-duration(0.4s);
  438. .opacity(0);
  439. }
  440. a {
  441. text-decoration: none;
  442. &:hover {
  443. text-decoration: underline;
  444. }
  445. &.subdued {
  446. color: #999;
  447. &:hover {
  448. border-bottom: 1px solid #999;
  449. text-decoration: none;
  450. }
  451. }
  452. &.danger {
  453. color: @dangerCol;
  454. font-size: 0.86em;
  455. }
  456. &.simple-cta {
  457. text-decoration: none;
  458. border-bottom: 1px solid #ccc;
  459. color: #333;
  460. padding-bottom: 2px;
  461. &:hover {
  462. text-decoration: none;
  463. }
  464. }
  465. &.action-btn {
  466. font-family: @sansFont;
  467. text-transform: uppercase;
  468. .rounded(.25em);
  469. background-color: red;
  470. color: white;
  471. font-weight: bold;
  472. padding: 0.5em 0.75em;
  473. &:hover {
  474. background-color: lighten(#f00, 5%);
  475. text-decoration: none;
  476. }
  477. }
  478. &.hashtag:hover {
  479. text-decoration: none;
  480. span + span {
  481. text-decoration: underline;
  482. }
  483. }
  484. &.hashtag {
  485. span:first-child {
  486. color: #999;
  487. margin-right: 0.1em;
  488. font-size: 0.86em;
  489. text-decoration: none;
  490. }
  491. }
  492. }
  493. abbr {
  494. border-bottom: 1px dotted #999;
  495. text-decoration: none;
  496. cursor: help;
  497. }
  498. body#collection article p, body#subpage article p {
  499. .article-p;
  500. }
  501. pre, body#post article, body#collection article, body#subpage article, body#subpage #wrapper h1 {
  502. max-width: 40rem;
  503. margin: 0 auto;
  504. }
  505. textarea, pre, body#post article, body#collection article p {
  506. &.norm, &.sans, &.wrap {
  507. line-height: 1.4em;
  508. white-space: pre-wrap; /* CSS 3 */
  509. white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  510. white-space: -pre-wrap; /* Opera 4-6 */
  511. white-space: -o-pre-wrap; /* Opera 7 */
  512. word-wrap: break-word; /* Internet Explorer 5.5+ */
  513. }
  514. }
  515. textarea, pre, body#post article, body#collection article, body#subpage article, span, .font {
  516. &.norm {
  517. font-family: @serifFont;
  518. }
  519. &.sans {
  520. font-family: @sansFont;
  521. }
  522. &.mono, &.wrap, &.code {
  523. font-family: @monoFont;
  524. }
  525. &.mono, &.code {
  526. max-width: none !important;
  527. }
  528. }
  529. textarea {
  530. &.section {
  531. border: 1px solid #ccc;
  532. padding: 0.65em 0.75em;
  533. .rounded(.25em);
  534. &.codable {
  535. height: 12em;
  536. resize: vertical;
  537. }
  538. }
  539. }
  540. .ace_editor {
  541. height: 12em;
  542. border: 1px solid #333;
  543. max-width: initial;
  544. width: 100%;
  545. font-size: 0.86em !important;
  546. border: 1px solid #ccc;
  547. padding: 0.65em 0.75em;
  548. margin: 0;
  549. .rounded(.25em);
  550. }
  551. p {
  552. -webkit-font-smoothing: antialiased;
  553. -moz-osx-font-smoothing: grayscale;
  554. &.intro {
  555. font-size: 1.25em;
  556. text-align: center;
  557. }
  558. &.upgrade-prompt {
  559. font-size: 0.9em;
  560. color: #444;
  561. }
  562. &.text-cta {
  563. font-size: 1.2em;
  564. text-align: center;
  565. margin-bottom: 0.5em;
  566. &+ p {
  567. text-align: center;
  568. font-size: 0.7em;
  569. margin-top: 0;
  570. color: #666;
  571. }
  572. }
  573. &.error {
  574. font-style: italic;
  575. color: @errUrgentCol;
  576. }
  577. &.headeresque {
  578. font-size: 2em;
  579. }
  580. }
  581. table.classy {
  582. width: 95%;
  583. border-collapse: collapse;
  584. margin-bottom: 2em;
  585. tr + tr {
  586. border-top: 1px solid #ccc;
  587. }
  588. th {
  589. text-transform: uppercase;
  590. font-weight: normal;
  591. font-size: 95%;
  592. font-family: @sansFont;
  593. padding: 1rem 0.75rem;
  594. text-align: center;
  595. }
  596. td {
  597. height: 3.5rem;
  598. }
  599. p {
  600. margin-top: 0 !important;
  601. margin-bottom: 0 !important;
  602. }
  603. &.export {
  604. .disabled {
  605. color: #999;
  606. }
  607. .disabled, a {
  608. text-transform: lowercase;
  609. }
  610. }
  611. }
  612. body#collection article, body#subpage article {
  613. padding-top: 0;
  614. padding-bottom: 0;
  615. .book {
  616. h2 {
  617. font-size: 1.4em;
  618. }
  619. a.hidden.action {
  620. color: #666;
  621. float: right;
  622. font-size: 1em;
  623. margin-left: 1em;
  624. margin-bottom: 1em;
  625. }
  626. }
  627. }
  628. body#post article {
  629. p.badge {
  630. font-size: 0.9em;
  631. }
  632. }
  633. article {
  634. h2.post-title a[rel=nofollow]::after {
  635. content: '\a0 \2934';
  636. }
  637. }
  638. table.downloads {
  639. width: 100%;
  640. td {
  641. text-align: center;
  642. }
  643. img.os {
  644. width: 48px;
  645. vertical-align: middle;
  646. margin-bottom: 6px;
  647. }
  648. }
  649. select.inputform, textarea.inputform {
  650. border: 1px solid #999;
  651. }
  652. input, button, select.inputform, textarea.inputform {
  653. padding: 0.5em;
  654. font-family: @serifFont;
  655. font-size: 100%;
  656. .rounded(.25em);
  657. &[type=submit], &.submit {
  658. border: 1px solid @primary;
  659. background: @primary;
  660. color: white;
  661. .transition(0.2s);
  662. &:hover {
  663. background-color: lighten(@primary, 3%);
  664. }
  665. &:disabled {
  666. cursor: default;
  667. background-color: desaturate(@primary, 100%) !important;
  668. border-color: desaturate(@primary, 100%) !important;
  669. }
  670. }
  671. &.error[type=text], textarea.error {
  672. -webkit-transition: all 0.30s ease-in-out;
  673. -moz-transition: all 0.30s ease-in-out;
  674. -ms-transition: all 0.30s ease-in-out;
  675. -o-transition: all 0.30s ease-in-out;
  676. outline: none;
  677. }
  678. &.danger {
  679. border: 1px solid @dangerCol;
  680. background: @dangerCol;
  681. color: white;
  682. &:hover {
  683. background-color: lighten(@dangerCol, 3%);
  684. }
  685. }
  686. &.error[type=text]:focus, textarea.error:focus {
  687. box-shadow: 0 0 5px @errUrgentCol;
  688. border: 1px solid @errUrgentCol;
  689. }
  690. }
  691. div.flat-select {
  692. display: inline-block;
  693. position: relative;
  694. select {
  695. border: 0;
  696. background: 0;
  697. -webkit-appearance: none;
  698. -moz-appearance: none;
  699. appearance: none;
  700. position: absolute;
  701. top: 0;
  702. left: 0;
  703. right: 0;
  704. bottom: 0;
  705. width: 100%;
  706. height: 100%;
  707. opacity: 0;
  708. }
  709. &.action {
  710. &:hover {
  711. label {
  712. text-decoration: underline;
  713. }
  714. }
  715. label, select {
  716. cursor: pointer;
  717. }
  718. }
  719. }
  720. input {
  721. &.underline{
  722. border: none;
  723. border-bottom: 1px solid #ccc;
  724. padding: 0 .2em .2em;
  725. font-size: 0.9em;
  726. color: #333;
  727. }
  728. &.inline {
  729. padding: 0.2rem 0.2rem;
  730. margin-left: 0;
  731. font-size: 1em;
  732. border: 0 !important;
  733. border-bottom: 1px solid #999 !important;
  734. width: 7em;
  735. .rounded(0);
  736. }
  737. &[type=tel], &[type=text], &[type=email], &[type=password] {
  738. border: 1px solid #999;
  739. }
  740. &.boxy {
  741. border: 1px solid #999 !important;
  742. }
  743. }
  744. #beta, .content-container {
  745. max-width: 50em;
  746. margin: 0 auto 3em;
  747. font-size: 1.2em;
  748. &.tight {
  749. max-width: 30em;
  750. }
  751. &.snug {
  752. max-width: 40em;
  753. }
  754. &.regular {
  755. font-size: 1em;
  756. }
  757. .app {
  758. + .app {
  759. margin-top: 1.5em;
  760. }
  761. h2 {
  762. margin-bottom: 0.25em;
  763. }
  764. p {
  765. margin-top: 0.25em;
  766. }
  767. }
  768. h2.intro {
  769. font-weight: normal;
  770. }
  771. p {
  772. line-height: 1.4;
  773. }
  774. li {
  775. margin: 0.3em 0;
  776. }
  777. h2 {
  778. &.light {
  779. font-weight: normal;
  780. }
  781. a {
  782. .transition-duration(0.2s);
  783. -moz-transition-property: color;
  784. -webkit-transition-property: color;
  785. -o-transition-property: color;
  786. transition-property: color;
  787. &:link, &:visited, &:hover {
  788. color: @subheaders;
  789. }
  790. &:hover {
  791. color: lighten(@subheaders, 10%);
  792. text-decoration: none;
  793. }
  794. }
  795. }
  796. }
  797. .content-container {
  798. &#pricing {
  799. button {
  800. cursor: pointer;
  801. color: white;
  802. margin-top: 1em;
  803. margin-bottom: 1em;
  804. padding-left: 1.5em;
  805. padding-right: 1.5em;
  806. border: 0;
  807. background: @primary;
  808. .rounded(.25em);
  809. .transition(0.2s);
  810. &:hover {
  811. background-color: lighten(@primary, 5%);
  812. }
  813. &.unselected {
  814. cursor: pointer;
  815. }
  816. }
  817. h2 span {
  818. font-weight: normal;
  819. }
  820. .half {
  821. margin: 0 0 1em 0;
  822. text-align: center;
  823. }
  824. }
  825. div.features {
  826. margin-top: 1.5em;
  827. text-align: center;
  828. font-size: 0.86em;
  829. ul {
  830. text-align: left;
  831. max-width: 26em;
  832. margin-left: auto !important;
  833. margin-right: auto !important;
  834. li.soon, span.soon {
  835. color: lighten(#111, 40%);
  836. }
  837. }
  838. }
  839. div.blurbs {
  840. >h2 {
  841. text-align: center;
  842. color: #333;
  843. font-weight: normal;
  844. }
  845. p.price {
  846. font-size: 1.2em;
  847. margin-bottom: 0;
  848. color: #333;
  849. margin-top: 0.5em;
  850. &+p {
  851. margin-top: 0;
  852. font-size: 0.8em;
  853. }
  854. }
  855. p.text-cta {
  856. font-size: 1em;
  857. }
  858. }
  859. }
  860. footer div.blurbs {
  861. display: flex;
  862. flex-flow: row;
  863. flex-wrap: wrap;
  864. }
  865. div.blurbs {
  866. .half, .third, .fourth {
  867. font-size: 0.86em;
  868. h3 {
  869. font-weight: normal;
  870. }
  871. p, ul {
  872. color: #595959;
  873. }
  874. hr {
  875. margin: 1em 0;
  876. }
  877. }
  878. .half {
  879. padding: 0 1em 0 0;
  880. width: ~"calc(50% - 1em)";
  881. &+.half {
  882. padding: 0 0 0 1em;
  883. }
  884. }
  885. .third {
  886. padding: 0;
  887. width: ~"calc(33% - 1em)";
  888. &+.third {
  889. padding: 0 0 0 1em;
  890. }
  891. }
  892. .fourth {
  893. flex: 1 1 25%;
  894. -webkit-flex: 1 1 25%;
  895. h3 {
  896. margin-bottom: 0.5em;
  897. }
  898. ul {
  899. margin-top: 0.5em;
  900. }
  901. }
  902. }
  903. .contain-me {
  904. text-align: left;
  905. margin: 0 auto 4em;
  906. max-width: 50em;
  907. h2 + p, h2 + p + p, p.describe-me {
  908. margin-left: 1.5em;
  909. margin-right: 1.5em;
  910. color: #333;
  911. }
  912. }
  913. footer.contain-me {
  914. font-size: 1.1em;
  915. }
  916. #official-writing, #wrapper {
  917. h2, h3, h4 {
  918. color: @subheaders;
  919. }
  920. ul {
  921. &.collections {
  922. margin-left: 0;
  923. li {
  924. &.collection {
  925. a.title {
  926. &:link, &:visited {
  927. color: @headerTextColor;
  928. }
  929. }
  930. }
  931. a.create {
  932. color: #444;
  933. }
  934. }
  935. & + p {
  936. margin-top: 2em;
  937. margin-left: 1em;
  938. }
  939. }
  940. }
  941. }
  942. #official-writing, #wrapper {
  943. h2 {
  944. &.major {
  945. color: #222;
  946. }
  947. &.bugfix {
  948. color: #666;
  949. }
  950. +.android-version {
  951. a {
  952. color: #999;
  953. &:hover {
  954. text-decoration: underline;
  955. }
  956. }
  957. }
  958. }
  959. }
  960. li {
  961. line-height: 1.4;
  962. .item-desc, .prog-lang {
  963. font-size: 0.6em;
  964. font-family: 'Open Sans', sans-serif;
  965. font-weight: bold;
  966. margin-left: 0.5em;
  967. margin-right: 0.5em;
  968. text-transform: uppercase;
  969. color: #999;
  970. }
  971. }
  972. .success {
  973. color: darken(@proSelectedCol, 20%);
  974. }
  975. .alert {
  976. padding: 1em;
  977. margin-bottom: 1.25em;
  978. border: 1px solid transparent;
  979. .rounded(.25em);
  980. &.info {
  981. color: #31708f;
  982. background-color: #d9edf7;
  983. border-color: #bce8f1;
  984. }
  985. &.success {
  986. color: #3c763d;
  987. background-color: #dff0d8;
  988. border-color: #d6e9c6;
  989. }
  990. p {
  991. margin: 0;
  992. &+p {
  993. margin-top: 0.5em;
  994. }
  995. }
  996. p.dismiss {
  997. font-family: @sansFont;
  998. text-align: right;
  999. font-size: 0.86em;
  1000. text-transform: uppercase;
  1001. }
  1002. }
  1003. ul.errors {
  1004. padding: 0;
  1005. text-indent: 0;
  1006. li.urgent {
  1007. list-style: none;
  1008. font-style: italic;
  1009. text-align: center;
  1010. color: @errUrgentCol;
  1011. a:link, a:visited {
  1012. color: purple;
  1013. }
  1014. }
  1015. li.info {
  1016. list-style: none;
  1017. font-size: 1.1em;
  1018. text-align: center;
  1019. }
  1020. }
  1021. body#pad #target a.upgrade-prompt {
  1022. padding-left: 1em;
  1023. padding-right: 1em;
  1024. text-align: center;
  1025. font-style: italic;
  1026. color: @primary;
  1027. }
  1028. body#pad-sub #posts, .atoms {
  1029. margin-top: 1.5em;
  1030. h3 {
  1031. margin-bottom: 0.25em;
  1032. &+ h4 {
  1033. margin-top: 0.25em;
  1034. margin-bottom: 0.5em;
  1035. &+ p {
  1036. margin-top: 0.5em;
  1037. }
  1038. }
  1039. .electron {
  1040. font-weight: normal;
  1041. margin-left: 0.5em;
  1042. }
  1043. }
  1044. h3, h4 {
  1045. a {
  1046. .transition-duration(0.2s);
  1047. -moz-transition-property: color;
  1048. -webkit-transition-property: color;
  1049. -o-transition-property: color;
  1050. transition-property: color;
  1051. }
  1052. }
  1053. h4 {
  1054. font-size: 0.9em;
  1055. font-weight: normal;
  1056. }
  1057. date, .electron {
  1058. margin-right: 0.5em;
  1059. }
  1060. .action {
  1061. font-size: 1em;
  1062. }
  1063. #more-posts p {
  1064. text-align: center;
  1065. font-size: 1.1em;
  1066. }
  1067. p {
  1068. font-size: 0.86em;
  1069. }
  1070. .error {
  1071. display: inline-block;
  1072. font-size: 0.8em;
  1073. font-style: italic;
  1074. color: @errUrgentCol;
  1075. strong {
  1076. font-style: normal;
  1077. }
  1078. }
  1079. .error + nav {
  1080. display: inline-block;
  1081. font-size: 0.8em;
  1082. margin-left: 1em;
  1083. a + a {
  1084. margin-left: 0.75em;
  1085. }
  1086. }
  1087. }
  1088. h2 {
  1089. a, time {
  1090. &+.action {
  1091. margin-left: 0.5em;
  1092. }
  1093. }
  1094. }
  1095. .action {
  1096. font-size: 0.7em;
  1097. font-weight: normal;
  1098. font-family: @serifFont;
  1099. &+ .action {
  1100. margin-left: 0.5em;
  1101. }
  1102. &.new-post {
  1103. font-weight: bold;
  1104. }
  1105. }
  1106. article.moved {
  1107. p {
  1108. font-size: 1.2em;
  1109. color: #999;
  1110. }
  1111. }
  1112. span.as {
  1113. .opacity(0.2);
  1114. font-weight: normal;
  1115. }
  1116. span.ras {
  1117. .opacity(0.6);
  1118. font-weight: normal;
  1119. }
  1120. header {
  1121. nav {
  1122. .username {
  1123. font-size: 2em;
  1124. font-weight: normal;
  1125. color: #555;
  1126. }
  1127. &#user-nav {
  1128. margin-left: 0;
  1129. & > a, .tabs > a {
  1130. &.selected {
  1131. cursor: default;
  1132. font-weight: bold;
  1133. &:hover {
  1134. text-decoration: none;
  1135. }
  1136. }
  1137. & + a {
  1138. margin-left: 2em;
  1139. }
  1140. }
  1141. a {
  1142. font-size: 1.2em;
  1143. font-family: @sansFont;
  1144. span {
  1145. font-size: 0.7em;
  1146. color: #999;
  1147. text-transform: uppercase;
  1148. margin-left: 0.5em;
  1149. margin-right: 0.5em;
  1150. }
  1151. &.title {
  1152. font-size: 1.6em;
  1153. font-family: @serifFont;
  1154. font-weight: bold;
  1155. }
  1156. }
  1157. nav > ul > li:first-child {
  1158. &> a {
  1159. display: inline-block;
  1160. }
  1161. img {
  1162. position: relative;
  1163. top: -0.5em;
  1164. right: 0.3em;
  1165. }
  1166. }
  1167. ul ul {
  1168. font-size: 0.8em;
  1169. a {
  1170. padding-top: 0.25em;
  1171. padding-bottom: 0.25em;
  1172. }
  1173. }
  1174. li {
  1175. line-height: 1.5;
  1176. }
  1177. }
  1178. &.tabs {
  1179. margin: 0 0 0 1em;
  1180. }
  1181. &+ nav.tabs {
  1182. margin: 0;
  1183. }
  1184. }
  1185. &.singleuser {
  1186. margin: 0.5em 0.25em;
  1187. nav#user-nav {
  1188. nav > ul > li:first-child {
  1189. img {
  1190. top: -0.75em;
  1191. }
  1192. }
  1193. }
  1194. }
  1195. .dash-nav {
  1196. font-weight: bold;
  1197. }
  1198. }
  1199. li#create-collection {
  1200. display: none;
  1201. h4 {
  1202. margin-top: 0px;
  1203. margin-bottom: 0px;
  1204. }
  1205. input[type=submit] {
  1206. margin-left: 0.5em;
  1207. }
  1208. }
  1209. #collection-options {
  1210. .option {
  1211. textarea {
  1212. font-size: 0.86em;
  1213. font-family: @monoFont;
  1214. }
  1215. .section > p.explain {
  1216. font-size: 0.8em;
  1217. }
  1218. }
  1219. }
  1220. .img-placeholder {
  1221. text-align: center;
  1222. img {
  1223. max-width: 100%;
  1224. }
  1225. }
  1226. dl {
  1227. &.admin-dl-horizontal {
  1228. dt {
  1229. font-weight: bolder;
  1230. width: 360px;
  1231. }
  1232. dd {
  1233. line-height: 1.5;
  1234. }
  1235. }
  1236. }
  1237. dt {
  1238. float: left;
  1239. clear: left;
  1240. overflow: hidden;
  1241. text-overflow: ellipsis;
  1242. white-space: nowrap;
  1243. }
  1244. form {
  1245. dt, dd {
  1246. padding: 0.5rem 0;
  1247. }
  1248. dt {
  1249. line-height: 1.8;
  1250. }
  1251. dd {
  1252. font-size: 0.86em;
  1253. line-height: 2;
  1254. }
  1255. }
  1256. div.row {
  1257. display: flex;
  1258. align-items: center;
  1259. > div {
  1260. flex: 1;
  1261. }
  1262. }
  1263. @media all and (max-width: 450px) {
  1264. body#post {
  1265. header {
  1266. nav {
  1267. .xtra-feature {
  1268. display: none;
  1269. }
  1270. }
  1271. }
  1272. }
  1273. }
  1274. @media all and (min-width: 1280px) {
  1275. body#promo {
  1276. div.heading {
  1277. margin: 10em 0;
  1278. }
  1279. }
  1280. }
  1281. @media all and (min-width: 1600px) {
  1282. body#promo {
  1283. div.heading {
  1284. margin: 14em 0;
  1285. }
  1286. }
  1287. }
  1288. @media all and (max-width: 900px) {
  1289. .half.big {
  1290. padding: 0 !important;
  1291. width: 100% !important;
  1292. }
  1293. .third {
  1294. padding: 0 !important;
  1295. float: none;
  1296. width: 100% !important;
  1297. p.introduction {
  1298. font-size: 0.86em;
  1299. }
  1300. }
  1301. div.blurbs {
  1302. .fourth {
  1303. flex: 1 1 15em;
  1304. -webkit-flex: 1 1 15em;
  1305. }
  1306. }
  1307. .blurbs .third, .blurbs .half {
  1308. p, ul {
  1309. text-align: left;
  1310. }
  1311. }
  1312. .half-col, .big {
  1313. float: none;
  1314. text-align: center;
  1315. &+.half-col, &+.big {
  1316. margin-top: 4em !important;
  1317. margin-left: 0;
  1318. }
  1319. }
  1320. #beta, .content-container {
  1321. font-size: 1.15em;
  1322. }
  1323. }
  1324. @media all and (max-width: 600px) {
  1325. div.row {
  1326. flex-direction: column;
  1327. }
  1328. .half {
  1329. padding: 0 !important;
  1330. width: 100% !important;
  1331. }
  1332. .third {
  1333. width: 100% !important;
  1334. float: none;
  1335. }
  1336. body#promo {
  1337. div.heading {
  1338. margin: 6em 0;
  1339. }
  1340. h2 {
  1341. font-size: 1.6em;
  1342. }
  1343. .half-col a + a {
  1344. margin-left: 1em;
  1345. }
  1346. .half-col a.channel {
  1347. margin-left: auto !important;
  1348. margin-right: auto !important;
  1349. }
  1350. }
  1351. ul.add-integrations {
  1352. li {
  1353. display: list-item;
  1354. &+ li {
  1355. margin-left: 0;
  1356. }
  1357. }
  1358. }
  1359. }
  1360. @media all and (max-height: 500px) {
  1361. body#promo {
  1362. div.heading {
  1363. margin: 5em 0;
  1364. }
  1365. }
  1366. }
  1367. @media all and (max-height: 400px) {
  1368. body#promo {
  1369. div.heading {
  1370. margin: 0em 0;
  1371. }
  1372. }
  1373. }
  1374. /* Smartphones (portrait and landscape) ----------- */
  1375. @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  1376. header {
  1377. .opacity(1);
  1378. }
  1379. }
  1380. /* Smartphones (portrait) ----------- */
  1381. @media only screen and (max-width : 320px) {
  1382. .content-container#pricing {
  1383. .half {
  1384. float: none;
  1385. width: 100%;
  1386. }
  1387. }
  1388. header {
  1389. .opacity(1);
  1390. }
  1391. }
  1392. /* iPads (portrait and landscape) ----------- */
  1393. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
  1394. header {
  1395. .opacity(1);
  1396. }
  1397. }
  1398. @media (pointer: coarse) {
  1399. body footer nav a:not(.pubd) {
  1400. padding: 0.8em 1em;
  1401. margin-left: 0;
  1402. margin-top: 0;
  1403. }
  1404. }
  1405. @media print {
  1406. h1 {
  1407. page-break-before: always;
  1408. }
  1409. h1, h2, h3, h4, h5, h6 {
  1410. page-break-after: avoid;
  1411. }
  1412. table, figure {
  1413. page-break-inside: avoid;
  1414. }
  1415. header, footer {
  1416. display: none;
  1417. }
  1418. article#post-body {
  1419. margin-top: 2em;
  1420. margin-left: 0;
  1421. margin-right: 0;
  1422. }
  1423. hr {
  1424. border: 1px solid #ccc;
  1425. }
  1426. }
  1427. .code-block {
  1428. padding: 0;
  1429. max-width: 100%;
  1430. margin: 0;
  1431. background: #f8f8f8;
  1432. border: 1px solid #ccc;
  1433. padding: 0.375em 0.625em;
  1434. font-size: 0.86em;
  1435. .rounded(.25em);
  1436. }
  1437. pre.code-block {
  1438. overflow-x: auto;
  1439. }