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.

384 lines
5.4 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. .markdown {
  2. font-size: 14px;
  3. }
  4. .markdown a {
  5. color: #4183C4;
  6. }
  7. .markdown h1,
  8. .markdown h2,
  9. .markdown h3,
  10. .markdown h4,
  11. .markdown h5,
  12. .markdown h6 {
  13. line-height: 1.7;
  14. padding: 15px 0 0;
  15. margin: 0 0 15px;
  16. color: #444;
  17. font-weight: bold;
  18. }
  19. .markdown h1,
  20. .markdown h2 {
  21. border-bottom: 1px solid #EEE;
  22. }
  23. .markdown h2 {
  24. border-bottom: 1px solid #EEE;
  25. }
  26. .markdown h1 {
  27. color: #000;
  28. font-size: 33px
  29. }
  30. .markdown h2 {
  31. color: #333;
  32. font-size: 28px
  33. }
  34. .markdown h3 {
  35. font-size: 22px
  36. }
  37. .markdown h4 {
  38. font-size: 18px
  39. }
  40. .markdown h5 {
  41. font-size: 14px
  42. }
  43. .markdown h6 {
  44. font-size: 14px
  45. }
  46. .markdown table {
  47. border-collapse: collapse;
  48. border-spacing: 0;
  49. display: block;
  50. overflow: auto;
  51. width: 100%;
  52. margin: 0 0 9px;
  53. }
  54. .markdown table th {
  55. font-weight: 700
  56. }
  57. .markdown table th,
  58. .markdown table td {
  59. border: 1px solid #DDD;
  60. padding: 6px 13px;
  61. }
  62. .markdown table tr {
  63. background-color: #FFF;
  64. border-top: 1px solid #CCC;
  65. }
  66. .markdown table tr:nth-child(2n) {
  67. background-color: #F8F8F8
  68. }
  69. .markdown li {
  70. line-height: 1.6;
  71. margin-top: 6px;
  72. }
  73. .markdown li:first-child {
  74. margin-top: 0;
  75. }
  76. .markdown dl dt {
  77. font-style: italic;
  78. margin-top: 9px;
  79. }
  80. .markdown dl dd {
  81. margin: 0 0 9px;
  82. padding: 0 9px;
  83. }
  84. .markdown blockquote,
  85. .markdown blockquote p {
  86. font-size: 14px;
  87. background-color: #f5f5f5;
  88. }
  89. .markdown > pre {
  90. line-height: 1.6;
  91. overflow: auto;
  92. background: #f8f8f8;
  93. border: 1px solid #ddd;
  94. padding: 0;
  95. }
  96. .markdown > pre.linenums {
  97. padding: 0;
  98. }
  99. .markdown > pre > ol.linenums {
  100. list-style: none;
  101. padding: 0;
  102. }
  103. .markdown > pre > ol.linenums > li {
  104. margin-top: 2px;
  105. }
  106. .markdown > pre.nums-style > ol.linenums {
  107. list-style-type: decimal;
  108. padding: 0 0 0 40px;
  109. -webkit-box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  110. box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc;
  111. }
  112. .markdown > pre > code {
  113. white-space: pre;
  114. word-wrap: normal;
  115. }
  116. .markdown > pre > ol.linenums > li {
  117. padding: 0 10px;
  118. }
  119. .markdown > pre > ol.linenums > li:first-child {
  120. padding-top: 12px;
  121. }
  122. .markdown > pre > ol.linenums > li:last-child {
  123. padding-bottom: 12px;
  124. }
  125. .markdown > pre.nums-style > ol.linenums > li {
  126. border-left: 1px solid #ddd;
  127. }
  128. .markdown hr {
  129. border: none;
  130. color: #ccc;
  131. height: 4px;
  132. padding: 0;
  133. margin: 15px 0;
  134. border-bottom: 2px solid #EEE;
  135. }
  136. .markdown blockquote:last-child,
  137. .markdown ul:last-child,
  138. .markdown ol:last-child,
  139. .markdown > pre:last-child,
  140. .markdown > pre:last-child,
  141. .markdown p:last-child {
  142. margin-bottom: 0;
  143. }
  144. .markdown img {
  145. max-width: 100%;
  146. }
  147. .markdown .btn {
  148. color: #fff;
  149. }
  150. .markdown .anchor-wrap {
  151. /*margin-top: -50px;*/
  152. /*padding-top: 50px;*/
  153. }
  154. .markdown h1 a, .markdown h2 a, .markdown h3 a {
  155. text-decoration: none;
  156. }
  157. .markdown h1 a.anchor,
  158. .markdown h2 a.anchor,
  159. .markdown h3 a.anchor,
  160. .markdown h4 a.anchor,
  161. .markdown h5 a.anchor,
  162. .markdown h6 a.anchor {
  163. text-decoration:none;
  164. line-height:1;
  165. padding-left:0;
  166. margin-left:5px;
  167. top:15%;
  168. }
  169. .markdown a span.octicon {
  170. font-size: 16px;
  171. font-family: "FontAwesome";
  172. line-height: 1;
  173. display: inline-block;
  174. text-decoration: none;
  175. -webkit-font-smoothing: antialiased;
  176. }
  177. .markdown a span.octicon-link {
  178. display: none;
  179. color: #000;
  180. }
  181. .markdown a span.octicon-link:before {
  182. content: "\f0c1";
  183. }
  184. .markdown h1:hover .octicon-link,
  185. .markdown h2:hover .octicon-link,
  186. .markdown h3:hover .octicon-link,
  187. .markdown h4:hover .octicon-link,
  188. .markdown h5:hover .octicon-link,
  189. .markdown h6:hover .octicon-link {
  190. display:inline-block
  191. }
  192. /* Author: jmblog */
  193. /* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */
  194. /* GitHub Theme */
  195. /* Pretty printing styles. Used with prettify.js. */
  196. /* SPAN elements with the classes below are added by prettyprint. */
  197. /* plain text */
  198. .pln {
  199. color: #333333;
  200. }
  201. @media screen {
  202. /* string content */
  203. .str {
  204. color: #dd1144;
  205. }
  206. /* a keyword */
  207. .kwd {
  208. color: #333333;
  209. }
  210. /* a comment */
  211. .com {
  212. color: #999988;
  213. font-style: italic;
  214. }
  215. /* a type name */
  216. .typ {
  217. color: #445588;
  218. }
  219. /* a literal value */
  220. .lit {
  221. color: #445588;
  222. }
  223. /* punctuation */
  224. .pun {
  225. color: #333333;
  226. }
  227. /* lisp open bracket */
  228. .opn {
  229. color: #333333;
  230. }
  231. /* lisp close bracket */
  232. .clo {
  233. color: #333333;
  234. }
  235. /* a markup tag name */
  236. .tag {
  237. color: navy;
  238. }
  239. /* a markup attribute name */
  240. .atn {
  241. color: teal;
  242. }
  243. /* a markup attribute value */
  244. .atv {
  245. color: #dd1144;
  246. }
  247. /* a declaration */
  248. .dec {
  249. color: #333333;
  250. }
  251. /* a variable name */
  252. .var {
  253. color: teal;
  254. }
  255. /* a function name */
  256. .fun {
  257. color: #990000;
  258. }
  259. }
  260. /* Use higher contrast and text-weight for printable form. */
  261. @media print, projection {
  262. .str {
  263. color: #006600;
  264. }
  265. .kwd {
  266. color: #006;
  267. font-weight: bold;
  268. }
  269. .com {
  270. color: #600;
  271. font-style: italic;
  272. }
  273. .typ {
  274. color: #404;
  275. font-weight: bold;
  276. }
  277. .lit {
  278. color: #004444;
  279. }
  280. .pun, .opn, .clo {
  281. color: #444400;
  282. }
  283. .tag {
  284. color: #006;
  285. font-weight: bold;
  286. }
  287. .atn {
  288. color: #440044;
  289. }
  290. .atv {
  291. color: #006600;
  292. }
  293. }
  294. /* Specify class=linenums on a pre to get line numbering */
  295. ol.linenums {
  296. margin-top: 0;
  297. margin-bottom: 0;
  298. }
  299. /* IE indents via margin-left */
  300. li.L0,
  301. li.L1,
  302. li.L2,
  303. li.L3,
  304. li.L4,
  305. li.L5,
  306. li.L6,
  307. li.L7,
  308. li.L8,
  309. li.L9 {
  310. /* */
  311. }
  312. /* Alternate shading for lines */
  313. li.L1,
  314. li.L3,
  315. li.L5,
  316. li.L7,
  317. li.L9 {
  318. /* */
  319. }