A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

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