diff options
author | Jean-Nicolas Veigel <art.jnveigel@gmail.com> | 2024-03-14 18:49:23 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-26 10:31:25 +0000 |
commit | fd66c48d934d7a071927b35f60a43745a13a0631 (patch) | |
tree | e9cf612de424f82741212bf83ce67f9df1766cd2 | |
parent | 498b221157cbd3740143766c25e17d7d03fa78d0 (diff) | |
download | tour-fd66c48d934d7a071927b35f60a43745a13a0631.tar.gz tour-fd66c48d934d7a071927b35f60a43745a13a0631.zip |
style: tweak dim-bg class
-rw-r--r-- | static/style.css | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css index f76aac3..265d4ab 100644 --- a/static/style.css +++ b/static/style.css @@ -416,12 +416,14 @@ html.theme-dark .codeflask .token.attr-value { content: ""; position: absolute; inset: 0; - background: var(--color-background-dim); + background: var(--color-background); + filter: brightness(0.4) saturate(1.3); z-index: 0; + opacity: 0.3; } -.theme-dark .dim-bg::before { - opacity: 0.3 +.theme-light .dim-bg::before { + filter: brightness(0.8) saturate(1.3); } /* everything wrapper, 2x2 responsive grid layout */ |