Make use of aria-current as selector and remove use of active class.
This commit is contained in:
parent
9bdec6ca76
commit
93728f1e9e
1 changed files with 17 additions and 15 deletions
|
|
@ -32,6 +32,12 @@ a:active {
|
|||
color: var(--color-link-active);
|
||||
}
|
||||
|
||||
// Remove underline from links to current page to
|
||||
// indicate that there is no need to click on it.
|
||||
[aria-current] {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.link-nav,
|
||||
%link-nav {
|
||||
a {
|
||||
|
|
|
|||
Loading…
Reference in a new issue