Improve link a11y for navigations

This commit is contained in:
Yannik Rödel 2026-01-13 23:16:46 +01:00 committed by Yannik Rödel
parent fea45feb35
commit 66b26eb40f
2 changed files with 12 additions and 4 deletions

View file

@ -93,13 +93,17 @@
}
}
a {
:any-link {
display: block;
padding: var(--gap-s);
padding: var(--gap-xs);
font-weight: var(--weight-emph);
text-align: center;
text-decoration: none;
text-decoration: underline dotted currentColor;
text-transform: lowercase;
&:hover, &:focus-visible {
text-decoration: underline;
}
}
}

View file

@ -29,8 +29,12 @@
> a {
display: block;
margin: 0 var(--gap-m);
text-decoration: none;
text-decoration: underline dotted currentColor;
color: inherit;
&:hover, &:focus-visible {
text-decoration: underline;
}
}
> .tab {