MediaWiki:Vector-2022.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 53: | Zeile 53: | ||
} | } | ||
/* Suche in der Mitte */ | /* Suche in der Mitte fixieren */ | ||
.vector-header-end #p-search { | .vector-header-end #p-search { | ||
grid-column: 2; | grid-column: 2 !important; | ||
justify-self: center; | justify-self: center !important; | ||
/* alle alten Layout-Eigenschaften neutralisieren */ | |||
float: none !important; | |||
margin: 0 !important; | |||
display: block !important; | |||
} | } | ||
/* Userlinks-Block rechts */ | /* Userlinks-Block rechts fixieren */ | ||
.vector-header-end .vector-user-links { | .vector-header-end .vector-user-links { | ||
grid-column: 3; | grid-column: 3 !important; | ||
justify-self: end; | justify-self: end !important; | ||
float: none !important; | |||
margin: 0 !important; | |||
display: block !important; | |||
} | } | ||
/* | /* Direkte Kinder von Zeile 2 komplett resetten */ | ||
.vector-header-end > * { | .vector-header-end > * { | ||
margin | margin: 0 !important; | ||
float: none !important; | |||
} | } | ||
Version vom 12. Februar 2026, 12:00 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;
}
/* 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;
}
/* Innerer Header als Spalte (Zeile 1: Logo, Zeile 2: Suche+Userlinks) */
.vector-header {
display: flex;
flex-direction: column;
align-items: center;
padding: 6px 0;
}
/* Zeile 1: Logo zentriert (ohne Userlinks) */
.vector-header-start {
width: 100%;
display: flex;
justify-content: center; /* Logo mittig */
align-items: center;
margin-bottom: 4px;
padding: 0;
}
.vector-header-start .mw-logo {
display: flex;
align-items: center;
gap: 8px;
}
/* Zeile 2: Suche mittig, Userlinks rechts */
.vector-header-end {
width: 100%;
display: grid !important;
grid-template-columns: 1fr auto auto; /* links leer, Mitte Suche, rechts Userlinks */
align-items: center;
margin: 0;
padding: 0;
gap: 8px;
}
/* Suche in der Mitte fixieren */
.vector-header-end #p-search {
grid-column: 2 !important;
justify-self: center !important;
/* alle alten Layout-Eigenschaften neutralisieren */
float: none !important;
margin: 0 !important;
display: block !important;
}
/* Userlinks-Block rechts fixieren */
.vector-header-end .vector-user-links {
grid-column: 3 !important;
justify-self: end !important;
float: none !important;
margin: 0 !important;
display: block !important;
}
/* Direkte Kinder von Zeile 2 komplett resetten */
.vector-header-end > * {
margin: 0 !important;
float: 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;
}