From ad0c99c74b737c78cd783398799536e8b19f5c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Wed, 10 May 2023 22:42:42 +0200 Subject: [PATCH] Apply transition to all anchor tags --- src/styles/global.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index d210942..5384d85 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -35,6 +35,7 @@ h3 { a, a:visited { color: #fff; + transition: 0.3s; } a:hover, @@ -168,7 +169,7 @@ h1.cmr2-text { } .post-list a:focus { - outline: 2px solid #bbb; + outline: 2px solid rgba(255, 255, 255, 0.4); outline-offset: 3px; } @@ -177,15 +178,15 @@ h1.cmr2-text { } .post-list a:focus-visible { - color: #bbb; - outline: 2px solid #bbb; + color: rgba(255, 255, 255, 0.4); + outline: 2px solid rgba(255, 255, 255, 0.4); outline-offset: 3px; background: transparent; } .post-list a:hover { outline: none; - color: #ccc; + color: rgba(255, 255, 255, 0.4); } .post-list a::before,