diff options
| author | Henry Webster <hwebs@hwebs.info> | 2026-07-20 14:53:06 -0500 |
|---|---|---|
| committer | Henry Webster <hwebs@hwebs.info> | 2026-07-20 14:53:06 -0500 |
| commit | 124741470fede0558139a4e9a98ad6a34319ae4a (patch) | |
| tree | 99fdd00f077632418ea710ca0741dc549ab44fa1 | |
| parent | d3ad45eed60a90b6ba828f500c314c60591f9151 (diff) | |
experiment with <system-color>
| -rw-r--r-- | style.css | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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; } |
