From d3442824250adab731112e9386c8df7c6a287dc3 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Wed, 11 Jan 2023 22:07:35 -0600 Subject: [PATCH] Fix css on darkmode --- judge/widgets/pagedown.py | 9 + judge/widgets/select2.py | 3 +- make_style.sh | 6 - resources/darkmode.css | 1417 +++++++++++++++++++++++++++++++- resources/pagedown_widget.scss | 51 ++ templates/contest/list.html | 4 +- 6 files changed, 1477 insertions(+), 13 deletions(-) diff --git a/judge/widgets/pagedown.py b/judge/widgets/pagedown.py index eceaf99..195087c 100644 --- a/judge/widgets/pagedown.py +++ b/judge/widgets/pagedown.py @@ -38,6 +38,15 @@ else: super(PagedownWidget, self).__init__(*args, **kwargs) class Media: + extend = False + js = [ + "pagedown/Markdown.Converter.js", + "pagedown-extra/pagedown/Markdown.Converter.js", + "pagedown/Markdown.Sanitizer.js", + "pagedown/Markdown.Editor.js", + "pagedown-extra/Markdown.Extra.js", + "pagedown_init.js", + ] css = { "all": [ "markdown.css", diff --git a/judge/widgets/select2.py b/judge/widgets/select2.py index 8329e42..62acc89 100644 --- a/judge/widgets/select2.py +++ b/judge/widgets/select2.py @@ -104,8 +104,7 @@ class Select2Mixin(object): https://docs.djangoproject.com/en/1.8/topics/forms/media/#media-as-a-dynamic-property """ return forms.Media( - js=[DEFAULT_SELECT2_JS, "django_select2.js"], - css={"screen": [DEFAULT_SELECT2_CSS]}, + js=["django_select2.js"], ) diff --git a/make_style.sh b/make_style.sh index badc9f9..1a837b0 100755 --- a/make_style.sh +++ b/make_style.sh @@ -21,9 +21,3 @@ sass resources:sass_processed echo postcss "${FILES[@]}" --verbose --use autoprefixer -d resources - -cp sass_processed/pagedown_widget.css resources/pagedown_widget.css -cp sass_processed/dmmd-preview.css resources/dmmd-preview.css -cp resources/pagedown_widget.css resources/pagedown/demo/browser/demo.css - - diff --git a/resources/darkmode.css b/resources/darkmode.css index 448a6f1..d65f63b 100644 --- a/resources/darkmode.css +++ b/resources/darkmode.css @@ -3211,6 +3211,14 @@ a.voted { background-color: rgb(24, 26, 27); border-color: rgb(72, 78, 81); } +.pagedown-image-upload { + background-image: initial; + background-color: rgb(24, 26, 27); + box-shadow: rgba(0, 0, 0, 0.5) 2px 2px 10px 0px; +} +.pagedown-image-upload .submit-loading { + border-color: rgb(46, 91, 113) rgb(51, 56, 58) rgb(51, 56, 58); +} div.dmmd-preview-update { background-image: initial; background-color: rgb(53, 57, 59); @@ -3777,14 +3785,1417 @@ code .il { } mjx-merror { color: rgb(255, 26, 26); - background-color: rgb(153, 153, 0); + background-color: rgb(153, 153, 0); } mjx-assistive-mml { - border-color: initial !important; + border-color: initial !important; } -.recently-attempted ul { +:root, [data-md-color-scheme="default"] { + --darkreader-bg--md-default-fg-color: rgba(0, 0, 0, 0.87); + --darkreader-text--md-default-fg-color: rgba(232, 230, 227, 0.87); + --darkreader-bg--md-default-fg-color--light: rgba(0, 0, 0, 0.54); + --darkreader-text--md-default-fg-color--light: rgba(232, 230, 227, 0.54); + --darkreader-border--md-default-fg-color--light: rgba(140, 130, 115, 0.54); + --darkreader-bg--md-default-fg-color--lighter: rgba(0, 0, 0, 0.32); + --darkreader-text--md-default-fg-color--lighter: rgba(232, 230, 227, 0.32); + --darkreader-border--md-default-fg-color--lighter: rgba(140, 130, 115, 0.32); + --darkreader-bg--md-default-fg-color--lightest: rgba(0, 0, 0, 0.07); + --darkreader-text--md-default-fg-color--lightest: rgba(232, 230, 227, 0.07); + --darkreader-border--md-default-fg-color--lightest: rgba(140, 130, 115, 0.07); + --darkreader-bg--md-default-bg-color: #181a1b; + --darkreader-text--md-default-bg-color: #e8e6e3; + --darkreader-border--md-default-bg-color: #303436; + --md-default-bg-color--light: hsla(0,0%,100%,0.7); + --md-default-bg-color--lighter: hsla(0,0%,100%,0.3); + --md-default-bg-color--lightest: hsla(0,0%,100%,0.12); + --darkreader-bg--md-primary-fg-color: #334191; + --darkreader-text--md-primary-fg-color: #6d94cb; + --darkreader-border--md-primary-fg-color: #2f3c86; + --md-primary-fg-color--light: #5d6cc0; + --darkreader-bg--md-primary-fg-color--dark: #263281; + --darkreader-text--md-primary-bg-color: #e8e6e3; + --darkreader-text--md-primary-bg-color--light: rgba(232, 230, 227, 0.7); + --darkreader-bg--md-accent-fg-color: #01189b; + --darkreader-text--md-accent-fg-color: #539bfe; + --darkreader-border--md-accent-fg-color: #011899; + --darkreader-bg--md-accent-fg-color--transparent: rgba(1, 24, 155, 0.1); + --darkreader-bg--md-accent-bg-color: #181a1b; + --darkreader-text--md-accent-bg-color: #e8e6e3; + --md-accent-bg-color--light: hsla(0,0%,100%,0.7); + --darkreader-text--md-code-fg-color: #beb9b0; + --darkreader-bg--md-code-bg-color: #1e2021; + --darkreader-bg--md-code-hl-color: rgba(153, 153, 0, 0.5); + --darkreader-text--md-code-hl-number-color: #d93f3f; + --darkreader-text--md-code-hl-special-color: #ed3774; + --darkreader-text--md-code-hl-function-color: #b159c0; + --darkreader-text--md-code-hl-constant-color: #7561db; + --darkreader-text--md-code-hl-keyword-color: #518ecb; + --darkreader-text--md-code-hl-string-color: #7ee2b0; + --darkreader-text--md-code-hl-name-color: var(--darkreader-text--md-code-fg-color); + --darkreader-text--md-code-hl-operator-color: var(--darkreader-text--md-default-fg-color--light); + --darkreader-text--md-code-hl-punctuation-color: var(--darkreader-text--md-default-fg-color--light); + --darkreader-text--md-code-hl-comment-color: var(--darkreader-text--md-default-fg-color--light); + --darkreader-text--md-code-hl-generic-color: var(--darkreader-text--md-default-fg-color--light); + --darkreader-text--md-code-hl-variable-color: var(--darkreader-text--md-default-fg-color--light); + --md-typeset-color: var(--md-default-fg-color); + --darkreader-text--md-typeset-a-color: var(--darkreader-text--md-primary-fg-color); + --darkreader-bg--md-typeset-mark-color: rgba(153, 153, 0, 0.5); + --darkreader-bg--md-typeset-del-color: rgba(165, 25, 9, 0.15); + --darkreader-bg--md-typeset-ins-color: rgba(9, 170, 90, 0.15); + --darkreader-bg--md-typeset-kbd-color: #1b1d1e; + --darkreader-bg--md-typeset-kbd-accent-color: #181a1b; + --darkreader-bg--md-typeset-kbd-border-color: #404548; + --darkreader-border--md-typeset-table-color: rgba(140, 130, 115, 0.12); + --darkreader-text--md-admonition-fg-color: var(--darkreader-text--md-default-fg-color); + --darkreader-bg--md-admonition-bg-color: var(--darkreader-bg--md-default-bg-color); + --darkreader-text--md-footer-fg-color: #e8e6e3; + --darkreader-text--md-footer-fg-color--light: rgba(232, 230, 227, 0.7); + --darkreader-text--md-footer-fg-color--lighter: rgba(232, 230, 227, 0.3); + --darkreader-bg--md-footer-bg-color: rgba(0, 0, 0, 0.87); + --darkreader-bg--md-footer-bg-color--dark: rgba(0, 0, 0, 0.32); + --darkreader-bg--md-shadow-z1: 0 0.2rem 0.5rem rgba(0,0,0,0.05), + 0 0 0.05rem rgba(0,0,0,0.1); + --darkreader-bg--md-shadow-z2: 0 0.2rem 0.5rem rgba(0,0,0,0.1), + 0 0 0.05rem rgba(0,0,0,0.25); + --darkreader-bg--md-shadow-z3: 0 0.2rem 0.5rem rgba(0,0,0,0.2), + 0 0 0.05rem rgba(0,0,0,0.35); +} +.md-icon svg { + fill: currentcolor; +} +body { + --md-text-font-family: var(--md-text-font,_), + -apple-system, + BlinkMacSystemFont, + Helvetica, + Arial, + sans-serif; + --md-code-font-family: var(--md-code-font,_), + SFMono-Regular, + Consolas, + Menlo, + monospace; +} +:root { + --darkreader-bgimg--md-typeset-table-sort-icon: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-typeset-table-sort-icon--asc: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-typeset-table-sort-icon--desc: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset h1 { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset h5, +.md-typeset h6 { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset hr { + border-bottom: 0.05rem solid var(--darkreader-border--md-default-fg-color--lightest); +} +.md-typeset code, +.md-typeset kbd, +.md-typeset pre { + color: var(--darkreader-text--md-code-fg-color); +} +.md-typeset kbd { + background-color: var(--darkreader-bg--md-typeset-kbd-color); + box-shadow: 0 0.1rem 0 0.05rem var(--darkreader-bg--md-typeset-kbd-border-color), + 0 0.1rem 0 var(--darkreader-bg--md-typeset-kbd-border-color), + 0 -0.1rem 0.2rem var(--darkreader-bg--md-typeset-kbd-accent-color) inset; + color: var(--darkreader-text--md-default-fg-color); +} +.md-typeset mark { + background-color: var(--darkreader-bg--md-typeset-mark-color); + color: inherit; +} +.md-typeset abbr { + text-decoration-color: initial; + border-bottom: 0.05rem dotted var(--darkreader-border--md-default-fg-color--light); +} +@media (hover: none) { + .md-typeset abbr[title]:-webkit-any(:focus, :hover)::after { + background-color: var(--darkreader-bg--md-default-fg-color); + box-shadow: var(--darkreader-bg--md-shadow-z3); + color: var(--darkreader-text--md-default-bg-color); + } + .md-typeset abbr[title]:is(:focus, :hover)::after { + background-color: var(--darkreader-bg--md-default-fg-color); + box-shadow: var(--darkreader-bg--md-shadow-z3); + color: var(--darkreader-text--md-default-bg-color); + } +} +.md-typeset blockquote { + border-left: 0.2rem solid var(--darkreader-border--md-default-fg-color--lighter) ; +} +[dir="rtl"] .md-typeset blockquote { + border-right: 0.2rem solid var(--darkreader-border--md-default-fg-color--lighter) ; +} +.md-typeset blockquote { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset table:not([class]) { + background-color: var(--darkreader-bg--md-default-bg-color); + border: 0.05rem solid var(--darkreader-border--md-typeset-table-color); +} +.md-typeset table:not([class]) td { + border-top: 0.05rem solid var(--darkreader-border--md-typeset-table-color); +} +.md-typeset table:not([class]) tbody tr:hover { + background-color: rgba(0, 0, 0, 0.04); + box-shadow: 0 0.05rem 0 var(--darkreader-bg--md-default-bg-color) inset; +} +.md-typeset table th[role="columnheader"]:hover::after { + background-color: var(--darkreader-bg--md-default-fg-color--lighter); +} +.md-typeset table th[role="columnheader"][aria-sort="ascending"]::after { + background-color: var(--darkreader-bg--md-default-fg-color--light); +} +.md-typeset table th[role="columnheader"][aria-sort="descending"]::after { + background-color: var(--darkreader-bg--md-default-fg-color--light); +} +.md-banner { + background-color: var(--darkreader-bg--md-footer-bg-color); + color: var(--darkreader-text--md-footer-fg-color); +} +.md-banner--warning { + color: var(--darkreader-text--md-default-fg-color); + background: var(--darkreader-bg--md-typeset-mark-color); +} +.md-banner__button { + color: inherit; +} +.md-option.focus-visible + label { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-skip { + background-color: var(--darkreader-bg--md-default-fg-color); + color: var(--darkreader-text--md-default-bg-color); + outline-color: var(--darkreader-border--md-accent-fg-color); +} +:root { + --darkreader-bgimg--md-clipboard-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCI+PGRlZnM+PGZpbHRlciBpZD0iZGFya3JlYWRlci1pbWFnZS1maWx0ZXIiPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwLjI0OSAtMC42MTQgLTAuNjcyIDAuMDAwIDEuMDM1IC0wLjY0NiAwLjI4OCAtMC42NjQgMC4wMDAgMS4wMjAgLTAuNjM2IC0wLjYwOSAwLjI1MCAwLjAwMCAwLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7Y2hhcnNldD11dGYtOCw8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMjFIOFY3aDExbTAtMkg4YTIgMiAwIDAgMC0yIDJ2MTRhMiAyIDAgMCAwIDIgMmgxMWEyIDIgMCAwIDAgMi0yVjdhMiAyIDAgMCAwLTItMm0tMy00SDRhMiAyIDAgMCAwLTIgMnYxNGgyVjNoMTJWMVoiLz48L3N2Zz4iIC8+PC9zdmc+"); +} +.md-clipboard { + color: var(--darkreader-text--md-default-fg-color--lightest); + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-clipboard:not(.focus-visible) { + -webkit-tap-highlight-color: transparent; + outline-color: initial; +} +:hover > .md-clipboard { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-clipboard:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-clipboard:is(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-clipboard::after { + background-color: currentcolor; +} +.md-clipboard--inline:-webkit-any(:focus, :hover) code { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + color: var(--darkreader-text--md-accent-fg-color); +} +.md-clipboard--inline:is(:focus, :hover) code { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + color: var(--darkreader-text--md-accent-fg-color); +} +.md-consent__overlay { + background-color: rgba(0, 0, 0, 0.54); +} +.md-consent__inner { + background-color: var(--darkreader-bg--md-default-bg-color); + border-color: initial; + box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0.2rem, + rgba(0, 0, 0, 0.2) 0px 0.2rem 0.4rem; +} +.md-typeset .md-content__button { + color: var(--darkreader-text--md-default-fg-color--lighter); +} +.md-dialog { + background-color: var(--darkreader-bg--md-default-fg-color); + box-shadow: var(--darkreader-bg--md-shadow-z3); +} +.md-dialog__inner { + color: var(--darkreader-text--md-default-bg-color); +} +.md-feedback fieldset { + border-color: initial; +} +.md-feedback__list:hover .md-icon:not(:disabled) { + color: var(--darkreader-text--md-default-fg-color--lighter); +} +.md-feedback__icon { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-feedback__icon:not(:disabled).md-icon:hover { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-feedback__icon:disabled { + color: var(--darkreader-text--md-default-fg-color--lightest); +} +.md-footer { + background-color: var(--darkreader-bg--md-footer-bg-color); + color: var(--darkreader-text--md-footer-fg-color); +} +.md-footer__link { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-footer-meta { + background-color: var(--darkreader-bg--md-footer-bg-color--dark); +} +html .md-footer-meta.md-typeset a { + color: var(--darkreader-text--md-footer-fg-color--light); +} +html .md-footer-meta.md-typeset a:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-footer-fg-color); +} +html .md-footer-meta.md-typeset a:is(:focus, :hover) { + color: var(--darkreader-text--md-footer-fg-color); +} +.md-copyright { + color: var(--darkreader-text--md-footer-fg-color--lighter); +} +.md-copyright__highlight { + color: var(--darkreader-text--md-footer-fg-color--light); +} +.md-social__link svg { + fill: currentcolor; +} +.md-typeset .md-button { + border-color: initial; + color: var(--darkreader-text--md-primary-fg-color); +} +.md-typeset .md-button--primary { + background-color: var(--darkreader-bg--md-primary-fg-color); + color: var(--darkreader-text--md-primary-bg-color); + border-color: var(--darkreader-border--md-primary-fg-color); +} +.md-typeset .md-button:-webkit-any(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color); + color: var(--darkreader-text--md-accent-bg-color); + border-color: var(--darkreader-border--md-accent-fg-color); +} +.md-typeset .md-button:is(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color); + color: var(--darkreader-text--md-accent-bg-color); + border-color: var(--darkreader-border--md-accent-fg-color); +} +.md-typeset .md-input { + box-shadow: var(--darkreader-bg--md-shadow-z1); + border-bottom: 0.1rem solid var(--darkreader-border--md-default-fg-color--lighter); +} +.md-typeset .md-input:-webkit-any(:focus, :hover) { + border-bottom-color: var(--darkreader-border--md-accent-fg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); +} +.md-typeset .md-input:is(:focus, :hover) { + border-bottom-color: var(--darkreader-border--md-accent-fg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); +} +.md-header { + background-color: var(--darkreader-bg--md-primary-fg-color); + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0.2rem, + rgba(0, 0, 0, 0) 0px 0.2rem 0.4rem; + color: var(--darkreader-text--md-primary-bg-color); +} +.md-header--shadow { + box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0.2rem, + rgba(0, 0, 0, 0.2) 0px 0.2rem 0.4rem; +} +.md-header__button { + color: currentcolor; + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-header__button:not(.focus-visible) { + -webkit-tap-highlight-color: transparent; + outline-color: initial; +} +.md-header__button.md-logo :-webkit-any(img, svg) { + fill: currentcolor; +} +.md-header__button.md-logo :is(img, svg) { + fill: currentcolor; +} +:root { + --darkreader-bgimg--md-nav-icon--prev: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-nav-icon--next: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-toc-icon: url("data:image/svg+xml;charset=utf-8,"); +} +.md-nav__title .md-nav__button.md-logo :-webkit-any(img, svg) { + fill: currentcolor; +} +.md-nav__title .md-nav__button.md-logo :is(img, svg) { + fill: currentcolor; +} +.md-nav__list { list-style-image: initial; } +.md-nav__link--passed { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-nav__item .md-nav__link--active { + color: var(--darkreader-text--md-typeset-a-color); +} +.md-nav__link:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-nav__link:is(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-nav__link.focus-visible { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-nav--primary .md-nav__link[for="__toc"] .md-icon::after { + background-color: currentcolor; +} +@media screen and (max-width: 76.1875em) { + .md-nav--primary, + .md-nav--primary .md-nav { + background-color: var(--darkreader-bg--md-default-bg-color); + } + .md-nav--primary .md-nav__title { + background-color: var(--darkreader-bg--md-default-fg-color--lightest); + color: var(--darkreader-text--md-default-fg-color--light); + } + .md-nav--primary .md-nav__title .md-nav__icon::after { + background-color: currentcolor; + } + .md-nav--primary .md-nav__title ~ .md-nav__list { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: 0 0.05rem 0 var(--darkreader-bg--md-default-fg-color--lightest) inset; + } + .md-nav--primary .md-nav__title ~ .md-nav__list > :first-child { + border-top-color: initial; + } + .md-nav--primary .md-nav__title[for="__drawer"] { + background-color: var(--darkreader-bg--md-primary-fg-color); + color: var(--darkreader-text--md-primary-bg-color); + } + .md-nav--primary .md-nav__item { + border-top: 0.05rem solid var(--darkreader-border--md-default-fg-color--lightest); + } + .md-nav--primary .md-nav__item--active > .md-nav__link { + color: var(--darkreader-text--md-typeset-a-color); + } + .md-nav--primary .md-nav__item--active > .md-nav__link:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); + } + .md-nav--primary .md-nav__item--active > .md-nav__link:is(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); + } + .md-nav--primary .md-nav__link .md-nav__icon::after { + background-color: currentcolor; + } + .md-nav--primary .md-nav--secondary .md-nav { + background-color: initial; + } + .md-nav--secondary { + background-color: initial; + } +} +@media screen and (max-width: 59.9375em) { + .md-nav__source { + background-color: var(--darkreader-bg--md-primary-fg-color--dark); + color: var(--darkreader-text--md-primary-bg-color); + } +} +@media screen and (min-width: 60em) { + .md-nav--secondary .md-nav__title { + box-shadow: 0 0 0.4rem 0.4rem var(--darkreader-bg--md-default-bg-color); + background: var(--darkreader-bg--md-default-bg-color); + } +} +@media screen and (min-width: 76.25em) { + .md-nav--primary .md-nav__title { + box-shadow: 0 0 0.4rem 0.4rem var(--darkreader-bg--md-default-bg-color); + background: var(--darkreader-bg--md-default-bg-color); + } + .md-nav__icon:hover { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + } + .md-nav__icon::after { + background-color: currentcolor; + } + .md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link { + box-shadow: 0 0 0.4rem 0.4rem var(--darkreader-bg--md-default-bg-color); + background: var(--darkreader-bg--md-default-bg-color); + } + .md-nav--integrated > .md-nav__list > .md-nav__item--active .md-nav--secondary { + border-left: 0.05rem solid var(--darkreader-border--md-primary-fg-color) ; + } + [dir="rtl"] .md-nav--integrated > .md-nav__list > .md-nav__item--active .md-nav--secondary { + border-right: 0.05rem solid var(--darkreader-border--md-primary-fg-color) ; + } +} +:root { + --darkreader-bgimg--md-search-result-icon: url("data:image/svg+xml;charset=utf-8,"); +} +@media screen and (max-width: 59.9375em) { + .md-search__overlay { + background-color: var(--darkreader-bg--md-default-bg-color); + } +} +@media screen and (min-width: 60em) { + .md-search__overlay { + background-color: rgba(0, 0, 0, 0.54); + } +} +.md-search__form { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0.6rem; +} +@media screen and (min-width: 60em) { + .md-search__form { + background-color: rgba(0, 0, 0, 0.26); + } + .md-search__form:hover { + background-color: rgba(24, 26, 27, 0.12); + } +} +[data-md-toggle="search"]:checked ~ .md-header .md-search__form { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: rgba(0, 0, 0, 0.07) 0px 0px 0.6rem; + color: var(--darkreader-text--md-default-fg-color); +} +.md-search__input { + background-image: initial; + background-color: transparent; +} +.md-search__input::placeholder, +.md-search__input ~ .md-search__icon { + color: var(--darkreader-text--md-default-fg-color--light); +} +@media screen and (min-width: 60em) { + .md-search__input { + color: inherit; + } + .md-search__input::placeholder { + color: var(--darkreader-text--md-primary-bg-color--light); + } + .md-search__input + .md-search__icon { + color: var(--darkreader-text--md-primary-bg-color); + } + [data-md-toggle="search"]:checked ~ .md-header .md-search__input + .md-search__icon, [data-md-toggle="search"]:checked ~ .md-header .md-search__input::placeholder { + color: var(--darkreader-text--md-default-fg-color--light); + } +} +.md-search__options > * { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-search__options > :not(.focus-visible) { + -webkit-tap-highlight-color: transparent; + outline-color: initial; +} +.md-search__suggest { + color: var(--darkreader-text--md-default-fg-color--lighter); +} +@media screen and (min-width: 60em) { + [data-md-toggle="search"]:checked ~ .md-header .md-search__output { + box-shadow: var(--darkreader-bg--md-shadow-z3); + } +} +.md-search__scrollwrap { + background-color: var(--darkreader-bg--md-default-bg-color); +} +@media screen and (min-width: 60em) { + .md-search__scrollwrap::-webkit-scrollbar-thumb { + background-color: var(--darkreader-bg--md-default-fg-color--lighter); + } + .md-search__scrollwrap::-webkit-scrollbar-thumb:hover { + background-color: var(--darkreader-bg--md-accent-fg-color); + } +} +.md-search-result { + color: var(--darkreader-text--md-default-fg-color); +} +.md-search-result__meta { + background-color: var(--darkreader-bg--md-default-fg-color--lightest); + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-search-result__list { + list-style-image: initial; +} +.md-search-result__item { + box-shadow: 0 -0.05rem var(--darkreader-bg--md-default-fg-color--lightest); +} +.md-search-result__item:first-child { + box-shadow: none; +} +.md-search-result__link { + outline-color: initial; +} +.md-search-result__link:-webkit-any(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); +} +.md-search-result__link:is(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); +} +.md-search-result__more summary { + color: var(--darkreader-text--md-typeset-a-color); + outline-color: initial; +} +.md-search-result__more summary:-webkit-any(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + color: var(--darkreader-text--md-accent-fg-color); +} +.md-search-result__more summary:is(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + color: var(--darkreader-text--md-accent-fg-color); +} +.md-search-result__icon { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-search-result__icon::after { + background-color: currentcolor; +} +.md-search-result__teaser { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-search-result__teaser mark { + background-color: initial; + text-decoration-color: initial; +} +.md-search-result mark { + background-color: initial; + color: var(--darkreader-text--md-accent-fg-color); +} +.md-select__inner { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); + color: var(--darkreader-text--md-default-fg-color); +} +.md-select__inner::after { + border-bottom-color: var(--darkreader-border--md-default-bg-color); + border-left-color: transparent; + border-right-color: transparent; + border-top-color: initial; +} +.md-select__link { + outline-color: initial; +} +.md-select__link:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-select__link:is(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-select__link:focus { + background-color: var(--darkreader-bg--md-default-fg-color--lightest); +} +@media screen and (max-width: 76.1875em) { + .md-sidebar--primary { + background-color: var(--darkreader-bg--md-default-bg-color); + } + [data-md-toggle="drawer"]:checked ~ .md-container .md-sidebar--primary { + box-shadow: var(--darkreader-bg--md-shadow-z3); + } +} +.md-sidebar__scrollwrap::-webkit-scrollbar-thumb { + background-color: var(--darkreader-bg--md-default-fg-color--lighter); +} +.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover { + background-color: var(--darkreader-bg--md-accent-fg-color); +} +@media screen and (max-width: 76.1875em) { + .md-overlay { + background-color: rgba(0, 0, 0, 0.54); + } +} +:root { + --darkreader-bgimg--md-source-forks-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCI+PGRlZnM+PGZpbHRlciBpZD0iZGFya3JlYWRlci1pbWFnZS1maWx0ZXIiPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwLjI0OSAtMC42MTQgLTAuNjcyIDAuMDAwIDEuMDM1IC0wLjY0NiAwLjI4OCAtMC42NjQgMC4wMDAgMS4wMjAgLTAuNjM2IC0wLjYwOSAwLjI1MCAwLjAwMCAwLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7Y2hhcnNldD11dGYtOCw8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik01IDMuMjVhLjc1Ljc1IDAgMSAxLTEuNSAwIC43NS43NSAwIDAgMSAxLjUgMHptMCAyLjEyMmEyLjI1IDIuMjUgMCAxIDAtMS41IDB2Ljg3OEEyLjI1IDIuMjUgMCAwIDAgNS43NSA4LjVoMS41djIuMTI4YTIuMjUxIDIuMjUxIDAgMSAwIDEuNSAwVjguNWgxLjVhMi4yNSAyLjI1IDAgMCAwIDIuMjUtMi4yNXYtLjg3OGEyLjI1IDIuMjUgMCAxIDAtMS41IDB2Ljg3OGEuNzUuNzUgMCAwIDEtLjc1Ljc1aC00LjVBLjc1Ljc1IDAgMCAxIDUgNi4yNXYtLjg3OHptMy43NSA3LjM3OGEuNzUuNzUgMCAxIDEtMS41IDAgLjc1Ljc1IDAgMCAxIDEuNSAwem0zLTguNzVhLjc1Ljc1IDAgMSAwIDAtMS41Ljc1Ljc1IDAgMCAwIDAgMS41eiIvPjwvc3ZnPiIgLz48L3N2Zz4="); + --darkreader-bgimg--md-source-repositories-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCI+PGRlZnM+PGZpbHRlciBpZD0iZGFya3JlYWRlci1pbWFnZS1maWx0ZXIiPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwLjI0OSAtMC42MTQgLTAuNjcyIDAuMDAwIDEuMDM1IC0wLjY0NiAwLjI4OCAtMC42NjQgMC4wMDAgMS4wMjAgLTAuNjM2IC0wLjYwOSAwLjI1MCAwLjAwMCAwLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7Y2hhcnNldD11dGYtOCw8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yIDIuNUEyLjUgMi41IDAgMCAxIDQuNSAwaDguNzVhLjc1Ljc1IDAgMCAxIC43NS43NXYxMi41YS43NS43NSAwIDAgMS0uNzUuNzVoLTIuNWEuNzUuNzUgMCAxIDEgMC0xLjVoMS43NXYtMmgtOGExIDEgMCAwIDAtLjcxNCAxLjcuNzUuNzUgMCAwIDEtMS4wNzIgMS4wNUEyLjQ5NSAyLjQ5NSAwIDAgMSAyIDExLjV2LTl6bTEwLjUtMVY5aC04Yy0uMzU2IDAtLjY5NC4wNzQtMSAuMjA4VjIuNWExIDEgMCAwIDEgMS0xaDh6TTUgMTIuMjV2My4yNWEuMjUuMjUgMCAwIDAgLjQuMmwxLjQ1LTEuMDg3YS4yNS4yNSAwIDAgMSAuMyAwTDguNiAxNS43YS4yNS4yNSAwIDAgMCAuNC0uMnYtMy4yNWEuMjUuMjUgMCAwIDAtLjI1LS4yNWgtMy41YS4yNS4yNSAwIDAgMC0uMjUuMjV6Ii8+PC9zdmc+IiAvPjwvc3ZnPg=="); + --darkreader-bgimg--md-source-stars-icon: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-source-version-icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCI+PGRlZnM+PGZpbHRlciBpZD0iZGFya3JlYWRlci1pbWFnZS1maWx0ZXIiPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwLjI0OSAtMC42MTQgLTAuNjcyIDAuMDAwIDEuMDM1IC0wLjY0NiAwLjI4OCAtMC42NjQgMC4wMDAgMS4wMjAgLTAuNjM2IC0wLjYwOSAwLjI1MCAwLjAwMCAwLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7Y2hhcnNldD11dGYtOCw8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yLjUgNy43NzVWMi43NWEuMjUuMjUgMCAwIDEgLjI1LS4yNWg1LjAyNWEuMjUuMjUgMCAwIDEgLjE3Ny4wNzNsNi4yNSA2LjI1YS4yNS4yNSAwIDAgMSAwIC4zNTRsLTUuMDI1IDUuMDI1YS4yNS4yNSAwIDAgMS0uMzU0IDBsLTYuMjUtNi4yNWEuMjUuMjUgMCAwIDEtLjA3My0uMTc3em0tMS41IDBWMi43NUMxIDEuNzg0IDEuNzg0IDEgMi43NSAxaDUuMDI1Yy40NjQgMCAuOTEuMTg0IDEuMjM4LjUxM2w2LjI1IDYuMjVhMS43NSAxLjc1IDAgMCAxIDAgMi40NzRsLTUuMDI2IDUuMDI2YTEuNzUgMS43NSAwIDAgMS0yLjQ3NCAwbC02LjI1LTYuMjVBMS43NSAxLjc1IDAgMCAxIDEgNy43NzV6TTYgNWExIDEgMCAxIDAgMCAyIDEgMSAwIDAgMCAwLTJ6Ii8+PC9zdmc+IiAvPjwvc3ZnPg=="); +} +.md-source { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-source__fact::before { + background-color: currentcolor; +} +.md-tabs { + background-color: var(--darkreader-bg--md-primary-fg-color); + color: var(--darkreader-text--md-primary-bg-color); +} +.md-tabs__list { + list-style-image: initial; +} +.md-tabs__link { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-tabs__link--active, +.md-tabs__link:-webkit-any(:focus, :hover) { + color: inherit; +} +.md-tabs__link--active, +.md-tabs__link:is(:focus, :hover) { + color: inherit; +} +:root { + --darkreader-bgimg--md-tag-icon: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset .md-tag { + background: var(--darkreader-bg--md-default-fg-color--lightest); +} +.md-typeset .md-tag[href] { + -webkit-tap-highlight-color: transparent; + color: inherit; + outline-color: initial; +} +.md-typeset .md-tag[href]:focus, +.md-typeset .md-tag[href]:hover { + background-color: var(--darkreader-bg--md-accent-fg-color); + color: var(--darkreader-text--md-accent-bg-color); +} +.md-typeset .md-tag-icon::before { + background-color: var(--darkreader-bg--md-default-fg-color--lighter); +} +.md-typeset .md-tag-icon:-webkit-any(a:focus, a:hover)::before { + background-color: var(--darkreader-bg--md-accent-bg-color); +} +.md-typeset .md-tag-icon:is(a:focus, a:hover)::before { + background-color: var(--darkreader-bg--md-accent-bg-color); +} +:root { + --md-tooltip-width: 20rem; +} +.md-tooltip { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); + color: var(--darkreader-text--md-default-fg-color); +} +:is(.focus-visible > .md-tooltip, .md-tooltip:target) { + outline: var(--darkreader-border--md-accent-fg-color) auto ; +} +.md-annotation { + outline-color: initial; +} +.md-annotation__index { + outline-color: initial; +} +.md-annotation .md-annotation__index { + color: rgb(232, 230, 227); +} +.md-annotation .md-annotation__index:-webkit-any(:focus, :hover) { + color: rgb(232, 230, 227); +} +.md-annotation .md-annotation__index:is(:focus, :hover) { + color: rgb(232, 230, 227); +} +.md-annotation__index::after { + background-color: var(--darkreader-bg--md-default-fg-color--lighter); +} +:is(.md-tooltip--active + .md-annotation__index, :hover > .md-annotation__index) { + color: var(--darkreader-text--md-accent-bg-color); +} +:is(.md-tooltip--active + .md-annotation__index, :hover > .md-annotation__index)::after { + background-color: var(--darkreader-bg--md-accent-fg-color); +} +.md-top { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); + color: var(--darkreader-text--md-default-fg-color--light); + outline-color: initial; +} +.md-top:-webkit-any(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color); + color: var(--darkreader-text--md-accent-bg-color); +} +.md-top:is(:focus, :hover) { + background-color: var(--darkreader-bg--md-accent-fg-color); + color: var(--darkreader-text--md-accent-bg-color); +} +:root { + --darkreader-bgimg--md-version-icon: url("data:image/svg+xml;charset=utf-8,"); +} +.md-version__current { + color: inherit; + outline-color: initial; +} +.md-version__current::after { + background-color: currentcolor; +} +.md-version__list { + background-color: var(--darkreader-bg--md-default-bg-color); + box-shadow: var(--darkreader-bg--md-shadow-z2); + color: var(--darkreader-text--md-default-fg-color); +} +.md-version__link { + outline-color: initial; +} +.md-version__link:-webkit-any(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-version__link:is(:focus, :hover) { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-version__link:focus { + background-color: var(--darkreader-bg--md-default-fg-color--lightest); +} +:root { + --darkreader-bgimg--md-admonition-icon--note: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--abstract: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--info: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--tip: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--success: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--question: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--warning: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--failure: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--danger: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--bug: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--example: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-admonition-icon--quote: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset .admonition, +.md-typeset details { + background-color: var(--darkreader-bg--md-admonition-bg-color); + border-color: rgb(0, 59, 158); + box-shadow: var(--darkreader-bg--md-shadow-z1); + color: var(--darkreader-text--md-admonition-fg-color); +} +.md-typeset .admonition-title, +.md-typeset summary { + background-color: rgba(0, 61, 163, 0.1); + border-color: initial; +} +.md-typeset .admonition-title::before, +.md-typeset summary::before { + background-color: rgb(73, 165, 255); +} +.md-typeset .admonition-title code, +.md-typeset summary code { + box-shadow: 0 0 0 0.05rem var(--darkreader-bg--md-default-fg-color--lightest); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.note) { + border-color: rgb(0, 59, 158); +} +.md-typeset :is(.admonition, details):is(.note) { + border-color: rgb(0, 59, 158); +} +.md-typeset :-webkit-any(.note) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(0, 61, 163, 0.1); +} +.md-typeset :is(.note) > :is(.admonition-title, summary) { + background-color: rgba(0, 61, 163, 0.1); +} +.md-typeset :-webkit-any(.note) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(73, 165, 255); +} +.md-typeset :is(.note) > :is(.admonition-title, summary)::before { + background-color: rgb(73, 165, 255); +} +.md-typeset :-webkit-any(.note) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(73, 165, 255); +} +.md-typeset :is(.note) > :is(.admonition-title, summary)::after { + color: rgb(73, 165, 255); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.abstract, .summary, .tldr) { + border-color: rgb(0, 123, 179); +} +.md-typeset :is(.admonition, details):is(.abstract, .summary, .tldr) { + border-color: rgb(0, 123, 179); +} +.md-typeset :-webkit-any(.abstract, .summary, .tldr) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(0, 141, 204, 0.1); +} +.md-typeset :is(.abstract, .summary, .tldr) > :is(.admonition-title, summary) { + background-color: rgba(0, 141, 204, 0.1); +} +.md-typeset :-webkit-any(.abstract, .summary, .tldr) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(26, 184, 255); +} +.md-typeset :is(.abstract, .summary, .tldr) > :is(.admonition-title, summary)::before { + background-color: rgb(26, 184, 255); +} +.md-typeset :-webkit-any(.abstract, .summary, .tldr) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(26, 184, 255); +} +.md-typeset :is(.abstract, .summary, .tldr) > :is(.admonition-title, summary)::after { + color: rgb(26, 184, 255); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.info, .todo) { + border-color: rgb(0, 166, 191); +} +.md-typeset :is(.admonition, details):is(.info, .todo) { + border-color: rgb(0, 166, 191); +} +.md-typeset :-webkit-any(.info, .todo) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(0, 147, 170, 0.1); +} +.md-typeset :is(.info, .todo) > :is(.admonition-title, summary) { + background-color: rgba(0, 147, 170, 0.1); +} +.md-typeset :-webkit-any(.info, .todo) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(56, 229, 255); +} +.md-typeset :is(.info, .todo) > :is(.admonition-title, summary)::before { + background-color: rgb(56, 229, 255); +} +.md-typeset :-webkit-any(.info, .todo) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(56, 229, 255); +} +.md-typeset :is(.info, .todo) > :is(.admonition-title, summary)::after { + color: rgb(56, 229, 255); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.tip, .hint, .important) { + border-color: rgb(0, 198, 171); +} +.md-typeset :is(.admonition, details):is(.tip, .hint, .important) { + border-color: rgb(0, 198, 171); +} +.md-typeset :-webkit-any(.tip, .hint, .important) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(0, 153, 132, 0.1); +} +.md-typeset :is(.tip, .hint, .important) > :is(.admonition-title, summary) { + background-color: rgba(0, 153, 132, 0.1); +} +.md-typeset :-webkit-any(.tip, .hint, .important) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(70, 255, 230); +} +.md-typeset :is(.tip, .hint, .important) > :is(.admonition-title, summary)::before { + background-color: rgb(70, 255, 230); +} +.md-typeset :-webkit-any(.tip, .hint, .important) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(70, 255, 230); +} +.md-typeset :is(.tip, .hint, .important) > :is(.admonition-title, summary)::after { + color: rgb(70, 255, 230); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.success, .check, .done) { + border-color: rgb(0, 195, 81); +} +.md-typeset :is(.admonition, details):is(.success, .check, .done) { + border-color: rgb(0, 195, 81); +} +.md-typeset :-webkit-any(.success, .check, .done) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(0, 160, 66, 0.1); +} +.md-typeset :is(.success, .check, .done) > :is(.admonition-title, summary) { + background-color: rgba(0, 160, 66, 0.1); +} +.md-typeset :-webkit-any(.success, .check, .done) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(64, 255, 143); +} +.md-typeset :is(.success, .check, .done) > :is(.admonition-title, summary)::before { + background-color: rgb(64, 255, 143); +} +.md-typeset :-webkit-any(.success, .check, .done) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(64, 255, 143); +} +.md-typeset :is(.success, .check, .done) > :is(.admonition-title, summary)::after { + color: rgb(64, 255, 143); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.question, .help, .faq) { + border-color: rgb(75, 165, 17); +} +.md-typeset :is(.admonition, details):is(.question, .help, .faq) { + border-color: rgb(75, 165, 17); +} +.md-typeset :-webkit-any(.question, .help, .faq) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(80, 177, 18, 0.1); +} +.md-typeset :is(.question, .help, .faq) > :is(.admonition-title, summary) { + background-color: rgba(80, 177, 18, 0.1); +} +.md-typeset :-webkit-any(.question, .help, .faq) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(124, 234, 54); +} +.md-typeset :is(.question, .help, .faq) > :is(.admonition-title, summary)::before { + background-color: rgb(124, 234, 54); +} +.md-typeset :-webkit-any(.question, .help, .faq) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(124, 234, 54); +} +.md-typeset :is(.question, .help, .faq) > :is(.admonition-title, summary)::after { + color: rgb(124, 234, 54); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.warning, .caution, .attention) { + border-color: rgb(179, 102, 0); +} +.md-typeset :is(.admonition, details):is(.warning, .caution, .attention) { + border-color: rgb(179, 102, 0); +} +.md-typeset :-webkit-any(.warning, .caution, .attention) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(204, 116, 0, 0.1); +} +.md-typeset :is(.warning, .caution, .attention) > :is(.admonition-title, summary) { + background-color: rgba(204, 116, 0, 0.1); +} +.md-typeset :-webkit-any(.warning, .caution, .attention) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(255, 156, 26); +} +.md-typeset :is(.warning, .caution, .attention) > :is(.admonition-title, summary)::before { + background-color: rgb(255, 156, 26); +} +.md-typeset :-webkit-any(.warning, .caution, .attention) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(255, 156, 26); +} +.md-typeset :is(.warning, .caution, .attention) > :is(.admonition-title, summary)::after { + color: rgb(255, 156, 26); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.failure, .fail, .missing) { + border-color: rgb(154, 0, 0); +} +.md-typeset :is(.admonition, details):is(.failure, .fail, .missing) { + border-color: rgb(154, 0, 0); +} +.md-typeset :-webkit-any(.failure, .fail, .missing) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(155, 0, 0, 0.1); +} +.md-typeset :is(.failure, .fail, .missing) > :is(.admonition-title, summary) { + background-color: rgba(155, 0, 0, 0.1); +} +.md-typeset :-webkit-any(.failure, .fail, .missing) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(255, 83, 83); +} +.md-typeset :is(.failure, .fail, .missing) > :is(.admonition-title, summary)::before { + background-color: rgb(255, 83, 83); +} +.md-typeset :-webkit-any(.failure, .fail, .missing) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(255, 83, 83); +} +.md-typeset :is(.failure, .fail, .missing) > :is(.admonition-title, summary)::after { + color: rgb(255, 83, 83); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.danger, .error) { + border-color: rgb(172, 0, 33); +} +.md-typeset :is(.admonition, details):is(.danger, .error) { + border-color: rgb(172, 0, 33); +} +.md-typeset :-webkit-any(.danger, .error) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(190, 0, 37, 0.1); +} +.md-typeset :is(.danger, .error) > :is(.admonition-title, summary) { + background-color: rgba(190, 0, 37, 0.1); +} +.md-typeset :-webkit-any(.danger, .error) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(255, 42, 83); +} +.md-typeset :is(.danger, .error) > :is(.admonition-title, summary)::before { + background-color: rgb(255, 42, 83); +} +.md-typeset :-webkit-any(.danger, .error) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(255, 42, 83); +} +.md-typeset :is(.danger, .error) > :is(.admonition-title, summary)::after { + color: rgb(255, 42, 83); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.bug) { + border-color: rgb(182, 0, 64); +} +.md-typeset :is(.admonition, details):is(.bug) { + border-color: rgb(182, 0, 64); +} +.md-typeset :-webkit-any(.bug) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(196, 0, 70, 0.1); +} +.md-typeset :is(.bug) > :is(.admonition-title, summary) { + background-color: rgba(196, 0, 70, 0.1); +} +.md-typeset :-webkit-any(.bug) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(255, 33, 112); +} +.md-typeset :is(.bug) > :is(.admonition-title, summary)::before { + background-color: rgb(255, 33, 112); +} +.md-typeset :-webkit-any(.bug) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(255, 33, 112); +} +.md-typeset :is(.bug) > :is(.admonition-title, summary)::after { + color: rgb(255, 33, 112); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.example) { + border-color: rgb(41, 0, 155); +} +.md-typeset :is(.admonition, details):is(.example) { + border-color: rgb(41, 0, 155); +} +.md-typeset :-webkit-any(.example) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(42, 0, 158, 0.1); +} +.md-typeset :is(.example) > :is(.admonition-title, summary) { + background-color: rgba(42, 0, 158, 0.1); +} +.md-typeset :-webkit-any(.example) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(126, 79, 255); +} +.md-typeset :is(.example) > :is(.admonition-title, summary)::before { + background-color: rgb(126, 79, 255); +} +.md-typeset :-webkit-any(.example) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(126, 79, 255); +} +.md-typeset :is(.example) > :is(.admonition-title, summary)::after { + color: rgb(126, 79, 255); +} +.md-typeset :-webkit-any(.admonition, details):-webkit-any(.quote, .cite) { + border-color: rgb(75, 82, 85); +} +.md-typeset :is(.admonition, details):is(.quote, .cite) { + border-color: rgb(75, 82, 85); +} +.md-typeset :-webkit-any(.quote, .cite) > :-webkit-any(.admonition-title, summary) { + background-color: rgba(79, 85, 89, 0.1); +} +.md-typeset :is(.quote, .cite) > :is(.admonition-title, summary) { + background-color: rgba(79, 85, 89, 0.1); +} +.md-typeset :-webkit-any(.quote, .cite) > :-webkit-any(.admonition-title, summary)::before { + background-color: rgb(171, 163, 152); +} +.md-typeset :is(.quote, .cite) > :is(.admonition-title, summary)::before { + background-color: rgb(171, 163, 152); +} +.md-typeset :-webkit-any(.quote, .cite) > :-webkit-any(.admonition-title, summary)::after { + color: rgb(171, 163, 152); +} +.md-typeset :is(.quote, .cite) > :is(.admonition-title, summary)::after { + color: rgb(171, 163, 152); +} +:root { + --darkreader-bgimg--md-footnotes-icon: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset .footnote { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset .footnote > ol > li:target { + color: var(--darkreader-text--md-default-fg-color); +} +.md-typeset [id^="fnref:"]:target > .footnote-ref { + outline-color: initial; +} +.md-typeset .footnote-backref { + color: var(--darkreader-text--md-typeset-a-color); +} +.md-typeset .footnote-backref:hover { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-typeset .footnote-backref::before { + background-color: currentcolor; +} +.md-typeset .headerlink { + color: var(--darkreader-text--md-default-fg-color--lighter); +} +.md-typeset .headerlink:-webkit-any(:focus, :hover), +.md-typeset :target > .headerlink { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-typeset .headerlink:is(:focus, :hover), +.md-typeset :target > .headerlink { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-typeset :target { + --md-scroll-margin: 3.6rem; + --md-scroll-offset: 0rem; +} +@media screen and (min-width: 76.25em) { + .md-header--lifted ~ .md-container .md-typeset :target { + --md-scroll-margin: 6rem; + } +} +.md-typeset :-webkit-any(h1, h2, h3):target { + --md-scroll-offset: 0.2rem; +} +.md-typeset :is(h1, h2, h3):target { + --md-scroll-offset: 0.2rem; +} +.md-typeset h4:target { + --md-scroll-offset: 0.15rem; +} +.md-typeset del.critic { + background-color: var(--darkreader-bg--md-typeset-del-color); +} +.md-typeset ins.critic { + background-color: var(--darkreader-bg--md-typeset-ins-color); +} +.md-typeset .critic.comment { + color: var(--darkreader-text--md-code-hl-comment-color); +} +.md-typeset .critic.block { + box-shadow: none; +} +:root { + --darkreader-bgimg--md-details-icon: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset details:not([open]) { + box-shadow: none; +} +.md-typeset summary.focus-visible { + outline-color: var(--darkreader-border--md-accent-fg-color); +} +.md-typeset summary:not(.focus-visible) { + -webkit-tap-highlight-color: transparent; + outline-color: initial; +} +.md-typeset summary::after { + background-color: currentcolor; +} +.md-typeset :-webkit-any(.emojione, .twemoji, .gemoji) svg { + fill: currentcolor; +} +.md-typeset :is(.emojione, .twemoji, .gemoji) svg { + fill: currentcolor; +} +.highlight :-webkit-any(.o, .ow) { + color: var(--darkreader-text--md-code-hl-operator-color); +} +.highlight :is(.o, .ow) { + color: var(--darkreader-text--md-code-hl-operator-color); +} +.highlight .p { + color: var(--darkreader-text--md-code-hl-punctuation-color); +} +.highlight :-webkit-any(.cpf, .l, .s, .sb, .sc, .s2, .si, .s1, .ss) { + color: var(--darkreader-text--md-code-hl-string-color); +} +.highlight :is(.cpf, .l, .s, .sb, .sc, .s2, .si, .s1, .ss) { + color: var(--darkreader-text--md-code-hl-string-color); +} +.highlight :-webkit-any(.cp, .se, .sh, .sr, .sx) { + color: var(--darkreader-text--md-code-hl-special-color); +} +.highlight :is(.cp, .se, .sh, .sr, .sx) { + color: var(--darkreader-text--md-code-hl-special-color); +} +.highlight :-webkit-any(.m, .mb, .mf, .mh, .mi, .il, .mo) { + color: var(--darkreader-text--md-code-hl-number-color); +} +.highlight :is(.m, .mb, .mf, .mh, .mi, .il, .mo) { + color: var(--darkreader-text--md-code-hl-number-color); +} +.highlight :-webkit-any(.k, .kd, .kn, .kp, .kr, .kt) { + color: var(--darkreader-text--md-code-hl-keyword-color); +} +.highlight :is(.k, .kd, .kn, .kp, .kr, .kt) { + color: var(--darkreader-text--md-code-hl-keyword-color); +} +.highlight :-webkit-any(.kc, .n) { + color: var(--darkreader-text--md-code-hl-name-color); +} +.highlight :is(.kc, .n) { + color: var(--darkreader-text--md-code-hl-name-color); +} +.highlight :-webkit-any(.no, .nb, .bp) { + color: var(--darkreader-text--md-code-hl-constant-color); +} +.highlight :is(.no, .nb, .bp) { + color: var(--darkreader-text--md-code-hl-constant-color); +} +.highlight :-webkit-any(.nc, .ne, .nf, .nn) { + color: var(--darkreader-text--md-code-hl-function-color); +} +.highlight :is(.nc, .ne, .nf, .nn) { + color: var(--darkreader-text--md-code-hl-function-color); +} +.highlight :-webkit-any(.nd, .ni, .nl, .nt) { + color: var(--darkreader-text--md-code-hl-keyword-color); +} +.highlight :is(.nd, .ni, .nl, .nt) { + color: var(--darkreader-text--md-code-hl-keyword-color); +} +.highlight :-webkit-any(.c, .cm, .c1, .ch, .cs, .sd) { + color: var(--darkreader-text--md-code-hl-comment-color); +} +.highlight :is(.c, .cm, .c1, .ch, .cs, .sd) { + color: var(--darkreader-text--md-code-hl-comment-color); +} +.highlight :-webkit-any(.na, .nv, .vc, .vg, .vi) { + color: var(--darkreader-text--md-code-hl-variable-color); +} +.highlight :is(.na, .nv, .vc, .vg, .vi) { + color: var(--darkreader-text--md-code-hl-variable-color); +} +.highlight :-webkit-any(.ge, .gr, .gh, .go, .gp, .gs, .gu, .gt) { + color: var(--darkreader-text--md-code-hl-generic-color); +} +.highlight :is(.ge, .gr, .gh, .go, .gp, .gs, .gu, .gt) { + color: var(--darkreader-text--md-code-hl-generic-color); +} +.highlight .gd { + background-color: var(--darkreader-bg--md-typeset-del-color); +} +.highlight .gi { + background-color: var(--darkreader-bg--md-typeset-ins-color); +} +.highlight .hll { + background-color: var(--darkreader-bg--md-code-hl-color); +} +.highlight span.filename { + background-color: var(--darkreader-bg--md-code-bg-color); + border-bottom: 0.05rem solid var(--darkreader-border--md-default-fg-color--lightest); +} +.highlight [data-linenos]::before { + background-color: var(--darkreader-bg--md-code-bg-color); + box-shadow: -0.05rem 0 var(--darkreader-bg--md-default-fg-color--lightest) inset; + color: var(--darkreader-text--md-default-fg-color--light); +} +.highlighttable .linenos { + background-color: var(--darkreader-bg--md-code-bg-color); +} +.highlighttable .linenodiv { + box-shadow: -0.05rem 0 var(--darkreader-bg--md-default-fg-color--lightest) inset; +} +.highlighttable .linenodiv pre { + color: var(--darkreader-text--md-default-fg-color--light); +} +.linenodiv a { + color: inherit; +} +.md-typeset .keys span { + color: var(--darkreader-text--md-default-fg-color--light); +} +:root { + --darkreader-bgimg--md-tabbed-icon--prev: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-tabbed-icon--next: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset .tabbed-set > input:target { + --md-scroll-offset: 0.625em; +} +.md-typeset .tabbed-labels { + box-shadow: 0 -0.05rem var(--darkreader-bg--md-default-fg-color--lightest) inset; +} +@media screen { + .js .md-typeset .tabbed-labels::before { + background: var(--darkreader-bg--md-accent-fg-color); + } +} +.md-typeset .tabbed-labels > label { + border-bottom-color: transparent; + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset .tabbed-labels > label:hover { + color: var(--darkreader-text--md-accent-fg-color); +} +.md-typeset .tabbed-button { + color: var(--darkreader-text--md-default-fg-color--light); +} +.md-typeset .tabbed-button:hover { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); + color: var(--darkreader-text--md-accent-fg-color); +} +.md-typeset .tabbed-button::after { + background-color: currentcolor; +} +.md-typeset .tabbed-control { + background: linear-gradient(to right, + var(--darkreader-bg--md-default-bg-color) 60%,transparent); +} +.md-typeset .tabbed-control--next { + background: linear-gradient(to left, + var(--darkreader-bg--md-default-bg-color) 60%,transparent); +} +@media screen { + .md-typeset .tabbed-set > input:first-child:checked ~ .tabbed-labels > :first-child, + .md-typeset .tabbed-set > input:nth-child(10):checked ~ .tabbed-labels > :nth-child(10), + .md-typeset .tabbed-set > input:nth-child(11):checked ~ .tabbed-labels > :nth-child(11), + .md-typeset .tabbed-set > input:nth-child(12):checked ~ .tabbed-labels > :nth-child(12), + .md-typeset .tabbed-set > input:nth-child(13):checked ~ .tabbed-labels > :nth-child(13), + .md-typeset .tabbed-set > input:nth-child(14):checked ~ .tabbed-labels > :nth-child(14), + .md-typeset .tabbed-set > input:nth-child(15):checked ~ .tabbed-labels > :nth-child(15), + .md-typeset .tabbed-set > input:nth-child(16):checked ~ .tabbed-labels > :nth-child(16), + .md-typeset .tabbed-set > input:nth-child(17):checked ~ .tabbed-labels > :nth-child(17), + .md-typeset .tabbed-set > input:nth-child(18):checked ~ .tabbed-labels > :nth-child(18), + .md-typeset .tabbed-set > input:nth-child(19):checked ~ .tabbed-labels > :nth-child(19), + .md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2), + .md-typeset .tabbed-set > input:nth-child(20):checked ~ .tabbed-labels > :nth-child(20), + .md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3), + .md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4), + .md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5), + .md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6), + .md-typeset .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > :nth-child(7), + .md-typeset .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > :nth-child(8), + .md-typeset .tabbed-set > input:nth-child(9):checked ~ .tabbed-labels > :nth-child(9) { + color: var(--darkreader-text--md-accent-fg-color); + } + .md-typeset .no-js .tabbed-set > input:first-child:checked ~ .tabbed-labels > :first-child, + .md-typeset .no-js .tabbed-set > input:nth-child(10):checked ~ .tabbed-labels > :nth-child(10), + .md-typeset .no-js .tabbed-set > input:nth-child(11):checked ~ .tabbed-labels > :nth-child(11), + .md-typeset .no-js .tabbed-set > input:nth-child(12):checked ~ .tabbed-labels > :nth-child(12), + .md-typeset .no-js .tabbed-set > input:nth-child(13):checked ~ .tabbed-labels > :nth-child(13), + .md-typeset .no-js .tabbed-set > input:nth-child(14):checked ~ .tabbed-labels > :nth-child(14), + .md-typeset .no-js .tabbed-set > input:nth-child(15):checked ~ .tabbed-labels > :nth-child(15), + .md-typeset .no-js .tabbed-set > input:nth-child(16):checked ~ .tabbed-labels > :nth-child(16), + .md-typeset .no-js .tabbed-set > input:nth-child(17):checked ~ .tabbed-labels > :nth-child(17), + .md-typeset .no-js .tabbed-set > input:nth-child(18):checked ~ .tabbed-labels > :nth-child(18), + .md-typeset .no-js .tabbed-set > input:nth-child(19):checked ~ .tabbed-labels > :nth-child(19), + .md-typeset .no-js .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2), + .md-typeset .no-js .tabbed-set > input:nth-child(20):checked ~ .tabbed-labels > :nth-child(20), + .md-typeset .no-js .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3), + .md-typeset .no-js .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4), + .md-typeset .no-js .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5), + .md-typeset .no-js .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6), + .md-typeset .no-js .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > :nth-child(7), + .md-typeset .no-js .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > :nth-child(8), + .md-typeset .no-js .tabbed-set > input:nth-child(9):checked ~ .tabbed-labels > :nth-child(9), + .no-js .md-typeset .tabbed-set > input:first-child:checked ~ .tabbed-labels > :first-child, + .no-js .md-typeset .tabbed-set > input:nth-child(10):checked ~ .tabbed-labels > :nth-child(10), + .no-js .md-typeset .tabbed-set > input:nth-child(11):checked ~ .tabbed-labels > :nth-child(11), + .no-js .md-typeset .tabbed-set > input:nth-child(12):checked ~ .tabbed-labels > :nth-child(12), + .no-js .md-typeset .tabbed-set > input:nth-child(13):checked ~ .tabbed-labels > :nth-child(13), + .no-js .md-typeset .tabbed-set > input:nth-child(14):checked ~ .tabbed-labels > :nth-child(14), + .no-js .md-typeset .tabbed-set > input:nth-child(15):checked ~ .tabbed-labels > :nth-child(15), + .no-js .md-typeset .tabbed-set > input:nth-child(16):checked ~ .tabbed-labels > :nth-child(16), + .no-js .md-typeset .tabbed-set > input:nth-child(17):checked ~ .tabbed-labels > :nth-child(17), + .no-js .md-typeset .tabbed-set > input:nth-child(18):checked ~ .tabbed-labels > :nth-child(18), + .no-js .md-typeset .tabbed-set > input:nth-child(19):checked ~ .tabbed-labels > :nth-child(19), + .no-js .md-typeset .tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2), + .no-js .md-typeset .tabbed-set > input:nth-child(20):checked ~ .tabbed-labels > :nth-child(20), + .no-js .md-typeset .tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3), + .no-js .md-typeset .tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4), + .no-js .md-typeset .tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5), + .no-js .md-typeset .tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6), + .no-js .md-typeset .tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > :nth-child(7), + .no-js .md-typeset .tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > :nth-child(8), + .no-js .md-typeset .tabbed-set > input:nth-child(9):checked ~ .tabbed-labels > :nth-child(9) { + border-color: var(--darkreader-border--md-accent-fg-color) ; + } +} +.md-typeset .tabbed-set > input:first-child.focus-visible ~ .tabbed-labels > :first-child, +.md-typeset .tabbed-set > input:nth-child(10).focus-visible ~ .tabbed-labels > :nth-child(10), +.md-typeset .tabbed-set > input:nth-child(11).focus-visible ~ .tabbed-labels > :nth-child(11), +.md-typeset .tabbed-set > input:nth-child(12).focus-visible ~ .tabbed-labels > :nth-child(12), +.md-typeset .tabbed-set > input:nth-child(13).focus-visible ~ .tabbed-labels > :nth-child(13), +.md-typeset .tabbed-set > input:nth-child(14).focus-visible ~ .tabbed-labels > :nth-child(14), +.md-typeset .tabbed-set > input:nth-child(15).focus-visible ~ .tabbed-labels > :nth-child(15), +.md-typeset .tabbed-set > input:nth-child(16).focus-visible ~ .tabbed-labels > :nth-child(16), +.md-typeset .tabbed-set > input:nth-child(17).focus-visible ~ .tabbed-labels > :nth-child(17), +.md-typeset .tabbed-set > input:nth-child(18).focus-visible ~ .tabbed-labels > :nth-child(18), +.md-typeset .tabbed-set > input:nth-child(19).focus-visible ~ .tabbed-labels > :nth-child(19), +.md-typeset .tabbed-set > input:nth-child(2).focus-visible ~ .tabbed-labels > :nth-child(2), +.md-typeset .tabbed-set > input:nth-child(20).focus-visible ~ .tabbed-labels > :nth-child(20), +.md-typeset .tabbed-set > input:nth-child(3).focus-visible ~ .tabbed-labels > :nth-child(3), +.md-typeset .tabbed-set > input:nth-child(4).focus-visible ~ .tabbed-labels > :nth-child(4), +.md-typeset .tabbed-set > input:nth-child(5).focus-visible ~ .tabbed-labels > :nth-child(5), +.md-typeset .tabbed-set > input:nth-child(6).focus-visible ~ .tabbed-labels > :nth-child(6), +.md-typeset .tabbed-set > input:nth-child(7).focus-visible ~ .tabbed-labels > :nth-child(7), +.md-typeset .tabbed-set > input:nth-child(8).focus-visible ~ .tabbed-labels > :nth-child(8), +.md-typeset .tabbed-set > input:nth-child(9).focus-visible ~ .tabbed-labels > :nth-child(9) { + background-color: var(--darkreader-bg--md-accent-fg-color--transparent); +} +:root { + --darkreader-bgimg--md-tasklist-icon: url("data:image/svg+xml;charset=utf-8,"); + --darkreader-bgimg--md-tasklist-icon--checked: url("data:image/svg+xml;charset=utf-8,"); +} +.md-typeset .task-list-indicator::before { + background-color: var(--darkreader-bg--md-default-fg-color--lightest); +} +.md-typeset [type="checkbox"]:checked + .task-list-indicator::before { + background-color: rgb(43, 255, 152); +} +:root > * { + --md-mermaid-font-family: var(--md-text-font-family), + sans-serif; + --md-mermaid-edge-color: var(--md-code-fg-color); + --md-mermaid-node-bg-color: var(--md-accent-fg-color--transparent); + --md-mermaid-node-fg-color: var(--md-accent-fg-color); + --md-mermaid-label-bg-color: var(--md-default-bg-color); + --md-mermaid-label-fg-color: var(--md-code-fg-color); +} /* Override Style */ .vimvixen-hint { diff --git a/resources/pagedown_widget.scss b/resources/pagedown_widget.scss index c2797cd..b6d2333 100644 --- a/resources/pagedown_widget.scss +++ b/resources/pagedown_widget.scss @@ -170,4 +170,55 @@ .wmd-preview:empty { display: none; +} + +/* Extra styles to allow for image upload */ +.pagedown-image-upload { + display: none; + z-index: 10001; + position: fixed; + background: white; + top: 50%; + left: 50%; + padding: 10px; + width: 400px; + max-width: 90%; + transform: translate3d(-50%, -50%, 0); + box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.5); +} + +.pagedown-image-upload .submit-row { + margin: 10px 0 0 0; +} + +.pagedown-image-upload.show { + display: block; +} + +.pagedown-image-upload .submit-loading { + display: none; + vertical-align: middle; + border: 4px solid #f3f3f3; /* Light grey */ + border-top: 4px solid #79aec8; /* Blue */ + border-radius: 50%; + width: 24px; + height: 24px; + animation: spin 1s linear infinite; +} + +.pagedown-image-upload .submit-loading.show { + display: inline-block; +} + +.pagedown-image-upload .submit-input { + display: none; +} + +.pagedown-image-upload .submit-input.show { + display: inline-block; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } } \ No newline at end of file diff --git a/templates/contest/list.html b/templates/contest/list.html index 579abbd..3502d29 100644 --- a/templates/contest/list.html +++ b/templates/contest/list.html @@ -220,10 +220,10 @@ {% endif %} {% if active_participations %} -

+

{{ _('Active Contests') }} -

+