diff options
author | Alan Pearce | 2024-05-14 07:47:50 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-14 07:47:50 +0200 |
commit | 3fd832b8f86641ea6046a776dda8f54a17834d7b (patch) | |
tree | 603f057c318c9c69cbf01560a00051c401d9d386 /frontend/static/style.css | |
parent | 67e1a28ad3972a31bb995eaeec83434221ed5cf6 (diff) | |
download | searchix-3fd832b8f86641ea6046a776dda8f54a17834d7b.tar.lz searchix-3fd832b8f86641ea6046a776dda8f54a17834d7b.tar.zst searchix-3fd832b8f86641ea6046a776dda8f54a17834d7b.zip |
fix(css): barely-visible text in dark mode
Diffstat (limited to 'frontend/static/style.css')
-rw-r--r-- | frontend/static/style.css | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/frontend/static/style.css b/frontend/static/style.css index 4274cc6..8f93079 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -1,11 +1,16 @@ :root { --standard-border-radius: 0; - --text: black; - --text-light: #212121; --preformatted: var(--code); --min-width: 60rem; } +@media (prefers-color-scheme: light) { + :root { + --text: black; + --text-light: #212121; + } +} + body { grid-template-columns: 1fr min(var(--min-width), 90%) 1fr; } |