summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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