index.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  1. /*---------------------------------------------------------------------------*/
  2. /*global*/
  3. html, body {
  4. padding: 0 !important; margin: 0 !important;
  5. width: auto !important; max-width: 100% !important;
  6. }
  7. details summary {
  8. cursor: pointer;
  9. }
  10. #_html, #_toc {
  11. word-wrap: break-word;
  12. visibility: hidden;
  13. }
  14. /*---------------------------------------------------------------------------*/
  15. /*print*/
  16. @media print {
  17. /*avoid page breaks immediately after these tags*/
  18. h1, h2, h3, h4 {
  19. break-after: avoid;
  20. }
  21. /*avoid page breaks within these tags*/
  22. pre, blockquote, summary, table, math, svg {
  23. break-inside: avoid;
  24. }
  25. /*hide sidebar*/
  26. html body._toc-left { padding-left: 0px !important; }
  27. html body._toc-right { padding-right: 0px !important; }
  28. #_toc { display: none; }
  29. /*fix github themes auto*/
  30. body._theme-github .markdown-body { border: 0; padding: 20px; }
  31. body._theme-github-dark .markdown-body { border: 0; padding: 20px; }
  32. /*wrap long code lines*/
  33. pre, pre code, pre[class*=language-], code[class*=language-]
  34. {
  35. word-wrap: break-word !important;
  36. white-space: pre-wrap !important;
  37. }
  38. }
  39. /*---------------------------------------------------------------------------*/
  40. /*raw markdown view*/
  41. pre#_markdown {
  42. word-wrap: break-word;
  43. white-space: pre-wrap;
  44. }
  45. /*---------------------------------------------------------------------------*/
  46. /*github theme*/
  47. .markdown-body {
  48. overflow: auto;
  49. min-width: 830px;
  50. max-width: 830px;
  51. padding: 32px;
  52. margin: 20px auto !important;
  53. }
  54. .markdown-body #_html>*:first-child {
  55. margin-top: 0 !important;
  56. }
  57. .markdown-body #_html>*:last-child {
  58. margin-bottom: 0 !important;
  59. }
  60. .markdown-body img {
  61. background-color: transparent;
  62. }
  63. /*---------------------------------------------------------------------------*/
  64. /*all other themes*/
  65. .markdown-theme {
  66. box-sizing: border-box;
  67. max-width: 100% !important;
  68. padding: 20px !important;
  69. margin: 0 auto !important;
  70. }
  71. .markdown-theme pre,
  72. .markdown-theme pre code {
  73. overflow: auto;
  74. overflow-x: auto;
  75. overflow-y: auto;
  76. }
  77. @media (max-width: 576px) { /*Extra small - none*/
  78. .markdown-theme { width: auto !important; }
  79. }
  80. @media (min-width: 576px) and (max-width: 768px) { /*Small sm*/
  81. .markdown-theme { width: 576px !important; }
  82. }
  83. @media (min-width: 768px) and (max-width: 992px) { /*Medium md*/
  84. .markdown-theme { width: 768px !important; }
  85. }
  86. @media (min-width: 992px) and (max-width: 1200px) { /*Large lg*/
  87. .markdown-theme { width: 992px !important; }
  88. }
  89. @media (min-width: 1200px) and (max-width: 1400px) { /*Extra large xl*/
  90. .markdown-theme { width: 1200px !important; }
  91. }
  92. @media (min-width: 1400px) { /*Extra extra large xxl*/
  93. .markdown-theme { width: 1400px !important; }
  94. }
  95. ._width-full,
  96. ._width-wide,
  97. ._width-large,
  98. ._width-medium,
  99. ._width-small,
  100. ._width-tiny {
  101. box-sizing: border-box;
  102. border: none !important;
  103. padding: 20px !important;
  104. min-width: auto !important;
  105. max-width: none !important;
  106. }
  107. ._width-full {
  108. width: 100% !important;
  109. margin: 0 !important;
  110. }
  111. ._width-wide {
  112. width: 1400px !important;
  113. }
  114. ._width-large {
  115. width: 1200px !important;
  116. }
  117. ._width-medium {
  118. width: 992px !important;
  119. }
  120. ._width-small {
  121. width: 768px !important;
  122. }
  123. ._width-tiny {
  124. width: 576px !important;
  125. }
  126. /*---------------------------------------------------------------------------*/
  127. /*toc*/
  128. @media (prefers-color-scheme: light) {
  129. body {
  130. --toc-delimiter: #e1e4e8;
  131. }
  132. }
  133. @media (prefers-color-scheme: dark) {
  134. body {
  135. --toc-delimiter: #30363d;
  136. }
  137. }
  138. body {
  139. display: flex;
  140. }
  141. body._toc-left { padding-left: 300px !important; }
  142. body._toc-right { padding-right: 300px !important; }
  143. #_toc {
  144. position: fixed;
  145. top: 0; bottom: 0; left: 0;
  146. width: 299px;
  147. height: 100%;
  148. border-right: 1px solid var(--toc-delimiter);
  149. overflow-y: auto;
  150. overflow-x: hidden;
  151. }
  152. #_toc ._ul {
  153. padding-left: 20px !important;
  154. margin: 0 !important;
  155. }
  156. #_toc > ._ul {
  157. padding: 0 0 0 10px !important;
  158. }
  159. #_toc > ._ul:first-child {
  160. padding-top: 15px !important;
  161. }
  162. #_toc > ._ul:last-child {
  163. padding-bottom: 15px !important;
  164. }
  165. #_toc ._ul a {
  166. border: 0 !important;
  167. padding: 5px 10px !important;
  168. display: block !important;
  169. }
  170. /*light*/
  171. ._theme-github #_toc,
  172. ._theme-air #_toc,
  173. ._theme-almond #_toc,
  174. ._theme-awsm #_toc,
  175. ._theme-axist #_toc,
  176. ._theme-bullframe #_toc,
  177. ._theme-kacit #_toc,
  178. ._theme-latex #_toc,
  179. ._theme-marx #_toc,
  180. ._theme-mini #_toc,
  181. ._theme-modest #_toc,
  182. ._theme-sakura #_toc,
  183. ._theme-semantic #_toc,
  184. ._theme-splendor #_toc,
  185. ._theme-style-sans #_toc,
  186. ._theme-style-serif #_toc,
  187. ._theme-stylize #_toc,
  188. ._theme-tacit #_toc,
  189. ._theme-water #_toc,
  190. ._theme-writ #_toc {
  191. border-right: 1px solid #e1e4e8;
  192. }
  193. /*dark*/
  194. ._theme-github-dark #_toc,
  195. ._theme-retro #_toc,
  196. ._theme-sakura-vader #_toc,
  197. ._theme-water-dark #_toc {
  198. border-right: 1px solid #30363d;
  199. }
  200. /*github*/
  201. ._theme-github #_toc { /*.markdown-body {*/
  202. background-color: var(--color-canvas-default);
  203. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  204. font-size: 16px;
  205. line-height: 1.5;
  206. word-wrap: break-word;
  207. }
  208. ._theme-github #_toc a { /*.markdown-body a {*/
  209. background-color: transparent;
  210. color: #0969da;
  211. text-decoration: none;
  212. }
  213. ._theme-github #_toc a:hover {
  214. text-decoration: underline;
  215. }
  216. /*github-dark*/
  217. ._theme-github-dark #_toc { /*.markdown-body {*/
  218. background-color: #0d1117;
  219. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
  220. font-size: 16px;
  221. line-height: 1.5;
  222. word-wrap: break-word;
  223. }
  224. ._theme-github-dark #_toc a { /*.markdown-body a {*/
  225. background-color: transparent;
  226. color: #58a6ff;
  227. text-decoration: none;
  228. }
  229. ._theme-github-dark #_toc a:hover {
  230. text-decoration: underline;
  231. }
  232. /*---------------------------------------------------------------------------*/
  233. /*scrollbar*/
  234. /*auto*/
  235. @media (prefers-color-scheme: light) {
  236. body {
  237. --scrollbar-track: #efefef;
  238. --scrollbar-thumb: #d5d5d5;
  239. --scrollbar-thumb-hover: #c4c4c4;
  240. }
  241. }
  242. @media (prefers-color-scheme: dark) {
  243. body {
  244. --scrollbar-track: #424242;
  245. --scrollbar-thumb: #686868;
  246. --scrollbar-thumb-hover: #7b7b7b;
  247. }
  248. }
  249. ::-webkit-scrollbar,
  250. ::-webkit-scrollbar-corner {
  251. height: 10px;
  252. width: 10px;
  253. }
  254. ::-webkit-scrollbar-track {
  255. background: var(--scrollbar-track);
  256. border-radius: 6px;
  257. }
  258. ::-webkit-scrollbar-thumb {
  259. background: var(--scrollbar-thumb);
  260. border-radius: 6px;
  261. }
  262. ::-webkit-scrollbar-thumb:hover {
  263. background: var(--scrollbar-thumb-hover);
  264. }
  265. /*light*/
  266. ._theme-github::-webkit-scrollbar-track, ._theme-github *::-webkit-scrollbar-track,
  267. ._theme-air::-webkit-scrollbar-track, ._theme-air *::-webkit-scrollbar-track,
  268. ._theme-almond::-webkit-scrollbar-track, ._theme-almond *::-webkit-scrollbar-track,
  269. ._theme-awsm::-webkit-scrollbar-track, ._theme-awsm *::-webkit-scrollbar-track,
  270. ._theme-axist::-webkit-scrollbar-track, ._theme-axist *::-webkit-scrollbar-track,
  271. ._theme-bullframe::-webkit-scrollbar-track, ._theme-bullframe *::-webkit-scrollbar-track,
  272. ._theme-kacit::-webkit-scrollbar-track, ._theme-kacit *::-webkit-scrollbar-track,
  273. ._theme-latex::-webkit-scrollbar-track, ._theme-latex *::-webkit-scrollbar-track,
  274. ._theme-marx::-webkit-scrollbar-track, ._theme-marx *::-webkit-scrollbar-track,
  275. ._theme-mini::-webkit-scrollbar-track, ._theme-mini *::-webkit-scrollbar-track,
  276. ._theme-modest::-webkit-scrollbar-track, ._theme-modest *::-webkit-scrollbar-track,
  277. ._theme-sakura::-webkit-scrollbar-track, ._theme-sakura *::-webkit-scrollbar-track,
  278. ._theme-semantic::-webkit-scrollbar-track, ._theme-semantic *::-webkit-scrollbar-track,
  279. ._theme-splendor::-webkit-scrollbar-track, ._theme-splendor *::-webkit-scrollbar-track,
  280. ._theme-style-sans::-webkit-scrollbar-track, ._theme-style-sans *::-webkit-scrollbar-track,
  281. ._theme-style-serif::-webkit-scrollbar-track, ._theme-style-serif *::-webkit-scrollbar-track,
  282. ._theme-stylize::-webkit-scrollbar-track, ._theme-stylize *::-webkit-scrollbar-track,
  283. ._theme-tacit::-webkit-scrollbar-track, ._theme-tacit *::-webkit-scrollbar-track,
  284. ._theme-water::-webkit-scrollbar-track, ._theme-water *::-webkit-scrollbar-track,
  285. ._theme-writ::-webkit-scrollbar-track, ._theme-writ *::-webkit-scrollbar-track
  286. {
  287. background: #efefef;
  288. }
  289. ._theme-github::-webkit-scrollbar-thumb, ._theme-github *::-webkit-scrollbar-thumb,
  290. ._theme-air::-webkit-scrollbar-thumb, ._theme-air *::-webkit-scrollbar-thumb,
  291. ._theme-almond::-webkit-scrollbar-thumb, ._theme-almond *::-webkit-scrollbar-thumb,
  292. ._theme-awsm::-webkit-scrollbar-thumb, ._theme-awsm *::-webkit-scrollbar-thumb,
  293. ._theme-axist::-webkit-scrollbar-thumb, ._theme-axist *::-webkit-scrollbar-thumb,
  294. ._theme-bullframe::-webkit-scrollbar-thumb, ._theme-bullframe *::-webkit-scrollbar-thumb,
  295. ._theme-kacit::-webkit-scrollbar-thumb, ._theme-kacit *::-webkit-scrollbar-thumb,
  296. ._theme-latex::-webkit-scrollbar-thumb, ._theme-latex *::-webkit-scrollbar-thumb,
  297. ._theme-marx::-webkit-scrollbar-thumb, ._theme-marx *::-webkit-scrollbar-thumb,
  298. ._theme-mini::-webkit-scrollbar-thumb, ._theme-mini *::-webkit-scrollbar-thumb,
  299. ._theme-modest::-webkit-scrollbar-thumb, ._theme-modest *::-webkit-scrollbar-thumb,
  300. ._theme-sakura::-webkit-scrollbar-thumb, ._theme-sakura *::-webkit-scrollbar-thumb,
  301. ._theme-semantic::-webkit-scrollbar-thumb, ._theme-semantic *::-webkit-scrollbar-thumb,
  302. ._theme-splendor::-webkit-scrollbar-thumb, ._theme-splendor *::-webkit-scrollbar-thumb,
  303. ._theme-style-sans::-webkit-scrollbar-thumb, ._theme-style-sans *::-webkit-scrollbar-thumb,
  304. ._theme-style-serif::-webkit-scrollbar-thumb, ._theme-style-serif *::-webkit-scrollbar-thumb,
  305. ._theme-stylize::-webkit-scrollbar-thumb, ._theme-stylize *::-webkit-scrollbar-thumb,
  306. ._theme-tacit::-webkit-scrollbar-thumb, ._theme-tacit *::-webkit-scrollbar-thumb,
  307. ._theme-water::-webkit-scrollbar-thumb, ._theme-water *::-webkit-scrollbar-thumb,
  308. ._theme-writ::-webkit-scrollbar-thumb, ._theme-writ *::-webkit-scrollbar-thumb
  309. {
  310. background: #d5d5d5;
  311. }
  312. ._theme-github::-webkit-scrollbar-thumb:hover, ._theme-github *::-webkit-scrollbar-thumb:hover,
  313. ._theme-air::-webkit-scrollbar-thumb:hover, ._theme-air *::-webkit-scrollbar-thumb:hover,
  314. ._theme-almond::-webkit-scrollbar-thumb:hover, ._theme-almond *::-webkit-scrollbar-thumb:hover,
  315. ._theme-awsm::-webkit-scrollbar-thumb:hover, ._theme-awsm *::-webkit-scrollbar-thumb:hover,
  316. ._theme-axist::-webkit-scrollbar-thumb:hover, ._theme-axist *::-webkit-scrollbar-thumb:hover,
  317. ._theme-bullframe::-webkit-scrollbar-thumb:hover, ._theme-bullframe *::-webkit-scrollbar-thumb:hover,
  318. ._theme-kacit::-webkit-scrollbar-thumb:hover, ._theme-kacit *::-webkit-scrollbar-thumb:hover,
  319. ._theme-latex::-webkit-scrollbar-thumb:hover, ._theme-latex *::-webkit-scrollbar-thumb:hover,
  320. ._theme-marx::-webkit-scrollbar-thumb:hover, ._theme-marx *::-webkit-scrollbar-thumb:hover,
  321. ._theme-mini::-webkit-scrollbar-thumb:hover, ._theme-mini *::-webkit-scrollbar-thumb:hover,
  322. ._theme-modest::-webkit-scrollbar-thumb:hover, ._theme-modest *::-webkit-scrollbar-thumb:hover,
  323. ._theme-sakura::-webkit-scrollbar-thumb:hover, ._theme-sakura *::-webkit-scrollbar-thumb:hover,
  324. ._theme-semantic::-webkit-scrollbar-thumb:hover, ._theme-semantic *::-webkit-scrollbar-thumb:hover,
  325. ._theme-splendor::-webkit-scrollbar-thumb:hover, ._theme-semantic *::-webkit-scrollbar-thumb:hover,
  326. ._theme-style-sans::-webkit-scrollbar-thumb:hover, ._theme-style-sans *::-webkit-scrollbar-thumb:hover,
  327. ._theme-style-serif::-webkit-scrollbar-thumb:hover, ._theme-style-serif *::-webkit-scrollbar-thumb:hover,
  328. ._theme-stylize::-webkit-scrollbar-thumb:hover, ._theme-stylize *::-webkit-scrollbar-thumb:hover,
  329. ._theme-tacit::-webkit-scrollbar-thumb:hover, ._theme-tacit *::-webkit-scrollbar-thumb:hover,
  330. ._theme-water::-webkit-scrollbar-thumb:hover, ._theme-water *::-webkit-scrollbar-thumb:hover,
  331. ._theme-writ::-webkit-scrollbar-thumb:hover, ._theme-writ *::-webkit-scrollbar-thumb:hover
  332. {
  333. background: #c4c4c4;
  334. }
  335. /*dark*/
  336. ._theme-github-dark::-webkit-scrollbar-track, ._theme-github-dark *::-webkit-scrollbar-track,
  337. ._theme-retro::-webkit-scrollbar-track, ._theme-retro *::-webkit-scrollbar-track,
  338. ._theme-sakura-vader::-webkit-scrollbar-track, ._theme-sakura-vader *::-webkit-scrollbar-track
  339. {
  340. background: #424242;
  341. }
  342. ._theme-github-dark::-webkit-scrollbar-thumb, ._theme-github-dark *::-webkit-scrollbar-thumb,
  343. ._theme-retro::-webkit-scrollbar-thumb, ._theme-retro *::-webkit-scrollbar-thumb,
  344. ._theme-sakura-vader::-webkit-scrollbar-thumb, ._theme-sakura-vader *::-webkit-scrollbar-thumb
  345. {
  346. background: #686868;
  347. }
  348. ._theme-github-dark::-webkit-scrollbar-thumb:hover, ._theme-github-dark *::-webkit-scrollbar-thumb:hover,
  349. ._theme-retro::-webkit-scrollbar-thumb:hover, ._theme-retro *::-webkit-scrollbar-thumb:hover,
  350. ._theme-sakura-vader::-webkit-scrollbar-thumb:hover, ._theme-sakura-vader *::-webkit-scrollbar-thumb:hover
  351. {
  352. background: #7b7b7b;
  353. }
  354. /*---------------------------------------------------------------------------*/
  355. /*anchor link*/
  356. /*github theme styles follows*/
  357. .markdown-theme .octicon {
  358. display: inline-block;
  359. fill: currentColor;
  360. vertical-align: text-bottom;
  361. overflow: visible !important;
  362. }
  363. .markdown-theme .anchor {
  364. float: left;
  365. padding-right: 4px;
  366. margin-left: -20px;
  367. line-height: 1;
  368. }
  369. .markdown-theme .anchor:focus {
  370. outline: none;
  371. }
  372. .markdown-theme h1:hover .anchor .octicon-link:before,
  373. .markdown-theme h2:hover .anchor .octicon-link:before,
  374. .markdown-theme h3:hover .anchor .octicon-link:before,
  375. .markdown-theme h4:hover .anchor .octicon-link:before,
  376. .markdown-theme h5:hover .anchor .octicon-link:before,
  377. .markdown-theme h6:hover .anchor .octicon-link:before {
  378. width: 16px;
  379. height: 16px;
  380. content: ' ';
  381. display: inline-block;
  382. background-color: currentColor;
  383. -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
  384. mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
  385. }
  386. .markdown-theme h1 .octicon-link,
  387. .markdown-theme h2 .octicon-link,
  388. .markdown-theme h3 .octicon-link,
  389. .markdown-theme h4 .octicon-link,
  390. .markdown-theme h5 .octicon-link,
  391. .markdown-theme h6 .octicon-link {
  392. vertical-align: middle;
  393. visibility: hidden;
  394. }
  395. .markdown-theme h1:hover .anchor,
  396. .markdown-theme h2:hover .anchor,
  397. .markdown-theme h3:hover .anchor,
  398. .markdown-theme h4:hover .anchor,
  399. .markdown-theme h5:hover .anchor,
  400. .markdown-theme h6:hover .anchor {
  401. text-decoration: none;
  402. }
  403. .markdown-theme h1:hover .anchor .octicon-link,
  404. .markdown-theme h2:hover .anchor .octicon-link,
  405. .markdown-theme h3:hover .anchor .octicon-link,
  406. .markdown-theme h4:hover .anchor .octicon-link,
  407. .markdown-theme h5:hover .anchor .octicon-link,
  408. .markdown-theme h6:hover .anchor .octicon-link {
  409. visibility: visible;
  410. }
  411. /*auto*/
  412. @media (prefers-color-scheme: light) {
  413. .markdown-theme {
  414. --anchor: #24292f;
  415. }
  416. }
  417. @media (prefers-color-scheme: dark) {
  418. .markdown-theme {
  419. --anchor: #c9d1d9;
  420. }
  421. }
  422. .markdown-theme .octicon-link {
  423. color: var(--anchor);
  424. }
  425. /*light*/
  426. ._theme-almond .octicon-link,
  427. ._theme-awsm .octicon-link,
  428. ._theme-axist .octicon-link,
  429. ._theme-bullframe .octicon-link,
  430. ._theme-kacit .octicon-link,
  431. ._theme-latex .octicon-link,
  432. ._theme-mini .octicon-link,
  433. ._theme-sakura .octicon-link,
  434. ._theme-style-sans .octicon-link,
  435. ._theme-style-serif .octicon-link,
  436. ._theme-tacit .octicon-link,
  437. ._theme-water .octicon-link {
  438. color: #24292f;
  439. }
  440. /*dark*/
  441. ._theme-github-dark .octicon-link,
  442. ._theme-retro .octicon-link,
  443. ._theme-sakura-vader .octicon-link,
  444. ._theme-water-dark .octicon-link {
  445. color: #c9d1d9;
  446. }
  447. /*fix hover*/
  448. .markdown-theme .anchor {
  449. border-bottom: 0;
  450. }
  451. /*fix position*/
  452. ._theme-almond .octicon,
  453. ._theme-awsm .octicon,
  454. ._theme-axist .octicon,
  455. ._theme-kacit .octicon,
  456. ._theme-mini .octicon,
  457. ._theme-new .octicon,
  458. ._theme-sakura .octicon,
  459. ._theme-sakura-vader .octicon,
  460. ._theme-semantic .octicon,
  461. ._theme-simple .octicon,
  462. ._theme-stylize .octicon,
  463. ._theme-superstylin .octicon {
  464. line-height: 1px;
  465. }
  466. ._theme-splendor .anchor,
  467. ._theme-splendor .octicon {
  468. padding: 0 !important;
  469. margin: 0 0 0 -10px !important;
  470. }
  471. ._theme-splendor h3 .octicon,
  472. ._theme-splendor h4 .octicon,
  473. ._theme-splendor h5 .octicon,
  474. ._theme-splendor h6 .octicon
  475. {
  476. position: relative;
  477. top: 4px;
  478. }
  479. ._theme-no-class h1 .octicon,
  480. ._theme-no-class h2 .octicon,
  481. ._theme-no-class h3 .octicon {
  482. position: relative;
  483. top: -5px;
  484. }
  485. ._theme-pico h1 .octicon,
  486. ._theme-pico h2 .octicon {
  487. position: relative;
  488. top: 5px;
  489. }
  490. ._theme-superstylin h1 .octicon {
  491. position: relative;
  492. top: -5px;
  493. }
  494. ._theme-writ .octicon {
  495. line-height: 0;
  496. }
  497. ._theme-writ h2 .octicon {
  498. position: relative;
  499. top: 4px;
  500. }
  501. ._theme-writ h3 .octicon {
  502. position: relative;
  503. top: 10px;
  504. }
  505. /*---------------------------------------------------------------------------*/
  506. /*task list checkboxes*/
  507. ._theme-awsm input[type=checkbox],
  508. ._theme-kacit input[type=checkbox],
  509. ._theme-no-class input[type=checkbox],
  510. ._theme-semantic input[type=checkbox],
  511. ._theme-tacit input[type=checkbox],
  512. ._theme-vanilla input[type=checkbox] {
  513. display: inline-block !important;
  514. box-sizing: border-box !important;
  515. padding: 0 !important;
  516. margin: 0 !important;
  517. }
  518. ._theme-bullframe input[type=checkbox],
  519. ._theme-superstylin input[type=checkbox] {
  520. position: relative;
  521. top: 3px;
  522. }
  523. ._theme-mini input[type=checkbox] {
  524. position: relative;
  525. top: 4px;
  526. }
  527. ._theme-no-class input[type=checkbox] {
  528. width: auto !important;
  529. }
  530. ._theme-vanilla input[type=checkbox] {
  531. appearance: auto !important;
  532. }
  533. /*---------------------------------------------------------------------------*/
  534. /*fix auto dark*/
  535. /*set default background color*/
  536. ._theme-air,
  537. ._theme-marx,
  538. ._theme-modest,
  539. ._theme-splendor,
  540. ._theme-stylize,
  541. ._theme-writ {
  542. background-color: #fff;
  543. }
  544. /*set default text and link color*/
  545. ._theme-semantic { color: #000; }
  546. ._theme-semantic a { color: #0000ff; }
  547. ._theme-semantic a:visited { color: #800080; }
  548. ._theme-semantic a:active { color: #ff0000; }
  549. /*---------------------------------------------------------------------------*/
  550. /*theme fixes*/
  551. @media (prefers-color-scheme: dark) {
  552. /*no-class - fix code block*/
  553. ._theme-no-class pre {
  554. background: #303030;
  555. }
  556. /*no-class - fix table*/
  557. ._theme-no-class tbody tr:nth-of-type(odd) {
  558. background-color: #303030;
  559. }
  560. }
  561. /*github*/
  562. ._theme-github {
  563. background-color: #fff;
  564. }
  565. ._theme-github > pre {
  566. color: #000;
  567. }
  568. ._theme-github .markdown-body {
  569. border: 1px solid #e1e4e8;
  570. }
  571. /*github-dark*/
  572. ._theme-github-dark {
  573. background-color: #0d1117;
  574. }
  575. ._theme-github-dark > pre {
  576. color: #fff;
  577. }
  578. ._theme-github-dark .markdown-body {
  579. border: 1px solid #30363d;
  580. }
  581. /*markdown-air - fix images*/
  582. ._theme-air img {
  583. border-radius: 0;
  584. width: auto;
  585. height: auto;
  586. }
  587. /*axist - fix lists*/
  588. ._theme-axist ul li p {
  589. display: inline-block;
  590. }
  591. /*axist - fix fenced code blocks*/
  592. ._theme-axist pre::after {
  593. content: none;
  594. }
  595. /*kacit, tacit - fix mermaid diagrams size*/
  596. ._theme-kacit pre code,
  597. ._theme-tacit pre code {
  598. display: block;
  599. }
  600. /*mini - fix table*/
  601. ._theme-mini table {
  602. overflow-x: clip !important;
  603. max-height: none !important;
  604. }
  605. /*mini - fix special symbols*/
  606. ._theme-mini blockquote::before {
  607. content: "“";
  608. }
  609. ._theme-mini [type=checkbox]:checked:before {
  610. content: "✓";
  611. top: -3px;
  612. }
  613. /*simple - fix body width*/
  614. ._theme-simple {
  615. display: block;
  616. }
  617. /*style-sans, style-serif - fix inline code*/
  618. ._theme-style-sans *:not(pre) > code::before,
  619. ._theme-style-sans *:not(pre) > code::after,
  620. ._theme-style-serif *:not(pre) > code::before,
  621. ._theme-style-serif *:not(pre) > code::after {
  622. content: '';
  623. padding-left: 5px;
  624. padding-right: 5px;
  625. }
  626. /*superstylin - fix lists*/
  627. ._theme-superstylin ul ul,
  628. ._theme-superstylin ol ol {
  629. padding-left: 40px;
  630. }
  631. ._theme-superstylin ul li p,
  632. ._theme-superstylin ol li p {
  633. display: inline-block;
  634. margin-bottom: 0;
  635. }
  636. /*vanilla - fix pre margin*/
  637. ._theme-vanilla pre {
  638. margin-bottom: 10px;
  639. }
  640. /*---------------------------------------------------------------------------*/
  641. /*misc*/
  642. /*mermaid text bold effect*/
  643. svg[id^=mermaid] text {
  644. stroke: none !important;
  645. }
  646. /*emojione*/
  647. .emojione {
  648. /* Emoji Sizing */
  649. font-size: inherit;
  650. height: 3ex;
  651. width: 3.1ex;
  652. min-height: 20px;
  653. min-width: 20px;
  654. /* Inline alignment adjust the margins */
  655. display: inline-block;
  656. margin: -.2ex .15em .2ex;
  657. line-height: normal;
  658. vertical-align: middle;
  659. }
  660. img.emojione {
  661. /* prevent img stretch */
  662. width: auto;
  663. }