style: consolidate aria-current nav styles — remove border-radius from base header links, keep global :focus-visible ring, move border-bottom/padding to shared header.css

This commit is contained in:
Pontoporeia
2026-06-08 11:58:22 +02:00
parent cb2b18e470
commit 3588f22d7b
5 changed files with 9 additions and 9 deletions

View File

@@ -38,11 +38,6 @@
margin-right: 0.4em;
}
/* Active nav link — non-colour indicator required by WCAG 1.4.1 */
.admin-body header nav ul a[aria-current="page"] {
border-bottom: 2px solid currentColor;
padding-bottom: 1px;
}
.admin-body main {
flex: 1;

View File

@@ -43,7 +43,6 @@ header nav ul a {
color: var(--accent-foreground);
text-decoration: none;
padding: var(--space-3xs) var(--space-xs);
border-radius: var(--radius);
text-shadow:
0 0 16px var(--header-shadow-strong),
0 0 32px var(--header-shadow-soft);
@@ -55,12 +54,13 @@ header nav ul a:hover {
}
header nav ul a[aria-current="page"] {
opacity: 1;
border-bottom: 1px solid var(--header-nav-active-border);
color: var(--accent-primary);
border-radius: 0;
border-bottom: 2px solid currentColor;
padding-bottom: 1px;
color: var(--accent-foreground);
}
/* ── Logo ───────────────────────────────────────────────────────────── */
.nav-logo {