index.css 19 KB

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