MediaWiki:Vector-2022.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* ========================= | ||
HEADER: Layout & Optik | |||
========================= */ | |||
/* Header-Container: Hintergrund, Rahmen, sticky */ | |||
/* Header- | |||
.vector-header-container { | .vector-header-container { | ||
position: sticky; | position: sticky; | ||
top: 0; | top: 0; | ||
z-index: 1000; | z-index: 1000; | ||
background-color: #AE9E86; | |||
border-bottom: 1px solid #333; | |||
background-color: #AE9E86 ; | |||
} | } | ||
/* | /* Innerer Header als Spalte (Zeile 1: Logo, Zeile 2: Suche/Userlinks) */ | ||
.vector-header { | .vector-header { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | align-items: center; | ||
padding: 6px 0; /* Gesamthöhe etwas kompakter */ | |||
} | } | ||
/* | /* Zeile 1: Logo/Titel mittig */ | ||
.vector-header-start { | .vector-header-start { | ||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
margin-bottom: | margin-bottom: 4px; /* kleiner Abstand zu Zeile 2 */ | ||
padding: 0; /* kein Extra-Padding mehr */ | |||
} | } | ||
| Zeile 59: | Zeile 37: | ||
} | } | ||
/* | /* Zeile 2: Suche + Userlinks mittig */ | ||
.vector-header-end { | .vector-header-end { | ||
width: 100%; | width: 100%; | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; /* gesamte Zeile zentriert */ | ||
align-items: center; | align-items: center; | ||
gap: 16px; | gap: 16px; /* Abstand zwischen Suche und Userlinks */ | ||
padding: 0; /* kein Extra-Padding mehr */ | |||
} | } | ||
| Zeile 73: | Zeile 52: | ||
} | } | ||
/* | /* Sticky-Header von Vector 2022 deaktivieren */ | ||
.vector-header-container { | .client-js.vector-sticky-header-enabled .vector-sticky-header, | ||
.client-js.vector-sticky-header-enabled .vector-sticky-header-container { | |||
display: none !important; | |||
} | } | ||
/* ========================= | |||
/* | HEADER: Layout & Optik ENDE | ||
========================= */ | |||
/* Gesamte Seite dunkel setzen */ | /* Gesamte Seite dunkel setzen */ | ||
Version vom 12. Februar 2026, 11:41 Uhr
/* =========================
HEADER: Layout & Optik
========================= */
/* Header-Container: Hintergrund, Rahmen, sticky */
.vector-header-container {
position: sticky;
top: 0;
z-index: 1000;
background-color: #AE9E86;
border-bottom: 1px solid #333;
}
/* Innerer Header als Spalte (Zeile 1: Logo, Zeile 2: Suche/Userlinks) */
.vector-header {
display: flex;
flex-direction: column;
align-items: center;
padding: 6px 0; /* Gesamthöhe etwas kompakter */
}
/* Zeile 1: Logo/Titel mittig */
.vector-header-start {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 4px; /* kleiner Abstand zu Zeile 2 */
padding: 0; /* kein Extra-Padding mehr */
}
/* Logo + Wortmark optisch als Block */
.vector-header-start .mw-logo {
display: flex;
align-items: center;
gap: 8px;
}
/* Zeile 2: Suche + Userlinks mittig */
.vector-header-end {
width: 100%;
display: flex;
justify-content: center; /* gesamte Zeile zentriert */
align-items: center;
gap: 16px; /* Abstand zwischen Suche und Userlinks */
padding: 0; /* kein Extra-Padding mehr */
}
/* Suche nicht zu breit werden lassen */
.vector-header-end .vector-search-box {
max-width: 360px;
}
/* Sticky-Header von Vector 2022 deaktivieren */
.client-js.vector-sticky-header-enabled .vector-sticky-header,
.client-js.vector-sticky-header-enabled .vector-sticky-header-container {
display: none !important;
}
/* =========================
HEADER: Layout & Optik ENDE
========================= */
/* Gesamte Seite dunkel setzen */
body {
background-color: #101218;
color: #f5f5f5;
}
/* Haupt-Inhaltsbereich an den dunklen Hintergrund anpassen */
.mw-page-container,
.vector-body,
.mw-content-container,
.mw-content-ltr {
background-color: transparent; /* oder #101218, falls nötig */
color: inherit;
}
/* Links etwas heller, damit sie lesbar bleiben */
.mw-body a {
color: #4ea3ff;
}