aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home/timeline.css
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-18 12:20:35 +0800
committerGravatar hedy <[email protected]>2024-01-18 12:20:35 +0800
commit6964fbe73a986d999439e861b00cd0225cccec6d (patch)
tree718c70dfc0d7095610c6c781bdde8f9564ecc28f /pydis_site/static/css/home/timeline.css
parentDark: Possibly fix FOUC during theme switch (diff)
Dark: Use original light theme colors everywhere
Adjusted box-shadow for dark mode to be more readable, unfortunately this gave it a little neomorphism effect...
Diffstat (limited to 'pydis_site/static/css/home/timeline.css')
-rw-r--r--pydis_site/static/css/home/timeline.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css
index 369d5c8f..d4e445f7 100644
--- a/pydis_site/static/css/home/timeline.css
+++ b/pydis_site/static/css/home/timeline.css
@@ -3426,6 +3426,10 @@ mark {
background-color: hsl(var(--cd-color-2-h), var(--cd-color-2-s), calc(var(--cd-color-2-l)*1.05));
}
+[data-theme="dark"] .cd-timeline {
+ background-color: #2C2F33;
+}
+
.cd-timeline h2 {
font-weight: 700
}