diff options
author | 2024-01-12 15:08:29 +0800 | |
---|---|---|
committer | 2024-01-12 15:08:29 +0800 | |
commit | edab6c87cfb7c537f88c4d3f74503bbc69487f87 (patch) | |
tree | 32bebff7cc8703d4f22e69a6f9a6edf8c7021fc3 /pydis_site/static/css/home | |
parent | Dark: Fix sizing of sponsors' logos (diff) |
Dark: Fix timeline color for borders
Diffstat (limited to 'pydis_site/static/css/home')
-rw-r--r-- | pydis_site/static/css/home/timeline.css | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css index 2fd2357e..369d5c8f 100644 --- a/pydis_site/static/css/home/timeline.css +++ b/pydis_site/static/css/home/timeline.css @@ -3386,6 +3386,13 @@ mark { --font-secondary: 'Open Sans', sans-serif } +[data-theme="dark"] { + --cd-color-2: hsl(0, 0%, 34%); + --cd-color-2-h: 0; + --cd-color-2-s: 0%; + --cd-color-2-l: 34%; +} + @supports (--css: variables) { @media (min-width: 64rem) { :root { @@ -3564,7 +3571,7 @@ mark { height: 0; border: 7px solid transparent; border-right-color: hsl(0, 0%, 100%); - border-right-color: var(--color-white) + border-right-color: var(--cd-color-2) } .cd-timeline__content h2 { @@ -3592,7 +3599,7 @@ mark { height: 0; border: 7px solid transparent; border-left-color: hsl(0, 0%, 100%); - border-left-color: var(--color-white) + border-left-color: var(--cd-color-2) } } |