summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-16 16:44:52 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-16 16:44:52 +0200
commit13f03a3caa53f89978e745143c948227b3d0655c (patch)
treef8d0bcbcdb4d203d5cbc50bfaa74b81474215f67
parentfdad4b72c26e8384dea85ce2a665bdef8ecb90f1 (diff)
Remove some stuff
-rw-r--r--src/style.css28
1 files changed, 6 insertions, 22 deletions
diff --git a/src/style.css b/src/style.css
index 3ee4672..1f9c785 100644
--- a/src/style.css
+++ b/src/style.css
@@ -4,32 +4,12 @@
:root {
color-scheme: light dark;
+ --fg: black;
+ --bg: white;
--ref-offset: 2ch;
--faint: color-mix(in hwb, var(--fg) 75%, var(--bg));
}
-@media (prefers-color-scheme: light) {
- :root {
- --fg: black;
- --bg: white;
- }
-
- a, a:visited {
- color: blue;
- }
-}
-
-@media (prefers-color-scheme: dark) {
- :root {
- --fg: white;
- --bg: black;
- }
-
- a, a:visited {
- color: #AAF;
- }
-}
-
@keyframes move-out {
from { transform: translateY(0%); }
to { transform: translateY(-100%); }
@@ -209,3 +189,7 @@ aside {
content: attr(data-ref);
}
}
+
+a, a:visited {
+ color: blue;
+} \ No newline at end of file