Change text color of all focused links

This commit is contained in:
Maciej Pędzich 2023-04-27 09:01:57 +02:00
parent e97a8217bd
commit 0841248d93

View File

@ -39,10 +39,11 @@ a:visited {
a:hover, a:hover,
a:active { a:active {
color: #bbb; color: rgba(255, 255, 255, 0.4);
} }
a:focus { a:focus {
color: #ccc;
outline: 2px solid #ccc; outline: 2px solid #ccc;
outline-offset: 3px; outline-offset: 3px;
} }
@ -51,10 +52,6 @@ p {
text-align: left; text-align: left;
} }
a:visited {
color: unset;
}
ul { ul {
list-style: none; list-style: none;
} }
@ -170,7 +167,7 @@ h1.cmr2-text {
} }
.post-list a:focus { .post-list a:focus {
outline: 2px solid #bbb; outline: 2px solid #ccc;
outline-offset: 3px; outline-offset: 3px;
} }
@ -178,15 +175,16 @@ h1.cmr2-text {
background: transparent; background: transparent;
} }
a:focus-visible { .post-list a:focus-visible {
outline: 2px solid #bbb; color: #ccc;
outline: 2px solid #ccc;
outline-offset: 3px; outline-offset: 3px;
background: transparent; background: transparent;
} }
.post-list a:hover { .post-list a:hover {
outline: none; outline: none;
color: #bbb; color: #ccc;
} }
.post-list a::before, .post-list a::before,