Add active state to links
This commit is contained in:
parent
046e4949a4
commit
b0b3921b1c
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
--bg-00: #000000;
|
||||
--bg-01: #efefef;
|
||||
--bg-02: #dedede;
|
||||
--bg-03: #bebebe;
|
||||
|
||||
--link: #0000ccde;
|
||||
|
||||
|
@ -133,6 +134,9 @@ li {padding-left: calc(var(--gap) / 2)}
|
|||
background: var(--bg-02);
|
||||
text-decoration: none;
|
||||
}
|
||||
.link-block > a:active{
|
||||
background: var(--bg-03);
|
||||
}
|
||||
.link-block > a:hover > span.desc {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue