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.

markdown.less 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. .markdown {
  2. overflow:hidden;
  3. font-family:"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
  4. font-size:16px;
  5. line-height:1.6;
  6. word-wrap:break-word;
  7. padding: 5px 2em 2em !important;
  8. >*:first-child {
  9. margin-top:0 !important;
  10. }
  11. >*:last-child {
  12. margin-bottom:0 !important;
  13. }
  14. a:not([href]) {
  15. color:inherit;
  16. text-decoration:none;
  17. }
  18. .absent {
  19. color:#c00;
  20. }
  21. .anchor {
  22. position:absolute;
  23. top:0;
  24. left:0;
  25. display:block;
  26. padding-right:6px;
  27. padding-left:30px;
  28. margin-left:-30px;
  29. }
  30. .anchor:focus {
  31. outline:none;
  32. }
  33. h1,
  34. h2,
  35. h3,
  36. h4,
  37. h5,
  38. h6 {
  39. position:relative;
  40. margin-top:1em;
  41. margin-bottom:16px;
  42. font-weight:bold;
  43. line-height:1.4;
  44. }
  45. h1 .octicon-link,
  46. h2 .octicon-link,
  47. h3 .octicon-link,
  48. h4 .octicon-link,
  49. h5 .octicon-link,
  50. h6 .octicon-link {
  51. display:none;
  52. color:#000;
  53. vertical-align:middle;
  54. }
  55. h1:hover .anchor,
  56. h2:hover .anchor,
  57. h3:hover .anchor,
  58. h4:hover .anchor,
  59. h5:hover .anchor,
  60. h6:hover .anchor {
  61. padding-left:8px;
  62. margin-left:-30px;
  63. text-decoration:none;
  64. }
  65. h1:hover .anchor .octicon-link,
  66. h2:hover .anchor .octicon-link,
  67. h3:hover .anchor .octicon-link,
  68. h4:hover .anchor .octicon-link,
  69. h5:hover .anchor .octicon-link,
  70. h6:hover .anchor .octicon-link {
  71. display:inline-block;
  72. }
  73. h1 tt,
  74. h1 code,
  75. h2 tt,
  76. h2 code,
  77. h3 tt,
  78. h3 code,
  79. h4 tt,
  80. h4 code,
  81. h5 tt,
  82. h5 code,
  83. h6 tt,
  84. h6 code {
  85. font-size:inherit;
  86. }
  87. h1 {
  88. padding-bottom:0.3em;
  89. font-size:2.25em;
  90. line-height:1.2;
  91. border-bottom:1px solid #eee;
  92. }
  93. h1 .anchor {
  94. line-height:1;
  95. }
  96. h2 {
  97. padding-bottom:0.3em;
  98. font-size:1.75em;
  99. line-height:1.225;
  100. border-bottom:1px solid #eee;
  101. }
  102. h2 .anchor {
  103. line-height:1;
  104. }
  105. h3 {
  106. font-size:1.5em;
  107. line-height:1.43;
  108. }
  109. h3 .anchor {
  110. line-height:1.2;
  111. }
  112. h4 {
  113. font-size:1.25em;
  114. }
  115. h4 .anchor {
  116. line-height:1.2;
  117. }
  118. h5 {
  119. font-size:1em;
  120. }
  121. h5 .anchor {
  122. line-height:1.1;
  123. }
  124. h6 {
  125. font-size:1em;color:#777;
  126. }
  127. h6 .anchor {
  128. line-height:1.1;
  129. }
  130. p,
  131. blockquote,
  132. ul,
  133. ol,
  134. dl,
  135. table,
  136. pre {
  137. margin-top:0;
  138. margin-bottom:16px;
  139. }
  140. hr {
  141. height:4px;
  142. padding:0;
  143. margin:16px 0;
  144. background-color:#e7e7e7;
  145. border:0 none;
  146. }
  147. ul,
  148. ol {
  149. padding-left:2em;
  150. }
  151. ul.no-list,
  152. ol.no-list {
  153. padding:0;
  154. list-style-type:none;
  155. }
  156. ul ul,
  157. ul ol,
  158. ol ol,
  159. ol ul {
  160. margin-top:0;
  161. margin-bottom:0;
  162. }
  163. ol ol,
  164. ul ol {
  165. list-style-type: lower-roman;
  166. }
  167. li>p {
  168. margin-top:16px;
  169. }
  170. dl {
  171. padding:0;
  172. }
  173. dl dt {
  174. padding:0;
  175. margin-top:16px;
  176. font-size:1em;
  177. font-style:italic;
  178. font-weight:bold;
  179. }
  180. dl dd {
  181. padding:0 16px;
  182. margin-bottom:16px;
  183. }
  184. blockquote {
  185. padding:0 15px;
  186. color:#777;
  187. border-left:4px solid #ddd;
  188. }
  189. blockquote>:first-child {
  190. margin-top:0;
  191. }
  192. blockquote>:last-child {
  193. margin-bottom:0;
  194. }
  195. table {
  196. display:block;
  197. width:100%;
  198. overflow:auto;
  199. word-break:normal;
  200. word-break:keep-all;
  201. }
  202. table th {
  203. font-weight:bold;
  204. }
  205. table th,
  206. table td {
  207. padding:6px 13px !important;
  208. border:1px solid #ddd;
  209. }
  210. table tr {
  211. background-color:#fff;
  212. border-top:1px solid #ccc;
  213. }
  214. table tr:nth-child(2n) {
  215. background-color:#f8f8f8;
  216. }
  217. img {
  218. max-width:100%;
  219. box-sizing:border-box;
  220. }
  221. .emoji {
  222. max-width:none;
  223. }
  224. span.frame {
  225. display:block;
  226. overflow:hidden;
  227. }
  228. span.frame>span {
  229. display:block;
  230. float:left;
  231. width:auto;
  232. padding:7px;
  233. margin:13px 0 0;
  234. overflow:hidden;
  235. border:1px solid #ddd;
  236. }
  237. span.frame span img {
  238. display:block;
  239. float:left;
  240. }
  241. span.frame span span {
  242. display:block;
  243. padding:5px 0 0;
  244. clear:both;
  245. color:#333;
  246. }
  247. span.align-center {
  248. display:block;
  249. overflow:hidden;
  250. clear:both;
  251. }
  252. span.align-center>span {
  253. display:block;
  254. margin:13px auto 0;
  255. overflow:hidden;
  256. text-align:center;
  257. }
  258. span.align-center span img {
  259. margin:0 auto;
  260. text-align:center;
  261. }
  262. span.align-right {
  263. display:block;
  264. overflow:hidden;
  265. clear:both;
  266. }
  267. span.align-right>span {
  268. display:block;
  269. margin:13px 0 0;
  270. overflow:hidden;
  271. text-align:right;
  272. }
  273. span.align-right span img {
  274. margin:0;
  275. text-align:right;
  276. }
  277. span.float-left {
  278. display:block;
  279. float:left;
  280. margin-right:13px;
  281. overflow:hidden;
  282. }
  283. span.float-left span {
  284. margin:13px 0 0;
  285. }
  286. span.float-right {
  287. display:block;
  288. float:right;
  289. margin-left:13px;
  290. overflow:hidden;
  291. }
  292. span.float-right>span {
  293. display:block;
  294. margin:13px auto 0;
  295. overflow:hidden;
  296. text-align:right;
  297. }
  298. code,
  299. tt {
  300. padding:0;
  301. padding-top:0.2em;
  302. padding-bottom:0.2em;
  303. margin:0;
  304. font-size:85%;
  305. background-color:rgba(0,0,0,0.04);
  306. border-radius:3px;
  307. }
  308. code:before,
  309. code:after,
  310. tt:before,
  311. tt:after {
  312. letter-spacing:-0.2em;
  313. content:"\00a0";
  314. }
  315. code br,
  316. tt br {
  317. display:none;
  318. }
  319. del code {
  320. text-decoration:inherit;
  321. }
  322. pre>code {
  323. padding:0;
  324. margin:0;
  325. font-size:100%;
  326. word-break:normal;
  327. white-space:pre;
  328. background:transparent;
  329. border:0;
  330. }
  331. .highlight {
  332. margin-bottom:16px;
  333. }
  334. .highlight pre,
  335. pre {
  336. padding:16px;
  337. overflow:auto;
  338. font-size:85%;
  339. line-height:1.45;
  340. background-color:#f7f7f7;
  341. border-radius:3px;
  342. }
  343. .highlight pre {
  344. margin-bottom:0;
  345. word-break:normal;
  346. }
  347. pre {
  348. word-wrap:normal;
  349. }
  350. pre code,
  351. pre tt {
  352. display:inline;
  353. max-width:initial;
  354. padding:0;
  355. margin:0;
  356. overflow:initial;
  357. line-height:inherit;
  358. word-wrap:normal;
  359. background-color:transparent;
  360. border:0;
  361. }
  362. pre code:before,
  363. pre code:after,
  364. pre tt:before,
  365. pre tt:after {
  366. content:normal;
  367. }
  368. kbd {
  369. display:inline-block;
  370. padding:3px 5px;
  371. font-size:11px;
  372. line-height:10px;
  373. color:#555;
  374. vertical-align:middle;
  375. background-color:#fcfcfc;
  376. border:solid 1px #ccc;
  377. border-bottom-color:#bbb;
  378. border-radius:3px;
  379. box-shadow:inset 0 -1px 0 #bbb;
  380. }
  381. .csv-data td,
  382. .csv-data th {
  383. padding:5px;
  384. overflow:hidden;
  385. font-size:12px;
  386. line-height:1;
  387. text-align:left;
  388. white-space:nowrap;
  389. }
  390. .csv-data .blob-num {
  391. padding:10px 8px 9px;
  392. text-align:right;
  393. background:#fff;border:0;
  394. }
  395. .csv-data tr {
  396. border-top:0;
  397. }
  398. .csv-data th {
  399. font-weight:bold;
  400. background:#f8f8f8;border-top:0;
  401. }
  402. }
  403. /* Author: jmblog */
  404. /* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */
  405. /* GitHub Theme */
  406. /* Pretty printing styles. Used with prettify.js. */
  407. /* SPAN elements with the classes below are added by prettyprint. */
  408. /* plain text */
  409. .pln {
  410. color: #333333;
  411. }
  412. @media screen {
  413. /* string content */
  414. .str {
  415. color: #dd1144;
  416. }
  417. /* a keyword */
  418. .kwd {
  419. color: #333333;
  420. }
  421. /* a comment */
  422. .com {
  423. color: #999988;
  424. font-style: italic;
  425. }
  426. /* a type name */
  427. .typ {
  428. color: #445588;
  429. }
  430. /* a literal value */
  431. .lit {
  432. color: #445588;
  433. }
  434. /* punctuation */
  435. .pun {
  436. color: #333333;
  437. }
  438. /* lisp open bracket */
  439. .opn {
  440. color: #333333;
  441. }
  442. /* lisp close bracket */
  443. .clo {
  444. color: #333333;
  445. }
  446. /* a markup tag name */
  447. .tag {
  448. color: navy;
  449. }
  450. /* a markup attribute name */
  451. .atn {
  452. color: teal;
  453. }
  454. /* a markup attribute value */
  455. .atv {
  456. color: #dd1144;
  457. }
  458. /* a declaration */
  459. .dec {
  460. color: #333333;
  461. }
  462. /* a variable name */
  463. .var {
  464. color: teal;
  465. }
  466. /* a function name */
  467. .fun {
  468. color: #990000;
  469. }
  470. }
  471. /* Use higher contrast and text-weight for printable form. */
  472. @media print,
  473. projection {
  474. .str {
  475. color: #006600;
  476. }
  477. .kwd {
  478. color: #006;
  479. font-weight: bold;
  480. }
  481. .com {
  482. color: #600;
  483. font-style: italic;
  484. }
  485. .typ {
  486. color: #404;
  487. font-weight: bold;
  488. }
  489. .lit {
  490. color: #004444;
  491. }
  492. .pun,
  493. .opn,
  494. .clo {
  495. color: #444400;
  496. }
  497. .tag {
  498. color: #006;
  499. font-weight: bold;
  500. }
  501. .atn {
  502. color: #440044;
  503. }
  504. .atv {
  505. color: #006600;
  506. }
  507. }
  508. /* Specify class=linenums on a pre to get line numbering */
  509. ol.linenums {
  510. margin-top: 0;
  511. margin-bottom: 0;
  512. }