2021-05-13 05:05:38 -07:00
|
|
|
/* Global customization */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--code-max-height: 60rem;
|
|
|
|
}
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
/* Light mode theming */
|
|
|
|
:root,
|
|
|
|
:root[color-mode="light"] {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--body-background: #ffffff;
|
|
|
|
--body-font-color: #343a40;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-11-24 00:10:26 -08:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--link-color: #518169;
|
|
|
|
--link-color-visited: #c54e8a;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--code-background: #f5f6f8;
|
|
|
|
--code-accent-color: #e3e7eb;
|
|
|
|
--code-accent-color-lite: #eff1f3;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-11-07 13:12:14 -08:00
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #adb4bc;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--accent-color: #e9ecef;
|
|
|
|
--accent-color-lite: #f8f9fa;
|
2020-02-04 15:41:13 -08:00
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
|
|
|
--footer-background: #2f333e;
|
|
|
|
--footer-font-color: #ffffff;
|
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #ffffff;
|
|
|
|
--body-font-color: #343a40;
|
|
|
|
|
2021-11-24 00:10:26 -08:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
|
|
|
|
|
|
|
--link-color: #518169;
|
|
|
|
--link-color-visited: #c54e8a;
|
|
|
|
|
|
|
|
--code-background: #f5f6f8;
|
|
|
|
--code-accent-color: #e3e7eb;
|
|
|
|
--code-accent-color-lite: #eff1f3;
|
|
|
|
|
2021-11-07 13:12:14 -08:00
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #adb4bc;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--accent-color: #e9ecef;
|
|
|
|
--accent-color-lite: #f8f9fa;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
|
|
|
--footer-background: #2f333e;
|
|
|
|
--footer-font-color: #ffffff;
|
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dark mode theming */
|
|
|
|
:root[color-mode="dark"] {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #343a40;
|
|
|
|
--body-font-color: #ced3d8;
|
|
|
|
|
2021-11-24 00:10:26 -08:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
|
|
|
|
|
|
|
--link-color: #7ac29e;
|
|
|
|
--link-color-visited: #c27a9e;
|
|
|
|
|
|
|
|
--code-background: #2f353a;
|
|
|
|
--code-accent-color: #262b2f;
|
|
|
|
--code-accent-color-lite: #2b3035;
|
|
|
|
|
2021-11-07 13:12:14 -08:00
|
|
|
--code-copy-font-color: #adb4bc;
|
|
|
|
--code-copy-border-color: #808c98;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--accent-color: #2b3035;
|
|
|
|
--accent-color-lite: #2f353a;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
|
|
|
--footer-background: #2f333e;
|
|
|
|
--footer-font-color: #ffffff;
|
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #343a40;
|
|
|
|
--body-font-color: #ced3d8;
|
|
|
|
|
2021-11-24 00:10:26 -08:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
|
|
|
|
|
|
|
--link-color: #7ac29e;
|
|
|
|
--link-color-visited: #c27a9e;
|
|
|
|
|
|
|
|
--code-background: #2f353a;
|
|
|
|
--code-accent-color: #262b2f;
|
|
|
|
--code-accent-color-lite: #2b3035;
|
|
|
|
|
2021-11-07 13:12:14 -08:00
|
|
|
--code-copy-font-color: #adb4bc;
|
|
|
|
--code-copy-border-color: #808c98;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 14:44:35 -07:00
|
|
|
--accent-color: #2b3035;
|
|
|
|
--accent-color-lite: #2f353a;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
|
|
|
--footer-background: #2f333e;
|
|
|
|
--footer-font-color: #ffffff;
|
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
|
|
|
}
|
|
|
|
}
|