diff options
author | crupest <crupest@outlook.com> | 2023-08-15 01:37:16 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-15 01:37:16 +0800 |
commit | 3a54aa6171ad14854e877e1b4f320f808ed61811 (patch) | |
tree | cc474f40f4ba4962273a473fa602c5ec020b4262 /FrontEnd/src/pages/timeline/Timeline.css | |
parent | 93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0 (diff) | |
download | timeline-3a54aa6171ad14854e877e1b4f320f808ed61811.tar.gz timeline-3a54aa6171ad14854e877e1b4f320f808ed61811.tar.bz2 timeline-3a54aa6171ad14854e877e1b4f320f808ed61811.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/Timeline.css')
-rw-r--r-- | FrontEnd/src/pages/timeline/Timeline.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/FrontEnd/src/pages/timeline/Timeline.css b/FrontEnd/src/pages/timeline/Timeline.css index 419ab9b1..ba5f7b04 100644 --- a/FrontEnd/src/pages/timeline/Timeline.css +++ b/FrontEnd/src/pages/timeline/Timeline.css @@ -2,12 +2,18 @@ --timeline-shadow-color: #00000080; --timeline-post-line-color: #eadd2c; --timeline-post-line-shadow: 2px 1px 10px -1px var(--timeline-shadow-color); - --timeline-post-card-background-color: rgb(255, 255, 255); + --timeline-post-card-background-color: hsl(0, 0%, 100%); --timeline-post-card-shadow: 4px 2px 10px -2px var(--timeline-shadow-color); --timeline-post-card-border-radius: 10px; --timeline-post-text-color: #000000; } +@media (prefers-color-scheme: dark) { + .timeline { + --timeline-post-card-background-color: hsl(0, 0%, 12%); + } +} + .timeline { z-index: 0; position: relative; |