b2af866cf0
Add persistent German/English switching, translated UI messages and English 12-hour times. Align desktop event actions while preserving mobile layouts and record bilingual project guidance. Include pending diary deletion exclusions. Validate both languages with nine tests.
27 lines
810 B
CSS
27 lines
810 B
CSS
/* Persistent language choice, also available before login. */
|
|
.language-switch {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 4px;
|
|
max-width: 1100px;
|
|
margin: 8px auto 0;
|
|
padding: 0 20px;
|
|
}
|
|
.language-switch a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 44px;
|
|
min-height: 44px;
|
|
border: 1px solid var(--border, #30363d);
|
|
border-radius: 6px;
|
|
color: var(--text, #222);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
.language-switch a.active { background: #922525; color: #fff; border-color: #c74747; }
|
|
.language-switch a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
|
|
.header-actions .language-switch { margin: 0; padding: 0; }
|
|
|
|
.detail-topbar .language-switch { margin: 0 0 0 auto; padding: 0; }
|