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.
 
 
 
 
 

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