summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-23 07:16:24 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-23 07:16:24 +0200
commitb1e95e8532334f7404446c4880be58152eeedff4 (patch)
treebd02689a40cb171fd83705278252926ce4783456
parente34a73ee41738c3107aa4b7568b4cd62aa98d30b (diff)
Make asides more faint
-rw-r--r--src/style.css3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css
index 23feff9..c920dc8 100644
--- a/src/style.css
+++ b/src/style.css
@@ -5,13 +5,13 @@
:root {
color-scheme: light dark;
--ref-offset: 2ch;
+ --faint: color-mix(in hwb, var(--fg) 75%, var(--bg));
}
@media (prefers-color-scheme: light) {
:root {
--fg: black;
--bg: white;
- --faint: rgba(0, 0, 0, 0.75);
}
a, a:visited {
@@ -23,7 +23,6 @@
:root {
--fg: white;
--bg: black;
- --faint: rgba(255, 255, 255, 0.75);
}
a, a:visited {