From 0841248d9354106cb565f3c32a62acd907df9912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Thu, 27 Apr 2023 09:01:57 +0200 Subject: [PATCH] Change text color of all focused links --- src/styles/global.css | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index b3fdaad..22673d7 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -39,10 +39,11 @@ a:visited { a:hover, a:active { - color: #bbb; + color: rgba(255, 255, 255, 0.4); } a:focus { + color: #ccc; outline: 2px solid #ccc; outline-offset: 3px; } @@ -51,10 +52,6 @@ p { text-align: left; } -a:visited { - color: unset; -} - ul { list-style: none; } @@ -170,7 +167,7 @@ h1.cmr2-text { } .post-list a:focus { - outline: 2px solid #bbb; + outline: 2px solid #ccc; outline-offset: 3px; } @@ -178,15 +175,16 @@ h1.cmr2-text { background: transparent; } -a:focus-visible { - outline: 2px solid #bbb; +.post-list a:focus-visible { + color: #ccc; + outline: 2px solid #ccc; outline-offset: 3px; background: transparent; } .post-list a:hover { outline: none; - color: #bbb; + color: #ccc; } .post-list a::before,