markdown-darker.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. /*
  2. * This program is free software; you can redistribute it and/or
  3. * modify it under the terms of the GNU General Public License
  4. * as published by the Free Software Foundation; either version 2
  5. * of the License, or (at your option) any later version.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. * Author: g0tsu
  12. * Email: g0tsu at dnmx.0rg
  13. */
  14. .markdown-body, body {
  15. margin: 0;
  16. color: #c9d1d9;
  17. background-color: #222222;
  18. font-family: Helvetica,Arial,sans-serif;
  19. font-size: 16px;
  20. line-height: 1.5;
  21. word-wrap: break-word;
  22. }
  23. .markdown-body details,
  24. .markdown-body figcaption,
  25. .markdown-body figure {
  26. display: block;
  27. }
  28. .markdown-body summary {
  29. display: list-item;
  30. }
  31. .markdown-body [hidden] {
  32. display: none !important;
  33. }
  34. .markdown-body a {
  35. background-color: transparent;
  36. color: #58a6ff;
  37. text-decoration: none;
  38. }
  39. .markdown-body a:active,
  40. .markdown-body a:hover {
  41. outline-width: 0;
  42. }
  43. .markdown-body abbr[title] {
  44. border-bottom: none;
  45. text-decoration: underline dotted;
  46. }
  47. .markdown-body b,
  48. .markdown-body strong {
  49. font-weight: 600;
  50. }
  51. .markdown-body dfn {
  52. font-style: italic;
  53. }
  54. .markdown-body h1 {
  55. margin: .67em 0;
  56. font-weight: 600;
  57. padding-bottom: .3em;
  58. font-size: 2em;
  59. border-bottom: 1px solid #21262d;
  60. }
  61. .markdown-body mark {
  62. background-color: #333;
  63. color: #c9d1d9;
  64. }
  65. .markdown-body small {
  66. font-size: 90%;
  67. }
  68. .markdown-body sub,
  69. .markdown-body sup {
  70. font-size: 75%;
  71. line-height: 0;
  72. position: relative;
  73. vertical-align: baseline;
  74. }
  75. .markdown-body sub {
  76. bottom: -0.25em;
  77. }
  78. .markdown-body sup {
  79. top: -0.5em;
  80. }
  81. .markdown-body img {
  82. border-style: none;
  83. max-width: 100%;
  84. box-sizing: content-box;
  85. background-color: #222222;
  86. }
  87. .markdown-body code,
  88. .markdown-body pre,
  89. .markdown-body samp {
  90. font-family: monospace;
  91. font-size: 1em;
  92. }
  93. .markdown-body figure {
  94. margin: 1em 40px;
  95. }
  96. .markdown-body hr {
  97. box-sizing: content-box;
  98. overflow: hidden;
  99. background: transparent;
  100. border-bottom: 1px solid #21262d;
  101. height: .25em;
  102. padding: 0;
  103. margin: 24px 0;
  104. background-color: #30363d;
  105. border: 0;
  106. }
  107. .markdown-body input {
  108. font: inherit;
  109. margin: 0;
  110. overflow: visible;
  111. font-family: inherit;
  112. font-size: inherit;
  113. line-height: inherit;
  114. }
  115. .markdown-body [type=checkbox],
  116. .markdown-body [type=radio] {
  117. box-sizing: border-box;
  118. padding: 0;
  119. }
  120. .markdown-body a:hover {
  121. text-decoration: underline;
  122. }
  123. .markdown-body hr::before {
  124. display: table;
  125. content: "";
  126. }
  127. .markdown-body hr::after {
  128. display: table;
  129. clear: both;
  130. content: "";
  131. }
  132. .markdown-body table {
  133. border-spacing: 0;
  134. border-collapse: collapse;
  135. display: block;
  136. width: max-content;
  137. max-width: 100%;
  138. overflow: auto;
  139. }
  140. .markdown-body td,
  141. .markdown-body th {
  142. padding: 0;
  143. }
  144. .markdown-body details summary {
  145. cursor: pointer;
  146. }
  147. .markdown-body kbd {
  148. display: inline-block;
  149. padding: 3px 5px;
  150. font-family: monospace;
  151. font-size: 1em;
  152. line-height: 10px;
  153. color: #c9d1d9;
  154. vertical-align: middle;
  155. background-color: #333;
  156. border: solid 1px #999;
  157. border-bottom-color: #777;
  158. border-radius: 6px;
  159. box-shadow: inset 0 -1px 0 #777;
  160. }
  161. .markdown-body h1,
  162. .markdown-body h2,
  163. .markdown-body h3,
  164. .markdown-body h4,
  165. .markdown-body h5,
  166. .markdown-body h6 {
  167. margin-top: 24px;
  168. margin-bottom: 16px;
  169. font-weight: 600;
  170. line-height: 1.25;
  171. }
  172. .markdown-body h2 {
  173. font-weight: 600;
  174. padding-bottom: .3em;
  175. font-size: 1.5em;
  176. border-bottom: 1px solid #21262d;
  177. }
  178. .markdown-body h3 {
  179. font-weight: 600;
  180. font-size: 1.25em;
  181. }
  182. .markdown-body h4 {
  183. font-weight: 600;
  184. font-size: 1em;
  185. }
  186. .markdown-body h5 {
  187. font-weight: 600;
  188. font-size: .875em;
  189. }
  190. .markdown-body h6 {
  191. font-weight: 600;
  192. font-size: .85em;
  193. color: #8b949e;
  194. }
  195. .markdown-body p {
  196. margin-top: 0;
  197. margin-bottom: 10px;
  198. }
  199. .markdown-body blockquote {
  200. margin: 0;
  201. padding: 0 1em;
  202. color: #8b949e;
  203. border-left: .25em solid #30363d;
  204. }
  205. .markdown-body ul,
  206. .markdown-body ol {
  207. margin-top: 0;
  208. margin-bottom: 0;
  209. padding-left: 2em;
  210. }
  211. .markdown-body ol ol,
  212. .markdown-body ul ol {
  213. list-style-type: lower-roman;
  214. }
  215. .markdown-body ul ul ol,
  216. .markdown-body ul ol ol,
  217. .markdown-body ol ul ol,
  218. .markdown-body ol ol ol {
  219. list-style-type: lower-alpha;
  220. }
  221. .markdown-body dd {
  222. margin-left: 0;
  223. }
  224. .markdown-body tt,
  225. .markdown-body code {
  226. font-family: monospace;
  227. font-size: 12px;
  228. }
  229. .markdown-body pre {
  230. margin-top: 0;
  231. margin-bottom: 0;
  232. font-family: monospace;
  233. font-size: 12px;
  234. word-wrap: normal;
  235. }
  236. .markdown-body [data-catalyst] {
  237. display: block;
  238. }
  239. .markdown-body::before {
  240. display: table;
  241. content: "";
  242. }
  243. .markdown-body::after {
  244. display: table;
  245. clear: both;
  246. content: "";
  247. }
  248. .markdown-body>*:first-child {
  249. margin-top: 0 !important;
  250. }
  251. .markdown-body>*:last-child {
  252. margin-bottom: 0 !important;
  253. }
  254. .markdown-body a:not([href]) {
  255. color: inherit;
  256. text-decoration: none;
  257. }
  258. .markdown-body .absent {
  259. color: #f85149;
  260. }
  261. .markdown-body .anchor {
  262. float: left;
  263. padding-right: 4px;
  264. margin-left: -20px;
  265. line-height: 1;
  266. }
  267. .markdown-body .anchor:focus {
  268. outline: none;
  269. }
  270. .markdown-body p,
  271. .markdown-body blockquote,
  272. .markdown-body ul,
  273. .markdown-body ol,
  274. .markdown-body dl,
  275. .markdown-body table,
  276. .markdown-body pre,
  277. .markdown-body details {
  278. margin-top: 0;
  279. margin-bottom: 16px;
  280. }
  281. .markdown-body blockquote>:first-child {
  282. margin-top: 0;
  283. }
  284. .markdown-body blockquote>:last-child {
  285. margin-bottom: 0;
  286. }
  287. .markdown-body sup>a::before {
  288. content: "[";
  289. }
  290. .markdown-body sup>a::after {
  291. content: "]";
  292. }
  293. .markdown-body h1:hover .anchor,
  294. .markdown-body h2:hover .anchor,
  295. .markdown-body h3:hover .anchor,
  296. .markdown-body h4:hover .anchor,
  297. .markdown-body h5:hover .anchor,
  298. .markdown-body h6:hover .anchor {
  299. text-decoration: none;
  300. }
  301. .markdown-body h1 tt,
  302. .markdown-body h1 code,
  303. .markdown-body h2 tt,
  304. .markdown-body h2 code,
  305. .markdown-body h3 tt,
  306. .markdown-body h3 code,
  307. .markdown-body h4 tt,
  308. .markdown-body h4 code,
  309. .markdown-body h5 tt,
  310. .markdown-body h5 code,
  311. .markdown-body h6 tt,
  312. .markdown-body h6 code {
  313. padding: 0 .2em;
  314. font-size: inherit;
  315. }
  316. .markdown-body ul.no-list,
  317. .markdown-body ol.no-list {
  318. padding: 0;
  319. list-style-type: none;
  320. }
  321. .markdown-body ol[type="1"] {
  322. list-style-type: decimal;
  323. }
  324. .markdown-body ol[type=a] {
  325. list-style-type: lower-alpha;
  326. }
  327. .markdown-body ol[type=i] {
  328. list-style-type: lower-roman;
  329. }
  330. .markdown-body div>ol:not([type]) {
  331. list-style-type: decimal;
  332. }
  333. .markdown-body ul ul,
  334. .markdown-body ul ol,
  335. .markdown-body ol ol,
  336. .markdown-body ol ul {
  337. margin-top: 0;
  338. margin-bottom: 0;
  339. }
  340. .markdown-body li>p {
  341. margin-top: 16px;
  342. }
  343. .markdown-body li+li {
  344. margin-top: .25em;
  345. }
  346. .markdown-body dl {
  347. padding: 0;
  348. }
  349. .markdown-body dl dt {
  350. padding: 0;
  351. margin-top: 16px;
  352. font-size: 1em;
  353. font-style: italic;
  354. font-weight: 600;
  355. }
  356. .markdown-body dl dd {
  357. padding: 0 16px;
  358. margin-bottom: 16px;
  359. }
  360. .markdown-body table th {
  361. font-weight: 600;
  362. }
  363. .markdown-body table th,
  364. .markdown-body table td {
  365. padding: 6px 13px;
  366. border: 1px solid #30363d;
  367. }
  368. .markdown-body table tr {
  369. background-color: #222222;
  370. border-top: 1px solid #21262d;
  371. }
  372. .markdown-body table tr:nth-child(2n) {
  373. background-color: #333;
  374. }
  375. .markdown-body table img {
  376. background-color: transparent;
  377. }
  378. .markdown-body img[align=right] {
  379. padding-left: 20px;
  380. }
  381. .markdown-body img[align=left] {
  382. padding-right: 20px;
  383. }
  384. .markdown-body .emoji {
  385. max-width: none;
  386. vertical-align: text-top;
  387. background-color: transparent;
  388. }
  389. .markdown-body span.frame {
  390. display: block;
  391. overflow: hidden;
  392. }
  393. .markdown-body span.frame>span {
  394. display: block;
  395. float: left;
  396. width: auto;
  397. padding: 7px;
  398. margin: 13px 0 0;
  399. overflow: hidden;
  400. border: 1px solid #30363d;
  401. }
  402. .markdown-body span.frame span img {
  403. display: block;
  404. float: left;
  405. }
  406. .markdown-body span.frame span span {
  407. display: block;
  408. padding: 5px 0 0;
  409. clear: both;
  410. color: #c9d1d9;
  411. }
  412. .markdown-body span.align-center {
  413. display: block;
  414. overflow: hidden;
  415. clear: both;
  416. }
  417. .markdown-body span.align-center>span {
  418. display: block;
  419. margin: 13px auto 0;
  420. overflow: hidden;
  421. text-align: center;
  422. }
  423. .markdown-body span.align-center span img {
  424. margin: 0 auto;
  425. text-align: center;
  426. }
  427. .markdown-body span.align-right {
  428. display: block;
  429. overflow: hidden;
  430. clear: both;
  431. }
  432. .markdown-body span.align-right>span {
  433. display: block;
  434. margin: 13px 0 0;
  435. overflow: hidden;
  436. text-align: right;
  437. }
  438. .markdown-body span.align-right span img {
  439. margin: 0;
  440. text-align: right;
  441. }
  442. .markdown-body span.float-left {
  443. display: block;
  444. float: left;
  445. margin-right: 13px;
  446. overflow: hidden;
  447. }
  448. .markdown-body span.float-left span {
  449. margin: 13px 0 0;
  450. }
  451. .markdown-body span.float-right {
  452. display: block;
  453. float: right;
  454. margin-left: 13px;
  455. overflow: hidden;
  456. }
  457. .markdown-body span.float-right>span {
  458. display: block;
  459. margin: 13px auto 0;
  460. overflow: hidden;
  461. text-align: right;
  462. }
  463. .markdown-body code,
  464. .markdown-body tt {
  465. padding: .2em .4em;
  466. margin: 0;
  467. font-size: 85%;
  468. background-color: #222222;
  469. border-radius: 6px;
  470. }
  471. .markdown-body code br,
  472. .markdown-body tt br {
  473. display: none;
  474. }
  475. .markdown-body del code {
  476. text-decoration: inherit;
  477. }
  478. .markdown-body pre code {
  479. font-size: 100%;
  480. }
  481. .markdown-body pre>code {
  482. padding: 0;
  483. margin: 0;
  484. word-break: normal;
  485. white-space: pre;
  486. background: transparent;
  487. border: 0;
  488. }
  489. .markdown-body pre {
  490. padding: 16px;
  491. overflow: auto;
  492. font-size: 85%;
  493. line-height: 1.45;
  494. background-color: #333;
  495. border-radius: 6px;
  496. }
  497. .markdown-body pre code,
  498. .markdown-body pre tt {
  499. display: inline;
  500. max-width: auto;
  501. padding: 0;
  502. margin: 0;
  503. overflow: visible;
  504. line-height: inherit;
  505. word-wrap: normal;
  506. background-color: transparent;
  507. border: 0;
  508. }
  509. .markdown-body .csv-data td,
  510. .markdown-body .csv-data th {
  511. padding: 5px;
  512. overflow: hidden;
  513. font-size: 12px;
  514. line-height: 1;
  515. text-align: left;
  516. white-space: nowrap;
  517. }
  518. .markdown-body .csv-data .blob-num {
  519. padding: 10px 8px 9px;
  520. text-align: right;
  521. background: #222222;
  522. border: 0;
  523. }
  524. .markdown-body .csv-data tr {
  525. border-top: 0;
  526. }
  527. .markdown-body .csv-data th {
  528. font-weight: 600;
  529. background: #333;
  530. border-top: 0;
  531. }
  532. .markdown-body .footnotes {
  533. font-size: 12px;
  534. color: #8b949e;
  535. border-top: 1px solid #30363d;
  536. }
  537. .markdown-body .footnotes ol {
  538. padding-left: 16px;
  539. }
  540. .markdown-body .footnotes li {
  541. position: relative;
  542. }
  543. .markdown-body .footnotes li:target::before {
  544. position: absolute;
  545. top: -8px;
  546. right: -8px;
  547. bottom: -8px;
  548. left: -24px;
  549. pointer-events: none;
  550. content: "";
  551. border: 2px solid #1f6feb;
  552. border-radius: 6px;
  553. }
  554. .markdown-body .footnotes li:target {
  555. color: #c9d1d9;
  556. }
  557. .markdown-body .task-list-item {
  558. list-style-type: none;
  559. }
  560. .markdown-body .task-list-item label {
  561. font-weight: 400;
  562. }
  563. .markdown-body .task-list-item.enabled label {
  564. cursor: pointer;
  565. }
  566. .markdown-body .task-list-item+.task-list-item {
  567. margin-top: 3px;
  568. }
  569. .markdown-body .task-list-item .handle {
  570. display: none;
  571. }
  572. .markdown-body .task-list-item-checkbox {
  573. margin: 0 .2em .25em -1.6em;
  574. vertical-align: middle;
  575. }
  576. .markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox {
  577. margin: 0 -1.6em .25em .2em;
  578. }
  579. .markdown-body .code-block {
  580. background: #2d2d2d;
  581. color: #cccccc;
  582. font-family: Menlo, Monaco, Consolas, monospace;
  583. line-height: 1.5;
  584. border: 1px solid #333;
  585. padding: 10px;
  586. }
  587. .code-block .hl-def,
  588. .code-block .hl-t {
  589. color: #ccc;
  590. }
  591. .code-block .hl-symbol {
  592. color: #99cc99;
  593. }
  594. .code-block .hl-comment,
  595. .code-block .hl-comment .hl-t {
  596. color: #999;
  597. }
  598. .code-block .hl-call {
  599. color: #6699cc;
  600. }
  601. .code-block .hl-func {
  602. color: #cc99cc;
  603. }
  604. .code-block .hl-expr {
  605. color: #ffcc66;
  606. }
  607. .code-block .hl-type {
  608. color: #f99157;
  609. }
  610. .code-block .hl-quote {
  611. color: #66cccc;
  612. }
  613. .code-block .hl-decl {
  614. color: #f2777a;
  615. }