Apply transition to all anchor tags

This commit is contained in:
Maciej Pędzich 2023-05-10 22:42:42 +02:00
parent 666e50d317
commit ad0c99c74b

View File

@ -35,6 +35,7 @@ h3 {
a, a,
a:visited { a:visited {
color: #fff; color: #fff;
transition: 0.3s;
} }
a:hover, a:hover,
@ -168,7 +169,7 @@ h1.cmr2-text {
} }
.post-list a:focus { .post-list a:focus {
outline: 2px solid #bbb; outline: 2px solid rgba(255, 255, 255, 0.4);
outline-offset: 3px; outline-offset: 3px;
} }
@ -177,15 +178,15 @@ h1.cmr2-text {
} }
.post-list a:focus-visible { .post-list a:focus-visible {
color: #bbb; color: rgba(255, 255, 255, 0.4);
outline: 2px solid #bbb; outline: 2px solid rgba(255, 255, 255, 0.4);
outline-offset: 3px; outline-offset: 3px;
background: transparent; background: transparent;
} }
.post-list a:hover { .post-list a:hover {
outline: none; outline: none;
color: #ccc; color: rgba(255, 255, 255, 0.4);
} }
.post-list a::before, .post-list a::before,