markdown-dark.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. :global .md-dark {
  2. body, &.md-body {
  3. margin: 0 auto;
  4. color: #EEE;
  5. line-height: 1;
  6. padding: 30px;
  7. }
  8. h1, h2, h3, h4 {
  9. font-weight: 400;
  10. }
  11. h1, h2, h3, h4, h5, p {
  12. margin-bottom: 24px;
  13. padding: 0;
  14. }
  15. h1 {
  16. font-size: 48px;
  17. }
  18. h2 {
  19. font-size: 36px;
  20. margin: 24px 0 6px;
  21. }
  22. h3 {
  23. font-size: 24px;
  24. }
  25. h4 {
  26. font-size: 21px;
  27. }
  28. h5 {
  29. font-size: 18px;
  30. }
  31. a {
  32. color: #61BFC1;
  33. margin: 0;
  34. padding: 0;
  35. text-decoration: none;
  36. vertical-align: baseline;
  37. }
  38. a:hover {
  39. text-decoration: underline;
  40. }
  41. a:visited {
  42. color: #466B6C;
  43. }
  44. ul, ol {
  45. padding: 0;
  46. margin: 0;
  47. }
  48. li {
  49. line-height: 24px;
  50. }
  51. li ul, li ul {
  52. margin-left: 24px;
  53. }
  54. p, ul, ol {
  55. font-size: 18px;
  56. line-height: 24px;
  57. max-width: 540px;
  58. }
  59. pre {
  60. padding: 0px 24px;
  61. max-width: 800px;
  62. white-space: pre-wrap;
  63. }
  64. code {
  65. font-family: Consolas, Monaco, Andale Mono, monospace;
  66. line-height: 1.5;
  67. font-size: 13px;
  68. }
  69. aside {
  70. display: block;
  71. float: right;
  72. width: 390px;
  73. }
  74. blockquote {
  75. border-left:.5em solid #eee;
  76. padding: 0 2em;
  77. margin-left:0;
  78. max-width: 476px;
  79. }
  80. blockquote cite {
  81. font-size:14px;
  82. line-height:20px;
  83. color:#bfbfbf;
  84. }
  85. blockquote cite:before {
  86. content: '\2014 \00A0';
  87. }
  88. blockquote p {
  89. color: rgb(185, 185, 185);
  90. max-width: 460px;
  91. }
  92. hr {
  93. width: 540px;
  94. text-align: left;
  95. margin: 0 auto 0 0;
  96. color: #999;
  97. }
  98. /* Code below this line is copyright Twitter Inc. */
  99. button,
  100. input,
  101. select,
  102. textarea {
  103. font-size: 100%;
  104. margin: 0;
  105. vertical-align: baseline;
  106. *vertical-align: middle;
  107. }
  108. button, input {
  109. line-height: normal;
  110. *overflow: visible;
  111. }
  112. button::-moz-focus-inner, input::-moz-focus-inner {
  113. border: 0;
  114. padding: 0;
  115. }
  116. button,
  117. input[type="button"],
  118. input[type="reset"],
  119. input[type="submit"] {
  120. cursor: pointer;
  121. -webkit-appearance: button;
  122. }
  123. input[type=checkbox], input[type=radio] {
  124. cursor: pointer;
  125. }
  126. /* override default chrome & firefox settings */
  127. input:not([type="image"]), textarea {
  128. -webkit-box-sizing: content-box;
  129. -moz-box-sizing: content-box;
  130. box-sizing: content-box;
  131. }
  132. input[type="search"] {
  133. -webkit-appearance: textfield;
  134. -webkit-box-sizing: content-box;
  135. -moz-box-sizing: content-box;
  136. box-sizing: content-box;
  137. }
  138. input[type="search"]::-webkit-search-decoration {
  139. -webkit-appearance: none;
  140. }
  141. label,
  142. input,
  143. select,
  144. textarea {
  145. font-size: 13px;
  146. font-weight: normal;
  147. line-height: normal;
  148. margin-bottom: 18px;
  149. }
  150. input[type=checkbox], input[type=radio] {
  151. cursor: pointer;
  152. margin-bottom: 0;
  153. }
  154. input[type=text],
  155. input[type=password],
  156. textarea,
  157. select {
  158. display: inline-block;
  159. width: 210px;
  160. padding: 4px;
  161. font-size: 13px;
  162. font-weight: normal;
  163. line-height: 18px;
  164. height: 18px;
  165. color: #808080;
  166. border: 1px solid #ccc;
  167. -webkit-border-radius: 3px;
  168. -moz-border-radius: 3px;
  169. border-radius: 3px;
  170. }
  171. select, input[type=file] {
  172. height: 27px;
  173. line-height: 27px;
  174. }
  175. textarea {
  176. height: auto;
  177. }
  178. /* grey out placeholders */
  179. :-moz-placeholder {
  180. color: #bfbfbf;
  181. }
  182. ::-webkit-input-placeholder {
  183. color: #bfbfbf;
  184. }
  185. input[type=text],
  186. input[type=password],
  187. select,
  188. textarea {
  189. -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  190. -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  191. transition: border linear 0.2s, box-shadow linear 0.2s;
  192. -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  193. -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  194. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  195. }
  196. input[type=text]:focus, input[type=password]:focus, textarea:focus {
  197. outline: none;
  198. border-color: rgba(82, 168, 236, 0.8);
  199. -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
  200. -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
  201. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
  202. }
  203. /* buttons */
  204. button {
  205. display: inline-block;
  206. padding: 4px 14px;
  207. font-size: 13px;
  208. line-height: 18px;
  209. -webkit-border-radius: 4px;
  210. -moz-border-radius: 4px;
  211. border-radius: 4px;
  212. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  213. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  214. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  215. background-color: #0064cd;
  216. background-repeat: repeat-x;
  217. background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
  218. background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
  219. background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
  220. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
  221. background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
  222. background-image: -o-linear-gradient(top, #049cdb, #0064cd);
  223. background-image: linear-gradient(top, #049cdb, #0064cd);
  224. color: #fff;
  225. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  226. border: 1px solid #004b9a;
  227. border-bottom-color: #003f81;
  228. -webkit-transition: 0.1s linear all;
  229. -moz-transition: 0.1s linear all;
  230. transition: 0.1s linear all;
  231. border-color: #0064cd #0064cd #003f81;
  232. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  233. }
  234. button:hover {
  235. color: #fff;
  236. background-position: 0 -15px;
  237. text-decoration: none;
  238. }
  239. button:active {
  240. -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  241. -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  242. box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  243. }
  244. button::-moz-focus-inner {
  245. padding: 0;
  246. border: 0;
  247. }
  248. }