diff options
author | stuebinm | 2022-03-20 22:16:41 +0100 |
---|---|---|
committer | stuebinm | 2022-03-20 22:16:41 +0100 |
commit | da6a730c1674e813720d54f5a29972ae5f477704 (patch) | |
tree | 339d9dabd8095d5bb34241317d17b2938ce0cb0c /static | |
parent | 586c7ef5712724e6b9dbdf9a89bad2f694aa7545 (diff) |
divoc: dark mode for svg exit graph
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 52 |
1 files changed, 49 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css index 6e5ec50..7a84ea6 100644 --- a/static/style.css +++ b/static/style.css @@ -31,7 +31,50 @@ a { #exitGraph { width: 100%; - height: 15em; + height: 20em; + overflow: hidden; + background-color: white; + border-radius: 0.5em; + margin-bottom: 0.5em; +} +svg { + overflow: visible !important; + fill: black; +} + +svg > g > polygon { + stroke: none !important; +} + +ellipse, polygon, path { + stroke: black; +} +ellipse { + fill: white; +} +@media (prefers-color-scheme: dark) { + svg { + overflow: visible !important; + fill: white; + } + + svg > g > polygon { + stroke: none !important; + fill: black + } + + ellipse { + fill: black; + } + ellipse, polygon, path { + stroke: #a74db7; + } + polygon { + fill: #a74db7; + } + #exitGraph { + background-color: black; + } } h1,h2,h3 { @@ -67,7 +110,7 @@ h4{ } .text-muted { - color: #222 !important; + color: #9945c5 !important; } @media (prefers-color-scheme: dark) { @@ -80,6 +123,9 @@ h4{ } .text-muted { - color: #a74db7 !important; + color: #fdbe4b !important; + } + h4 { + color: #ffebd8; } } |