MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Interstellar Rift Wiki
Zur Navigation springenZur Suche springen
Verhindere Überlappungen von Infoboxen und Artikeltext |
Räume Infoboxen vor dem Inhaltsverzeichnis frei |
||
| Zeile 7: | Zeile 7: | ||
} | } | ||
/* | /* Das automatisch eingefügte Inhaltsverzeichnis steht direkt nach der Infobox. */ | ||
.mw-parser-output .infobox + .toc, | |||
.mw-parser-output .infobox + h2, | .mw-parser-output .infobox + h2, | ||
.mw-parser-output .infobox + h3, | .mw-parser-output .infobox + h3, | ||
Version vom 29. September 2026, 23:58 Uhr
.mw-parser-output .infobox {
float: right;
clear: right;
box-sizing: border-box;
max-width: calc(100% - 1em);
margin: 0 0 1em 1em;
}
/* Das automatisch eingefügte Inhaltsverzeichnis steht direkt nach der Infobox. */
.mw-parser-output .infobox + .toc,
.mw-parser-output .infobox + h2,
.mw-parser-output .infobox + h3,
.mw-parser-output .infobox + h4 {
clear: right;
}
@media screen and (max-width: 640px) {
.mw-parser-output .infobox {
float: none;
margin: 0 auto 1em;
max-width: 100%;
}
}