Add active state to links

This commit is contained in:
Edgar P. Burkhart 2023-03-06 12:46:31 +01:00
parent 046e4949a4
commit b0b3921b1c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -12,6 +12,7 @@
--bg-00: #000000; --bg-00: #000000;
--bg-01: #efefef; --bg-01: #efefef;
--bg-02: #dedede; --bg-02: #dedede;
--bg-03: #bebebe;
--link: #0000ccde; --link: #0000ccde;
@ -133,6 +134,9 @@ li {padding-left: calc(var(--gap) / 2)}
background: var(--bg-02); background: var(--bg-02);
text-decoration: none; text-decoration: none;
} }
.link-block > a:active{
background: var(--bg-03);
}
.link-block > a:hover > span.desc { .link-block > a:hover > span.desc {
text-decoration: underline; text-decoration: underline;
} }