Change focus color of blog post link

This commit is contained in:
Maciej Pędzich 2023-05-02 09:22:05 +02:00
parent f562450bd8
commit c0180cebb2

View File

@ -156,7 +156,8 @@ h1.cmr2-text {
color: #fff; color: #fff;
} }
/* The following styling rules have been adopted from: https://github.com/codrops/LineHoverStyles/ */ /* The following styling rules have been adopted from:
https://github.com/codrops/LineHoverStyles/ */
.post-list a { .post-list a {
position: relative; position: relative;
@ -167,7 +168,7 @@ h1.cmr2-text {
} }
.post-list a:focus { .post-list a:focus {
outline: 2px solid #ccc; outline: 2px solid #bbb;
outline-offset: 3px; outline-offset: 3px;
} }
@ -176,8 +177,8 @@ h1.cmr2-text {
} }
.post-list a:focus-visible { .post-list a:focus-visible {
color: #ccc; color: #bbb;
outline: 2px solid #ccc; outline: 2px solid #bbb;
outline-offset: 3px; outline-offset: 3px;
background: transparent; background: transparent;
} }