123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- /*---------------------------------------------------------------------------*/
- /*global*/
- html, body {
- padding: 0 !important; margin: 0 !important;
- width: auto !important; max-width: 100% !important;
- }
- details summary {
- cursor: pointer;
- }
- #_html, #_toc {
- word-wrap: break-word;
- visibility: hidden;
- }
- /*---------------------------------------------------------------------------*/
- /*print*/
- @media print {
- /*avoid page breaks immediately after these tags*/
- h1, h2, h3, h4 {
- break-after: avoid;
- }
- /*avoid page breaks within these tags*/
- pre, blockquote, summary, table, math, svg {
- break-inside: avoid;
- }
- /*hide sidebar*/
- html body._toc-left { padding-left: 0px !important; }
- html body._toc-right { padding-right: 0px !important; }
- #_toc { display: none; }
- /*fix github themes auto*/
- body._theme-github .markdown-body { border: 0; padding: 20px; }
- body._theme-github-dark .markdown-body { border: 0; padding: 20px; }
- /*wrap long code lines*/
- pre, pre code, pre[class*=language-], code[class*=language-]
- {
- word-wrap: break-word !important;
- white-space: pre-wrap !important;
- }
- }
- /*---------------------------------------------------------------------------*/
- /*raw markdown view*/
- pre#_markdown,
- #_markdown > pre > code {
- word-wrap: break-word;
- white-space: pre-wrap;
- }
- /*---------------------------------------------------------------------------*/
- /*all other themes*/
- .markdown-theme {
- box-sizing: border-box;
- max-width: 100% !important;
- padding: 20px !important;
- margin: 0 auto !important;
- }
- .markdown-theme pre,
- .markdown-theme pre code {
- overflow: auto;
- overflow-x: auto;
- overflow-y: auto;
- }
- @media (max-width: 576px) { /*Extra small - none*/
- .markdown-theme { width: auto !important; }
- }
- @media (min-width: 576px) and (max-width: 768px) { /*Small sm*/
- .markdown-theme { width: 576px !important; }
- }
- @media (min-width: 768px) and (max-width: 992px) { /*Medium md*/
- .markdown-theme { width: 768px !important; }
- }
- @media (min-width: 992px) and (max-width: 1200px) { /*Large lg*/
- .markdown-theme { width: 992px !important; }
- }
- @media (min-width: 1200px) and (max-width: 1400px) { /*Extra large xl*/
- .markdown-theme { width: 1200px !important; }
- }
- @media (min-width: 1400px) { /*Extra extra large xxl*/
- .markdown-theme { width: 1400px !important; }
- }
- ._width-full,
- ._width-wide,
- ._width-large,
- ._width-medium,
- ._width-small,
- ._width-tiny {
- box-sizing: border-box;
- border: none !important;
- padding: 20px !important;
- min-width: auto !important;
- max-width: none !important;
- }
- ._width-full {
- width: 100% !important;
- margin: 0 !important;
- }
- ._width-wide {
- width: 1400px !important;
- }
- ._width-large {
- width: 1200px !important;
- }
- ._width-medium {
- width: 992px !important;
- }
- ._width-small {
- width: 768px !important;
- }
- ._width-tiny {
- width: 576px !important;
- }
- /*---------------------------------------------------------------------------*/
- /*toc*/
- @media (prefers-color-scheme: light) {
- body {
- --toc-delimiter: #e1e4e8;
- }
- }
- @media (prefers-color-scheme: dark) {
- body {
- --toc-delimiter: #30363d;
- }
- }
- body {
- display: flex;
- }
- body._toc-left { padding-left: 300px !important; }
- body._toc-right { padding-right: 300px !important; }
- #_toc {
- position: fixed;
- top: 0; bottom: 0; left: 0;
- width: 299px;
- height: 100%;
- border-right: 1px solid var(--toc-delimiter);
- overflow-y: auto;
- overflow-x: hidden;
- }
- #_toc ._ul {
- padding-left: 20px !important;
- margin: 0 !important;
- }
- #_toc > ._ul {
- padding: 0 0 0 10px !important;
- }
- #_toc > ._ul:first-child {
- padding-top: 15px !important;
- }
- #_toc > ._ul:last-child {
- padding-bottom: 15px !important;
- }
- #_toc ._ul a {
- border: 0 !important;
- padding: 5px 10px !important;
- display: block !important;
- }
- ._color-light #_toc {
- border-right: 1px solid #e1e4e8;
- }
- ._color-dark #_toc {
- border-right: 1px solid #30363d;
- }
- /*---------------------------------------------------------------------------*/
- /*scrollbar*/
- /*auto*/
- @media (prefers-color-scheme: light) {
- body {
- --scrollbar-track: #efefef;
- --scrollbar-thumb: #d5d5d5;
- --scrollbar-thumb-hover: #c4c4c4;
- }
- }
- @media (prefers-color-scheme: dark) {
- body {
- --scrollbar-track: #424242;
- --scrollbar-thumb: #686868;
- --scrollbar-thumb-hover: #7b7b7b;
- }
- }
- ::-webkit-scrollbar,
- ::-webkit-scrollbar-corner {
- height: 10px;
- width: 10px;
- }
- ::-webkit-scrollbar-track {
- background: var(--scrollbar-track);
- border-radius: 6px;
- }
- ::-webkit-scrollbar-thumb {
- background: var(--scrollbar-thumb);
- border-radius: 6px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: var(--scrollbar-thumb-hover);
- }
- ._color-light::-webkit-scrollbar-track, ._color-light *::-webkit-scrollbar-track {
- background: #efefef;
- }
- ._color-light::-webkit-scrollbar-thumb, ._color-light *::-webkit-scrollbar-thumb {
- background: #d5d5d5;
- }
- ._color-light::-webkit-scrollbar-thumb:hover, ._color-light *::-webkit-scrollbar-thumb:hover {
- background: #c4c4c4;
- }
- /*dark*/
- ._color-dark::-webkit-scrollbar-track, ._color-dark *::-webkit-scrollbar-track {
- background: #424242;
- }
- ._color-dark::-webkit-scrollbar-thumb, ._color-dark *::-webkit-scrollbar-thumb {
- background: #686868;
- }
- ._color-dark::-webkit-scrollbar-thumb:hover, ._color-dark *::-webkit-scrollbar-thumb:hover {
- background: #7b7b7b;
- }
- /*---------------------------------------------------------------------------*/
- /*anchor link*/
- /*github theme styles follows*/
- .markdown-theme .octicon {
- display: inline-block;
- fill: currentColor;
- vertical-align: text-bottom;
- overflow: visible !important;
- }
- .markdown-theme .anchor {
- float: left;
- padding-right: 4px;
- margin-left: -20px;
- line-height: 1;
- }
- .markdown-theme .anchor:focus {
- outline: none;
- }
- .markdown-theme h1:hover .anchor .octicon-link:before,
- .markdown-theme h2:hover .anchor .octicon-link:before,
- .markdown-theme h3:hover .anchor .octicon-link:before,
- .markdown-theme h4:hover .anchor .octicon-link:before,
- .markdown-theme h5:hover .anchor .octicon-link:before,
- .markdown-theme h6:hover .anchor .octicon-link:before {
- width: 16px;
- height: 16px;
- content: ' ';
- display: inline-block;
- background-color: currentColor;
- mask-image: url("chrome-extension://__MSG_@@extension_id__/content/anchor.svg");
- }
- @supports (-moz-appearance: none) {
- .markdown-theme h1:hover .anchor .octicon-link:before,
- .markdown-theme h2:hover .anchor .octicon-link:before,
- .markdown-theme h3:hover .anchor .octicon-link:before,
- .markdown-theme h4:hover .anchor .octicon-link:before,
- .markdown-theme h5:hover .anchor .octicon-link:before,
- .markdown-theme h6:hover .anchor .octicon-link:before {
- mask-image: url("moz-extension://__MSG_@@extension_id__/content/anchor.svg");
- }
- }
- .markdown-theme h1 .octicon-link,
- .markdown-theme h2 .octicon-link,
- .markdown-theme h3 .octicon-link,
- .markdown-theme h4 .octicon-link,
- .markdown-theme h5 .octicon-link,
- .markdown-theme h6 .octicon-link {
- vertical-align: middle;
- visibility: hidden;
- }
- .markdown-theme h1:hover .anchor,
- .markdown-theme h2:hover .anchor,
- .markdown-theme h3:hover .anchor,
- .markdown-theme h4:hover .anchor,
- .markdown-theme h5:hover .anchor,
- .markdown-theme h6:hover .anchor {
- text-decoration: none;
- }
- .markdown-theme h1:hover .anchor .octicon-link,
- .markdown-theme h2:hover .anchor .octicon-link,
- .markdown-theme h3:hover .anchor .octicon-link,
- .markdown-theme h4:hover .anchor .octicon-link,
- .markdown-theme h5:hover .anchor .octicon-link,
- .markdown-theme h6:hover .anchor .octicon-link {
- visibility: visible;
- }
- /*auto*/
- @media (prefers-color-scheme: light) {
- .markdown-theme {
- --anchor: #24292f;
- }
- }
- @media (prefers-color-scheme: dark) {
- .markdown-theme {
- --anchor: #c9d1d9;
- }
- }
- .markdown-theme .octicon-link {
- color: var(--anchor);
- }
- ._color-light .octicon-link {
- color: #24292f;
- }
- ._color-dark .octicon-link {
- color: #c9d1d9;
- }
- /*---------------------------------------------------------------------------*/
- /*misc*/
- /*resize*/
- pre:has(> code.mermaid) {
- resize: vertical;
- }
- /*pan/zoom*/
- .markdown-body code.mermaid,
- .markdown-theme code.mermaid {
- display: block;
- height: 100%;
- }
- /*mermaid text bold effect*/
- svg[id^=mermaid] text {
- stroke: none !important;
- }
- /*emojione*/
- .emojione {
- /* Emoji Sizing */
- font-size: inherit;
- height: 3ex;
- width: 3.1ex;
- min-height: 20px;
- min-width: 20px;
- /* Inline alignment adjust the margins */
- display: inline-block;
- margin: -.2ex .15em .2ex;
- line-height: normal;
- vertical-align: middle;
- }
- img.emojione {
- /* prevent img stretch */
- width: auto;
- }
|