index.css 21 KB

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