MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 13: | Zeile 13: | ||
} | } | ||
.mw-body-content h1 { | .mw-body-content h1 { | ||
margin-top: | margin-top: 3.5em; | ||
} | } | ||
.mw-body-content h2 { | .mw-body-content h2 { | ||
| Zeile 19: | Zeile 19: | ||
} | } | ||
.mw-body-content h3 { | .mw-body-content h3 { | ||
margin-top: | margin-top: 2.5em; | ||
} | } | ||
.mw-body-content h4 { | .mw-body-content h4 { | ||
margin-top: | margin-top: 2em; | ||
} | } | ||
.mw-body-content h5 { | .mw-body-content h5 { | ||
margin-top: 1. | margin-top: 1.75em; | ||
} | } | ||
.mw-body-content h6 { | .mw-body-content h6 { | ||
margin-top: | margin-top: 1.5em; | ||
} | } | ||
| Zeile 47: | Zeile 47: | ||
} | } | ||
/* | /* Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen verhindern */ | ||
sup { | |||
font-size: 91%; | font-size: 91%; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
| Zeile 68: | Zeile 68: | ||
/* Nur Überschiften 1-3 im Inhaltsverzeichnis anzeigen */ | /* Nur Überschiften 1-3 im Inhaltsverzeichnis anzeigen */ | ||
div#toc.toc li.toclevel- | div#toc.toc li.toclevel-3 { | ||
display:none; | display:none; | ||
} | } | ||
Version vom 5. August 2022, 11:35 Uhr
html, body {
font-family: sans-serif !important;
}
/* Ueberschriften */
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: sans-serif !important;
}
.mw-body-content h1,h2,h3,h4,h5,h6,h7,h8 {
font-weight: bold;
font-family: sans-serif !important;
}
.mw-body-content h1 {
margin-top: 3.5em;
}
.mw-body-content h2 {
margin-top: 3em;
}
.mw-body-content h3 {
margin-top: 2.5em;
}
.mw-body-content h4 {
margin-top: 2em;
}
.mw-body-content h5 {
margin-top: 1.75em;
}
.mw-body-content h6 {
margin-top: 1.5em;
}
/* Zwischenueberschriften */
dl dt {
font-size: 1.1em;
font-family: sans-serif !important;
}
/* Tabellen */
/** Vertikale Zellenausrichung **/
table tr td {
vertical-align: top;
}
/** Erste Spalte fett **/
table tr td:nth-child(1) {
font-weight: bold;
}
/* Vergrößerung der Zeilenhöhe durch hochgestellte Zahlen verhindern */
sup {
font-size: 91%;
vertical-align: text-top;
position: relative;
top: -0.3em;
}
/* do not select line numbers in <syntaxhighlight> */
.mw-highlight .lineno {
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
background: #EEE;
display: inline-block;
padding-left: 0.5em;
margin-right: 0.5em;
}
/* Nur Überschiften 1-3 im Inhaltsverzeichnis anzeigen */
div#toc.toc li.toclevel-3 {
display:none;
}
hr {
margin: 1.5em 0 0.5em 0;
}
/* Überschriften-Nummern 4-8 ausblenden */
div#mw-content-text.mw-content-ltr div.mw-parser-output h4 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h5 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h6 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h7 span.mw-headline-number {
display: none;
}
div#mw-content-text.mw-content-ltr div.mw-parser-output h8 span.mw-headline-number {
display: none;
}
th {
text-align: left !important;
}
/* Testfragen auf Seitenbreite vergrößern */
ul#filetoc, .toc, .toccolours, .mw-warning {
display: block;
}