From 94c2aff7a1bb711235a0412fca7ea1b223652485 Mon Sep 17 00:00:00 2001 From: Benedikt Fluhr Date: Sat, 6 Apr 2024 23:01:42 +0200 Subject: [PATCH] CSS: Safari Dark Mode Fix --- src/global.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/global.css b/src/global.css index 52600ca..d1e22ca 100644 --- a/src/global.css +++ b/src/global.css @@ -66,8 +66,16 @@ nav section h1 a { border-style: var(--nav-border-style-active); } -/* @media (prefers-color-scheme: dark) */ -/* a { */ -/* color: rgb(238, 231, 178); */ -/* } */ - +@media (prefers-color-scheme: dark) { + a { + color: #8c8cff; + } + + a:visited { + color: #ffadff; + } + + a:active { + color: #ff6666; + } +} -- 2.45.2