aboutsummaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorshu <nvcsadjkojf@outlook.com>2026-09-05 21:00:19 +0800
committershu <nvcsadjkojf@outlook.com>2026-09-05 21:00:19 +0800
commitefb449041e030c8d9ec06a4f4cfbf5554c868a93 (patch)
treefb9bdd23a9c4a71d54daa2b5a854a6e5082063f3 /src/css
init commit
Diffstat (limited to 'src/css')
-rw-r--r--src/css/custom.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/css/custom.css b/src/css/custom.css
new file mode 100644
index 0000000..2bc6a4c
--- /dev/null
+++ b/src/css/custom.css
@@ -0,0 +1,30 @@
+/**
+ * Any CSS included here will be global. The classic template
+ * bundles Infima by default. Infima is a CSS framework designed to
+ * work well for content-centric websites.
+ */
+
+/* You can override the default Infima variables here. */
+:root {
+ --ifm-color-primary: #2e8555;
+ --ifm-color-primary-dark: #29784c;
+ --ifm-color-primary-darker: #277148;
+ --ifm-color-primary-darkest: #205d3b;
+ --ifm-color-primary-light: #33925d;
+ --ifm-color-primary-lighter: #359962;
+ --ifm-color-primary-lightest: #3cad6e;
+ --ifm-code-font-size: 95%;
+ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
+}
+
+/* For readability concerns, you should choose a lighter palette in dark mode. */
+[data-theme='dark'] {
+ --ifm-color-primary: #25c2a0;
+ --ifm-color-primary-dark: #21af90;
+ --ifm-color-primary-darker: #1fa588;
+ --ifm-color-primary-darkest: #1a8870;
+ --ifm-color-primary-light: #29d5b0;
+ --ifm-color-primary-lighter: #32d8b4;
+ --ifm-color-primary-lightest: #4fddbf;
+ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
+}