mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
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:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user