diff options
| author | Sakamoto <me@sakamoto.network> | 2025-12-05 17:39:14 -0600 |
|---|---|---|
| committer | Sakamoto <me@sakamoto.network> | 2025-12-05 17:39:14 -0600 |
| commit | e7fd4cd672f4c83bd35b60045db6ec630daa74ec (patch) | |
| tree | 92d63fb53bb007e4dfed9b6f97806dd1c4779cce | |
| parent | 35f13c2d308e7a077787af5cb5d4f03ca3d507ce (diff) | |
| download | sakamoto.network-e7fd4cd672f4c83bd35b60045db6ec630daa74ec.tar.xz sakamoto.network-e7fd4cd672f4c83bd35b60045db6ec630daa74ec.zip | |
fix <a> for color scheme
| -rw-r--r-- | sass/style.scss | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sass/style.scss b/sass/style.scss index d641c4e..9cd9797 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -44,5 +44,16 @@ li { a { text-decoration: underline; - color: white; +} + +@media (prefers-color-scheme: dark) { + a { + color: white; + } +} + +@media (prefers-color-scheme: light) { + a { + color: black; + } } |
