A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

1637 linhas
24 KiB

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