index.css 21 KB

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