markedapp-byword.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. /*
  2. * This document has been created with Marked.app <http://markedapp.com>.
  3. * Copyright 2011 Brett Terpstra
  4. * ---------------------------------------------------------------------------
  5. * Please leave this notice in place, along with any additional credits below.
  6. *
  7. * Byword.css theme is based on Byword.app <http://bywordapp.com>
  8. * Authors: @brunodecarvalho, @jpedroso, @rcabaco
  9. * Copyright 2011 Metaclassy, Lda. <http://metaclassy.com>
  10. */
  11. html {
  12. font-size: 62.5%; /* base font-size: 10px */
  13. }
  14. body {
  15. background-color: #f2f2f2;
  16. color: #3c3c3c;
  17. /* Change font size below */
  18. font-size: 1.7em;
  19. line-height: 1.4em;
  20. /* Change font below */
  21. /* Sans-serif fonts */
  22. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  23. -webkit-font-smoothing: antialiased;
  24. /* Serif fonts */
  25. /*
  26. font-family: "Cochin", "Baskerville", "Georgia", serif;
  27. -webkit-font-smoothing: subpixel-antialiased;
  28. */
  29. /* Monospaced fonts */
  30. /*
  31. font-family: "Courier New", Menlo, Monaco, mono;
  32. -webkit-font-smoothing: antialiased;
  33. */
  34. margin: auto;
  35. max-width: 42em;
  36. }
  37. a {
  38. color: #308bd8;
  39. text-decoration:none;
  40. }
  41. a:hover {
  42. text-decoration: underline;
  43. }
  44. /* headings */
  45. h1, h2 {
  46. line-height:1.2em;
  47. margin-top:32px;
  48. margin-bottom:12px;
  49. }
  50. h1:first-child {
  51. margin-top:0;
  52. }
  53. h3, h4, h5, h6 {
  54. margin-top:12px;
  55. margin-bottom:0;
  56. }
  57. h5, h6 {
  58. font-size:0.9em;
  59. line-height:1.0em;
  60. }
  61. /* end of headings */
  62. p {
  63. margin:0 0 24px 0;
  64. }
  65. p:last-child {
  66. margin:0;
  67. }
  68. #wrapper hr {
  69. width: 100%;
  70. margin: 3em auto;
  71. border: 0;
  72. color: #eee;
  73. background-color: #ccc;
  74. height: 1px;
  75. -webkit-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.75);
  76. }
  77. /* lists */
  78. ol {
  79. list-style: outside decimal;
  80. }
  81. ul {
  82. list-style: outside disc;
  83. }
  84. ol, ul {
  85. padding-left:0;
  86. margin-bottom:24px;
  87. }
  88. ol li {
  89. margin-left:28px;
  90. }
  91. ul li {
  92. margin-bottom:8px;
  93. margin-left:16px;
  94. }
  95. ol:last-child, ul:last-child {
  96. margin:0;
  97. }
  98. li > ol, li > ul {
  99. padding-left:12px;
  100. }
  101. dl {
  102. margin-bottom:24px;
  103. }
  104. dl dt {
  105. font-weight:bold;
  106. margin-bottom:8px;
  107. }
  108. dl dd {
  109. margin-left:0;
  110. margin-bottom:12px;
  111. }
  112. dl dd:last-child, dl:last-child {
  113. margin-bottom:0;
  114. }
  115. /* end of lists */
  116. pre {
  117. white-space: pre-wrap;
  118. width: 96%;
  119. margin-bottom: 24px;
  120. overflow: hidden;
  121. padding: 3px 10px;
  122. -webkit-border-radius: 3px;
  123. background-color: #eee;
  124. border: 1px solid #ddd;
  125. }
  126. code {
  127. white-space: nowrap;
  128. font-size: 1.1em;
  129. padding: 2px;
  130. -webkit-border-radius: 3px;
  131. background-color: #eee;
  132. border: 1px solid #ddd;
  133. }
  134. pre code {
  135. white-space: pre-wrap;
  136. border: none;
  137. padding: 0;
  138. background-color: transparent;
  139. -webkit-border-radius: 0;
  140. }
  141. blockquote {
  142. margin-left: 0;
  143. margin-right: 0;
  144. width: 96%;
  145. padding: 0 10px;
  146. border-left: 3px solid #ddd;
  147. color: #777;
  148. }
  149. table {
  150. margin-left: auto;
  151. margin-right: auto;
  152. margin-bottom: 24px;
  153. border-bottom: 1px solid #ddd;
  154. border-right: 1px solid #ddd;
  155. border-spacing: 0;
  156. }
  157. table th {
  158. padding: 3px 10px;
  159. background-color: #eee;
  160. border-top: 1px solid #ddd;
  161. border-left: 1px solid #ddd;
  162. }
  163. table tr {
  164. }
  165. table td {
  166. padding: 3px 10px;
  167. border-top: 1px solid #ddd;
  168. border-left: 1px solid #ddd;
  169. }
  170. caption {
  171. font-size: 1.2em;
  172. font-weight: bold;
  173. margin-bottom: 5px;
  174. }
  175. figure {
  176. display: block;
  177. text-align: center;
  178. }
  179. #wrapper img {
  180. border: none;
  181. display: block;
  182. margin: 1em auto;
  183. max-width: 100%;
  184. }
  185. figcaption {
  186. font-size: 0.8em;
  187. font-style: italic;
  188. }
  189. mark {
  190. background: #fefec0;
  191. padding:1px 3px;
  192. }
  193. /* classes */
  194. .markdowncitation {
  195. }
  196. .footnote {
  197. font-size: 0.8em;
  198. vertical-align: super;
  199. }
  200. .footnotes ol {
  201. font-weight: bold;
  202. }
  203. .footnotes ol li p {
  204. font-weight: normal;
  205. }
  206. /* custom formatting classes */
  207. .shadow {
  208. -webkit-box-shadow: 0 2px 4px #999;
  209. }
  210. .source {
  211. text-align: center;
  212. font-size: 0.8em;
  213. color: #777;
  214. margin: -40px;
  215. }
  216. @media screen {
  217. .inverted, .inverted #wrapper {
  218. background-color: #1a1a1a !important;
  219. color: #bebebe !important;
  220. /* SANS-SERIF */
  221. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  222. -webkit-font-smoothing: antialiased !important;
  223. /* SERIF */
  224. /*
  225. font-family: "Cochin", "Baskerville", "Georgia", serif !important;
  226. -webkit-font-smoothing: subpixel-antialiased !important;
  227. */
  228. /* MONO */
  229. /*
  230. font-family: "Courier", mono !important;
  231. -webkit-font-smoothing: antialiased !important;
  232. */
  233. }
  234. .inverted a {
  235. color: #308bd8 !important;
  236. }
  237. .inverted hr {
  238. color: #666 !important;
  239. border: 0;
  240. background-color: #666 !important;
  241. -webkit-box-shadow: none !important;
  242. }
  243. .inverted pre {
  244. background-color: #222 !important;
  245. border-color: #3c3c3c !important;
  246. }
  247. .inverted code {
  248. background-color: #222 !important;
  249. border-color: #3c3c3c !important;
  250. }
  251. .inverted blockquote {
  252. border-color: #333 !important;
  253. color: #999 !important;
  254. }
  255. .inverted table {
  256. border-color: #3c3c3c !important;
  257. }
  258. .inverted table th {
  259. background-color: #222 !important;
  260. border-color: #3c3c3c !important;
  261. }
  262. .inverted table td {
  263. border-color: #3c3c3c !important;
  264. }
  265. .inverted mark {
  266. background: #bc990b !important;
  267. color:#000 !important;
  268. }
  269. .inverted .shadow { -webkit-box-shadow: 0 2px 4px #000 !important; }
  270. #wrapper {
  271. background: transparent;
  272. margin: 40px;
  273. }
  274. }
  275. /* Printing support */
  276. @media print {
  277. body {
  278. overflow: auto;
  279. }
  280. img, pre, blockquote, table, figure {
  281. page-break-inside: avoid;
  282. }
  283. pre, code {
  284. border: none !important;
  285. }
  286. #wrapper {
  287. background: #fff;
  288. position: relative;
  289. text-indent: 0px;
  290. padding: 10px;
  291. font-size:85%;
  292. }
  293. .footnotes {
  294. page-break-before: always;
  295. }
  296. }