markdown.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. /* from https://github.com/sindresorhus/github-markdown-css/blob/gh-pages/github-markdown.css */
  2. .markdown-body {
  3. /*REMOVED -ms-text-size-adjust: 100%;
  4. -webkit-text-size-adjust: 100%;
  5. line-height: 1.5;
  6. color: #333;
  7. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  8. font-size: 16px;
  9. line-height: 1.5;*/
  10. word-wrap: break-word;
  11. }
  12. .markdown-body .pl-c {
  13. color: #969896;
  14. }
  15. .markdown-body .pl-c1,
  16. .markdown-body .pl-s .pl-v {
  17. color: #0086b3;
  18. }
  19. .markdown-body .pl-e,
  20. .markdown-body .pl-en {
  21. color: #795da3;
  22. }
  23. .markdown-body .pl-smi,
  24. .markdown-body .pl-s .pl-s1 {
  25. color: #333;
  26. }
  27. .markdown-body .pl-ent {
  28. color: #63a35c;
  29. }
  30. .markdown-body .pl-k {
  31. color: #a71d5d;
  32. }
  33. .markdown-body .pl-s,
  34. .markdown-body .pl-pds,
  35. .markdown-body .pl-s .pl-pse .pl-s1,
  36. .markdown-body .pl-sr,
  37. .markdown-body .pl-sr .pl-cce,
  38. .markdown-body .pl-sr .pl-sre,
  39. .markdown-body .pl-sr .pl-sra {
  40. color: #183691;
  41. }
  42. .markdown-body .pl-v {
  43. color: #ed6a43;
  44. }
  45. .markdown-body .pl-id {
  46. color: #b52a1d;
  47. }
  48. .markdown-body .pl-ii {
  49. color: #f8f8f8;
  50. background-color: #b52a1d;
  51. }
  52. .markdown-body .pl-sr .pl-cce {
  53. font-weight: bold;
  54. color: #63a35c;
  55. }
  56. .markdown-body .pl-ml {
  57. color: #693a17;
  58. }
  59. .markdown-body .pl-mh,
  60. .markdown-body .pl-mh .pl-en,
  61. .markdown-body .pl-ms {
  62. font-weight: bold;
  63. color: #1d3e81;
  64. }
  65. .markdown-body .pl-mq {
  66. color: #008080;
  67. }
  68. .markdown-body .pl-mi {
  69. font-style: italic;
  70. color: #333;
  71. }
  72. .markdown-body .pl-mb {
  73. font-weight: bold;
  74. color: #333;
  75. }
  76. .markdown-body .pl-md {
  77. color: #bd2c00;
  78. background-color: #ffecec;
  79. }
  80. .markdown-body .pl-mi1 {
  81. color: #55a532;
  82. background-color: #eaffea;
  83. }
  84. .markdown-body .pl-mdr {
  85. font-weight: bold;
  86. color: #795da3;
  87. }
  88. .markdown-body .pl-mo {
  89. color: #1d3e81;
  90. }
  91. .markdown-body .octicon {
  92. display: inline-block;
  93. vertical-align: text-top;
  94. fill: currentColor;
  95. }
  96. .markdown-body a {
  97. background-color: transparent;
  98. -webkit-text-decoration-skip: objects;
  99. }
  100. .markdown-body a:active,
  101. .markdown-body a:hover {
  102. outline-width: 0;
  103. }
  104. .markdown-body strong {
  105. font-weight: inherit;
  106. }
  107. .markdown-body strong {
  108. font-weight: bolder;
  109. }
  110. .markdown-body h1 {
  111. font-size: 2em;
  112. margin: 0.67em 0;
  113. }
  114. .markdown-body img {
  115. border-style: none;
  116. }
  117. .markdown-body svg:not(:root) {
  118. overflow: hidden;
  119. }
  120. .markdown-body code,
  121. .markdown-body kbd,
  122. .markdown-body pre {
  123. font-family: monospace, monospace;
  124. font-size: 1em;
  125. }
  126. .markdown-body hr {
  127. box-sizing: content-box;
  128. height: 0;
  129. overflow: visible;
  130. }
  131. .markdown-body input {
  132. font: inherit;
  133. margin: 0;
  134. }
  135. .markdown-body input {
  136. overflow: visible;
  137. }
  138. .markdown-body [type="checkbox"] {
  139. box-sizing: border-box;
  140. padding: 0;
  141. }
  142. .markdown-body * {
  143. box-sizing: border-box;
  144. }
  145. .markdown-body input {
  146. font-family: inherit;
  147. font-size: inherit;
  148. line-height: inherit;
  149. }
  150. .markdown-body a {
  151. /*REMOVED color: #4078c0;*/
  152. text-decoration: none;
  153. }
  154. .markdown-body a:hover,
  155. .markdown-body a:active {
  156. text-decoration: underline;
  157. }
  158. .markdown-body strong {
  159. font-weight: 600;
  160. }
  161. .markdown-body hr {
  162. height: 0;
  163. margin: 15px 0;
  164. overflow: hidden;
  165. background: transparent;
  166. border: 0;
  167. border-bottom: 1px solid #ddd;
  168. }
  169. .markdown-body hr::before {
  170. display: table;
  171. content: "";
  172. }
  173. .markdown-body hr::after {
  174. display: table;
  175. clear: both;
  176. content: "";
  177. }
  178. .markdown-body table {
  179. border-spacing: 0;
  180. border-collapse: collapse;
  181. }
  182. .markdown-body td,
  183. .markdown-body th {
  184. padding: 0;
  185. }
  186. .markdown-body h1,
  187. .markdown-body h2,
  188. .markdown-body h3,
  189. .markdown-body h4,
  190. .markdown-body h5,
  191. .markdown-body h6 {
  192. margin-top: 0;
  193. margin-bottom: 0;
  194. }
  195. .markdown-body h1 {
  196. font-size: 32px;
  197. font-weight: 600;
  198. }
  199. .markdown-body h2 {
  200. font-size: 24px;
  201. font-weight: 600;
  202. }
  203. .markdown-body h3 {
  204. font-size: 20px;
  205. font-weight: 600;
  206. }
  207. .markdown-body h4 {
  208. font-size: 16px;
  209. font-weight: 600;
  210. }
  211. .markdown-body h5 {
  212. font-size: 14px;
  213. font-weight: 600;
  214. }
  215. .markdown-body h6 {
  216. font-size: 12px;
  217. font-weight: 600;
  218. }
  219. .markdown-body p {
  220. margin-top: 0;
  221. margin-bottom: 10px;
  222. }
  223. .markdown-body blockquote {
  224. margin: 0;
  225. }
  226. .markdown-body ul,
  227. .markdown-body ol {
  228. padding-left: 0;
  229. margin-top: 0;
  230. margin-bottom: 0;
  231. }
  232. .markdown-body ol ol,
  233. .markdown-body ul ol {
  234. list-style-type: lower-roman;
  235. }
  236. .markdown-body ul ul ol,
  237. .markdown-body ul ol ol,
  238. .markdown-body ol ul ol,
  239. .markdown-body ol ol ol {
  240. list-style-type: lower-alpha;
  241. }
  242. .markdown-body dd {
  243. margin-left: 0;
  244. }
  245. .markdown-body code {
  246. font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  247. font-size: 12px;
  248. }
  249. .markdown-body pre {
  250. margin-top: 0;
  251. margin-bottom: 0;
  252. font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
  253. }
  254. .markdown-body .octicon {
  255. vertical-align: text-bottom;
  256. }
  257. .markdown-body input {
  258. -webkit-font-feature-settings: "liga" 0;
  259. font-feature-settings: "liga" 0;
  260. }
  261. .markdown-body::before {
  262. display: table;
  263. content: "";
  264. }
  265. .markdown-body::after {
  266. display: table;
  267. clear: both;
  268. content: "";
  269. }
  270. .markdown-body>*:first-child {
  271. margin-top: 0 !important;
  272. }
  273. .markdown-body>*:last-child {
  274. margin-bottom: 0 !important;
  275. }
  276. .markdown-body a:not([href]) {
  277. color: inherit;
  278. text-decoration: none;
  279. }
  280. .markdown-body .anchor {
  281. float: left;
  282. padding-right: 4px;
  283. margin-left: -20px;
  284. line-height: 1;
  285. }
  286. .markdown-body .anchor:focus {
  287. outline: none;
  288. }
  289. .markdown-body p,
  290. .markdown-body blockquote,
  291. .markdown-body ul,
  292. .markdown-body ol,
  293. .markdown-body dl,
  294. .markdown-body table,
  295. .markdown-body pre {
  296. margin-top: 0;
  297. margin-bottom: 16px;
  298. }
  299. .markdown-body hr {
  300. height: 0.25em;
  301. padding: 0;
  302. margin: 24px 0;
  303. background-color: #e7e7e7;
  304. border: 0;
  305. }
  306. .markdown-body blockquote {
  307. padding: 0 1em;
  308. color: #777;
  309. border-left: 0.25em solid #ddd;
  310. }
  311. .markdown-body blockquote>:first-child {
  312. margin-top: 0;
  313. }
  314. .markdown-body blockquote>:last-child {
  315. margin-bottom: 0;
  316. }
  317. .markdown-body kbd {
  318. display: inline-block;
  319. padding: 3px 5px;
  320. font-size: 11px;
  321. line-height: 10px;
  322. color: #555;
  323. vertical-align: middle;
  324. background-color: #fcfcfc;
  325. border: solid 1px #ccc;
  326. border-bottom-color: #bbb;
  327. border-radius: 3px;
  328. box-shadow: inset 0 -1px 0 #bbb;
  329. }
  330. .markdown-body h1,
  331. .markdown-body h2,
  332. .markdown-body h3,
  333. .markdown-body h4,
  334. .markdown-body h5,
  335. .markdown-body h6 {
  336. margin-top: 24px;
  337. margin-bottom: 16px;
  338. font-weight: 600;
  339. line-height: 1.25;
  340. }
  341. .markdown-body h1 .octicon-link,
  342. .markdown-body h2 .octicon-link,
  343. .markdown-body h3 .octicon-link,
  344. .markdown-body h4 .octicon-link,
  345. .markdown-body h5 .octicon-link,
  346. .markdown-body h6 .octicon-link {
  347. color: #000;
  348. vertical-align: middle;
  349. visibility: hidden;
  350. }
  351. .markdown-body h1:hover .anchor,
  352. .markdown-body h2:hover .anchor,
  353. .markdown-body h3:hover .anchor,
  354. .markdown-body h4:hover .anchor,
  355. .markdown-body h5:hover .anchor,
  356. .markdown-body h6:hover .anchor {
  357. text-decoration: none;
  358. }
  359. .markdown-body h1:hover .anchor .octicon-link,
  360. .markdown-body h2:hover .anchor .octicon-link,
  361. .markdown-body h3:hover .anchor .octicon-link,
  362. .markdown-body h4:hover .anchor .octicon-link,
  363. .markdown-body h5:hover .anchor .octicon-link,
  364. .markdown-body h6:hover .anchor .octicon-link {
  365. visibility: visible;
  366. }
  367. .markdown-body h1 {
  368. padding-bottom: 0.3em;
  369. font-size: 2em;
  370. /*REMOVED border-bottom: 1px solid #eee;*/
  371. }
  372. .markdown-body h2 {
  373. padding-bottom: 0.3em;
  374. font-size: 1.5em;
  375. /*REMOVED border-bottom: 1px solid #eee;*/
  376. }
  377. .markdown-body h3 {
  378. font-size: 1.25em;
  379. }
  380. .markdown-body h4 {
  381. font-size: 1em;
  382. }
  383. .markdown-body h5 {
  384. font-size: 0.875em;
  385. }
  386. .markdown-body h6 {
  387. font-size: 0.85em;
  388. color: #777;
  389. }
  390. .markdown-body ul,
  391. .markdown-body ol {
  392. padding-left: 2em;
  393. }
  394. .markdown-body ul ul,
  395. .markdown-body ul ol,
  396. .markdown-body ol ol,
  397. .markdown-body ol ul {
  398. margin-top: 0;
  399. margin-bottom: 0;
  400. }
  401. .markdown-body li>p {
  402. margin-top: 16px;
  403. }
  404. .markdown-body li+li {
  405. margin-top: 0.25em;
  406. }
  407. .markdown-body dl {
  408. padding: 0;
  409. }
  410. .markdown-body dl dt {
  411. padding: 0;
  412. margin-top: 16px;
  413. font-size: 1em;
  414. font-style: italic;
  415. font-weight: bold;
  416. }
  417. .markdown-body dl dd {
  418. padding: 0 16px;
  419. margin-bottom: 16px;
  420. }
  421. .markdown-body table {
  422. display: block;
  423. width: 100%;
  424. overflow: auto;
  425. }
  426. .markdown-body table th {
  427. font-weight: bold;
  428. }
  429. .markdown-body table th,
  430. .markdown-body table td {
  431. padding: 6px 13px;
  432. border: 1px solid #ddd;
  433. }
  434. .markdown-body table tr {
  435. background-color: #fff;
  436. border-top: 1px solid #ccc;
  437. }
  438. .markdown-body table tr:nth-child(2n) {
  439. background-color: #f8f8f8;
  440. }
  441. .markdown-body img {
  442. max-width: 100%;
  443. box-sizing: content-box;
  444. background-color: #fff;
  445. }
  446. .markdown-body code {
  447. padding: 0;
  448. padding-top: 0.2em;
  449. padding-bottom: 0.2em;
  450. margin: 0;
  451. font-size: 85%;
  452. background-color: rgba(0,0,0,0.04);
  453. /*REMOVED border-radius: 3px;*/
  454. }
  455. .markdown-body code::before,
  456. .markdown-body code::after {
  457. letter-spacing: -0.2em;
  458. content: "\00a0";
  459. }
  460. .markdown-body pre {
  461. word-wrap: normal;
  462. }
  463. .markdown-body pre>code {
  464. padding: 0;
  465. margin: 0;
  466. font-size: 100%;
  467. word-break: normal;
  468. white-space: pre;
  469. background: transparent;
  470. border: 0;
  471. }
  472. .markdown-body .highlight {
  473. margin-bottom: 16px;
  474. }
  475. .markdown-body .highlight pre {
  476. margin-bottom: 0;
  477. word-break: normal;
  478. }
  479. .markdown-body .highlight pre,
  480. .markdown-body pre {
  481. padding: 16px;
  482. overflow: auto;
  483. font-size: 85%;
  484. line-height: 1.45;
  485. background-color: #f7f7f7;
  486. /*REMOVED border-radius: 3px;*/
  487. }
  488. .markdown-body pre code {
  489. display: inline;
  490. max-width: auto;
  491. padding: 0;
  492. margin: 0;
  493. overflow: visible;
  494. line-height: inherit;
  495. word-wrap: normal;
  496. background-color: transparent;
  497. border: 0;
  498. }
  499. .markdown-body pre code::before,
  500. .markdown-body pre code::after {
  501. content: normal;
  502. }
  503. .markdown-body .pl-0 {
  504. padding-left: 0 !important;
  505. }
  506. .markdown-body .pl-1 {
  507. padding-left: 3px !important;
  508. }
  509. .markdown-body .pl-2 {
  510. padding-left: 6px !important;
  511. }
  512. .markdown-body .pl-3 {
  513. padding-left: 12px !important;
  514. }
  515. .markdown-body .pl-4 {
  516. padding-left: 24px !important;
  517. }
  518. .markdown-body .pl-5 {
  519. padding-left: 36px !important;
  520. }
  521. .markdown-body .pl-6 {
  522. padding-left: 48px !important;
  523. }
  524. .markdown-body .full-commit .btn-outline:not(:disabled):hover {
  525. color: #4078c0;
  526. border: 1px solid #4078c0;
  527. }
  528. .markdown-body kbd {
  529. display: inline-block;
  530. padding: 3px 5px;
  531. font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
  532. line-height: 10px;
  533. color: #555;
  534. vertical-align: middle;
  535. background-color: #fcfcfc;
  536. border: solid 1px #ccc;
  537. border-bottom-color: #bbb;
  538. border-radius: 3px;
  539. box-shadow: inset 0 -1px 0 #bbb;
  540. }
  541. .markdown-body :checked+.radio-label {
  542. position: relative;
  543. z-index: 1;
  544. border-color: #4078c0;
  545. }
  546. .markdown-body .task-list-item {
  547. list-style-type: none;
  548. }
  549. .markdown-body .task-list-item+.task-list-item {
  550. margin-top: 3px;
  551. }
  552. .markdown-body .task-list-item input {
  553. margin: 0 0.2em 0.25em -1.6em;
  554. vertical-align: middle;
  555. }
  556. .markdown-body hr {
  557. border-bottom-color: #eee;
  558. }