33 lines
1.2 KiB
CSS
33 lines
1.2 KiB
CSS
/* Persistent language choice, also available before login. */
|
|
.language-switch {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 auto;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.language-switch a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38px;
|
|
height: 36px;
|
|
border: 1px solid var(--border, #30363d);
|
|
border-radius: 8px;
|
|
color: var(--text, #222);
|
|
font-family: system-ui, sans-serif;
|
|
font-size: 1.2rem;
|
|
line-height: 1;
|
|
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; }
|
|
.language-switch a:hover { background: #7f1d1d; }
|
|
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
|
|
.header-controls .user-menu { margin-left: 0; }
|
|
.header-inner > .language-switch { margin-left: auto; }
|
|
.header-actions > .header-controls { flex: 0 0 auto; }
|
|
.detail-topbar > .header-controls { flex: 0 0 auto; }
|
|
.registration-header { display: flex; justify-content: flex-end; margin: -36px 0 12px; }
|