Keep language menu out of header layout

This commit is contained in:
2026-09-15 12:40:56 +02:00
parent 52a48cacb9
commit fe2b196510
+2
View File
@@ -46,6 +46,8 @@
background: var(--surface, #101010); background: var(--surface, #101010);
box-shadow: 0 14px 35px rgba(0,0,0,.65); box-shadow: 0 14px 35px rgba(0,0,0,.65);
} }
.language-switch:not([open]) > .language-panel { display: none; }
.language-switch[open] > .language-panel { display: block; }
.language-heading { margin: 0; padding: 8px 10px; font-size: .8rem; color: var(--muted, #a8a29e); } .language-heading { margin: 0; padding: 8px 10px; font-size: .8rem; color: var(--muted, #a8a29e); }
.language-panel a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 6px; color: inherit; font: 400 .9rem/1.3 system-ui, sans-serif; text-decoration: none; } .language-panel a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 6px; color: inherit; font: 400 .9rem/1.3 system-ui, sans-serif; text-decoration: none; }
.language-panel a[aria-current] { background: var(--surface-hover, #1a1111); font-weight: 700; } .language-panel a[aria-current] { background: var(--surface-hover, #1a1111); font-weight: 700; }