2021-05-13 12:05:38 +00:00
|
|
|
/* Global customization */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--code-max-height: 60rem;
|
2024-10-05 22:24:24 +00:00
|
|
|
|
|
|
|
--header-font-family: "DancingScript";
|
|
|
|
--body-font-family: "DancingScript";
|
|
|
|
--code-font-family: "DancingScript";
|
2021-05-13 12:05:38 +00:00
|
|
|
}
|
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
/* Light mode theming */
|
|
|
|
:root,
|
2022-05-31 12:14:01 +00:00
|
|
|
:root[color-theme="light"] {
|
2021-04-27 21:44:35 +00:00
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--body-background: #ffffff;
|
|
|
|
--body-font-color: #343a40;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2021-11-24 08:10:26 +00:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--link-color: #518169;
|
|
|
|
--link-color-visited: #c54e8a;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2023-04-19 18:48:06 +00:00
|
|
|
--code-background: #f5f6f8;
|
2021-04-27 21:44:35 +00:00
|
|
|
--code-accent-color: #e3e7eb;
|
|
|
|
--code-accent-color-lite: #eff1f3;
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-font-color: #5f5f5f;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2023-04-19 18:48:06 +00:00
|
|
|
--code-copy-background: #f5f6f8;
|
2021-11-07 21:12:14 +00:00
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #adb4bc;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--accent-color: #e9ecef;
|
|
|
|
--accent-color-lite: #f8f9fa;
|
2020-02-04 23:41:13 +00:00
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
2023-04-21 20:28:08 +00:00
|
|
|
--footer-background: #112b3c;
|
2023-04-19 18:48:06 +00:00
|
|
|
--footer-font-color: #ffffff;
|
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
2021-04-27 21:44:35 +00:00
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #ffffff;
|
|
|
|
--body-font-color: #343a40;
|
|
|
|
|
2021-11-24 08:10:26 +00:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--button-background: #62cb97;
|
|
|
|
--button-border-color: #4ec58a;
|
|
|
|
|
|
|
|
--link-color: #518169;
|
|
|
|
--link-color-visited: #c54e8a;
|
|
|
|
|
2023-04-19 18:48:06 +00:00
|
|
|
--code-background: #f5f6f8;
|
2021-04-27 21:44:35 +00:00
|
|
|
--code-accent-color: #e3e7eb;
|
|
|
|
--code-accent-color-lite: #eff1f3;
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-font-color: #5f5f5f;
|
2021-04-27 21:44:35 +00:00
|
|
|
|
2023-04-19 18:48:06 +00:00
|
|
|
--code-copy-background: #f5f6f8;
|
2021-11-07 21:12:14 +00:00
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #adb4bc;
|
|
|
|
--code-copy-success-color: #00c853;
|
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--accent-color: #e9ecef;
|
|
|
|
--accent-color-lite: #f8f9fa;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
2023-04-21 20:28:08 +00:00
|
|
|
--footer-background: #112b3c;
|
2021-04-27 21:44:35 +00:00
|
|
|
--footer-font-color: #ffffff;
|
2023-04-19 18:48:06 +00:00
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
2021-04-27 21:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dark mode theming */
|
2022-05-31 12:14:01 +00:00
|
|
|
:root[color-theme="dark"] {
|
2021-04-27 21:44:35 +00:00
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #343a40;
|
|
|
|
--body-font-color: #ced3d8;
|
|
|
|
|
2021-11-24 08:10:26 +00:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 21:44:35 +00: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;
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-font-color: #b9b9b9;
|
2021-04-27 21:44:35 +00:00
|
|
|
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-copy-background: #343a40;
|
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #6b7784;
|
|
|
|
--code-copy-success-color: #37905c;
|
2021-11-07 21:12:14 +00:00
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--accent-color: #2b3035;
|
|
|
|
--accent-color-lite: #2f353a;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
2023-04-21 20:28:08 +00:00
|
|
|
--footer-background: #112b3c;
|
2021-04-27 21:44:35 +00:00
|
|
|
--footer-font-color: #ffffff;
|
2023-04-19 18:48:06 +00:00
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
2021-04-27 21:44:35 +00:00
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--header-background: #4ec58a;
|
|
|
|
--header-font-color: #ffffff;
|
|
|
|
|
|
|
|
--body-background: #343a40;
|
|
|
|
--body-font-color: #ced3d8;
|
|
|
|
|
2021-11-24 08:10:26 +00:00
|
|
|
--mark-color: #ffab00;
|
|
|
|
|
2021-04-27 21:44:35 +00: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;
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-font-color: #b9b9b9;
|
2021-04-27 21:44:35 +00:00
|
|
|
|
2022-06-10 19:44:08 +00:00
|
|
|
--code-copy-background: #343a40;
|
|
|
|
--code-copy-font-color: #6b7784;
|
|
|
|
--code-copy-border-color: #6b7784;
|
|
|
|
--code-copy-success-color: #37905c;
|
2021-11-07 21:12:14 +00:00
|
|
|
|
2021-04-27 21:44:35 +00:00
|
|
|
--accent-color: #2b3035;
|
|
|
|
--accent-color-lite: #2f353a;
|
|
|
|
|
|
|
|
--control-icons: #b2bac1;
|
|
|
|
|
2023-04-21 20:28:08 +00:00
|
|
|
--footer-background: #112b3c;
|
2021-04-27 21:44:35 +00:00
|
|
|
--footer-font-color: #ffffff;
|
2023-04-19 18:48:06 +00:00
|
|
|
--footer-link-color: #ffcc5c;
|
|
|
|
--footer-link-color-visited: #ffcc5c;
|
2021-04-27 21:44:35 +00:00
|
|
|
}
|
|
|
|
}
|
2024-10-05 22:24:24 +00:00
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "DancingScript";
|
|
|
|
src:
|
|
|
|
url("fonts/DancingScript.woff2") format("woff2"),
|
|
|
|
url("fonts/DancingScript.woff") format("woff");
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
}
|