summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Webster <hwebs@hwebs.info>2026-07-20 14:53:06 -0500
committerHenry Webster <hwebs@hwebs.info>2026-07-20 14:53:06 -0500
commit124741470fede0558139a4e9a98ad6a34319ae4a (patch)
tree99fdd00f077632418ea710ca0741dc549ab44fa1
parentd3ad45eed60a90b6ba828f500c314c60591f9151 (diff)
experiment with <system-color>
-rw-r--r--style.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/style.css b/style.css
index 5c8b415..3336e70 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,6 @@
+:root {
+ color-scheme: light dark;
+}
html {
font-size: 100%;
}
@@ -13,6 +16,8 @@ main {
}
header {
padding: 0.5rem 1rem;
+ color: ButtonText;
+ background-color: ButtonFace;
}
header nav {
display: inline-block;
@@ -22,16 +27,19 @@ header span {
}
nav ul {
list-style-type: none;
- border-left: 1px solid;
+ border-left: 1px solid ButtonText;
margin: 0;
padding: 0;
}
nav ul li {
display: inline-block;
- border-right: 1px solid;
+ border-right: 1px solid ButtonText;
padding: 2px 10px;
margin: 0;
}
+nav ul li a:visited {
+ color: ButtonText;
+}
li {
margin-left: 1rem;
}