MediaWiki:Vector-2022.css: Unterschied zwischen den Versionen
Erscheinungsbild
Admin (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 51: | Zeile 51: | ||
.vector-sticky-header-context-bar-primary span { | .vector-sticky-header-context-bar-primary span { | ||
font-family: "Linux Libertine", "Palatino Linotype", "Georgia", "Times", serif; | font-family: "Linux Libertine", "Palatino Linotype", "Georgia", "Times", serif; | ||
} | |||
/* Tabellen */ | |||
.mw-parser-output table.wikitable { | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
border-radius: 10px; | |||
overflow: hidden; | |||
} | |||
/* Zellen-Grundlayout (thead + tbody) */ | |||
.mw-parser-output table.wikitable > thead > tr > th, | |||
.mw-parser-output table.wikitable > thead > tr > td, | |||
.mw-parser-output table.wikitable > tbody > tr > th, | |||
.mw-parser-output table.wikitable > tbody > tr > td { | |||
vertical-align: middle; | |||
} | |||
/* letzte Spalte ohne rechten Zellrand (thead + tbody) */ | |||
.mw-parser-output table.wikitable > thead > tr > th:last-child, | |||
.mw-parser-output table.wikitable > thead > tr > td:last-child, | |||
.mw-parser-output table.wikitable > tbody > tr > th:last-child, | |||
.mw-parser-output table.wikitable > tbody > tr > td:last-child { | |||
border-right: 0; | |||
} | |||
/* Kopfzeile: thead (wenn vorhanden), sonst erste Zeile in tbody */ | |||
.mw-parser-output table.wikitable > thead > tr > th, | |||
.mw-parser-output table.wikitable > tbody > tr:first-child > th { | |||
font-weight: 700; | |||
color: #1f2937; | |||
} | |||
/* Runde Ecken oben: bevorzugt thead, sonst erste Zeile in tbody */ | |||
.mw-parser-output table.wikitable > thead > tr:first-child > *:first-child, | |||
.mw-parser-output table.wikitable > tbody > tr:first-child > *:first-child { | |||
border-top-left-radius: 10px; | |||
} | |||
.mw-parser-output table.wikitable > thead > tr:first-child > *:last-child, | |||
.mw-parser-output table.wikitable > tbody > tr:first-child > *:last-child { | |||
border-top-right-radius: 10px; | |||
} | |||
/* Sticky-Kopf: overflow muss visible sein, sonst funktioniert sticky oft nicht */ | |||
.mw-parser-output table.wikitable.tabelle-kopf-fixiert { | |||
overflow: visible; | |||
} | |||
/* Unterkante: nur äußere Ecken runden (letzte Zeile in tbody) */ | |||
.mw-parser-output table.wikitable > tbody > tr:last-child > *:first-child { | |||
border-bottom-left-radius: 10px; | |||
} | |||
.mw-parser-output table.wikitable > tbody > tr:last-child > *:last-child { | |||
border-bottom-right-radius: 10px; | |||
} | } | ||
Version vom 17. März 2026, 14:00 Uhr
/*
* Koordinaten und diverse andere Anzeigen oben rechts, siehe
* [[:Kategorie:Vorlage:mit Seitenindikator#Textelemente]].
* Beachte, dass diese Elemente im Wikitext an beliebigen Stellen auftreten und
* deshalb allerhand Eigenschaften erben können. Das gilt insbesondere für die
* Schriftgröße.
* Der folgende Darstellungsfehler ist bekannt: Wenn die Fensterbreite kleiner
* als 982px ist und die Schriftgröße des Wurzelelements wie üblich 16px ist,
* überlappen sich die 17px hohen Icons der Gadgets „WikiMiniAtlas“ und
* „OpenStreetMap“ mit der SiteNotice.
*/
#mw-content-text #coordinates,
#mw-content-text #editcount,
#mw-content-text #shortcut,
body.ns-special #mw-content-text .specialpage-helplink {
display: block;
font-size: x-small;
line-height: 1.5;
position: absolute;
right: 0;
text-align: right;
text-indent: 0;
top: -9em;
white-space: nowrap;
}
/* Wiederherstellung von Stildefinitionen der TOC-Klassen (T314254) */
.toc {
display: table;
padding: 7px;
}
.toc, .toccolours {
border: 1px solid var(--dewiki-rahmenfarbe1);
background-color: var(--dewiki-hintergrundfarbe1);
padding: 5px;
font-size: 95%;
}
/* Auflösung von Nowraps in mehrspaltigen Referenzlisten */
.mw-references-wrap span {
white-space: initial !important;
}
.mw-references-wrap span[style="white-space:nowrap"] > span {
display: inline !important;
}
/* Korrektur Schriftart der Überschriften ([[Helmstedt-Wiki:Umfragen/Darstellungsprobleme in Überschriften]]) */
.mw-body #firstHeading,
.mw-body h1,
.mw-body h2,
.vector-sticky-header-context-bar-primary span {
font-family: "Linux Libertine", "Palatino Linotype", "Georgia", "Times", serif;
}
/* Tabellen */
.mw-parser-output table.wikitable {
border-collapse: separate;
border-spacing: 0;
border-radius: 10px;
overflow: hidden;
}
/* Zellen-Grundlayout (thead + tbody) */
.mw-parser-output table.wikitable > thead > tr > th,
.mw-parser-output table.wikitable > thead > tr > td,
.mw-parser-output table.wikitable > tbody > tr > th,
.mw-parser-output table.wikitable > tbody > tr > td {
vertical-align: middle;
}
/* letzte Spalte ohne rechten Zellrand (thead + tbody) */
.mw-parser-output table.wikitable > thead > tr > th:last-child,
.mw-parser-output table.wikitable > thead > tr > td:last-child,
.mw-parser-output table.wikitable > tbody > tr > th:last-child,
.mw-parser-output table.wikitable > tbody > tr > td:last-child {
border-right: 0;
}
/* Kopfzeile: thead (wenn vorhanden), sonst erste Zeile in tbody */
.mw-parser-output table.wikitable > thead > tr > th,
.mw-parser-output table.wikitable > tbody > tr:first-child > th {
font-weight: 700;
color: #1f2937;
}
/* Runde Ecken oben: bevorzugt thead, sonst erste Zeile in tbody */
.mw-parser-output table.wikitable > thead > tr:first-child > *:first-child,
.mw-parser-output table.wikitable > tbody > tr:first-child > *:first-child {
border-top-left-radius: 10px;
}
.mw-parser-output table.wikitable > thead > tr:first-child > *:last-child,
.mw-parser-output table.wikitable > tbody > tr:first-child > *:last-child {
border-top-right-radius: 10px;
}
/* Sticky-Kopf: overflow muss visible sein, sonst funktioniert sticky oft nicht */
.mw-parser-output table.wikitable.tabelle-kopf-fixiert {
overflow: visible;
}
/* Unterkante: nur äußere Ecken runden (letzte Zeile in tbody) */
.mw-parser-output table.wikitable > tbody > tr:last-child > *:first-child {
border-bottom-left-radius: 10px;
}
.mw-parser-output table.wikitable > tbody > tr:last-child > *:last-child {
border-bottom-right-radius: 10px;
}