MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Admin (Diskussion | Beiträge) Standard Wiki Breite (960px max) |
Admin (Diskussion | Beiträge) CSS für Standard Layout mit Templates |
||
| Zeile 1: | Zeile 1: | ||
/* | /* Standard Wiki Layout - Breite begrenzt */ | ||
.mw-page-container { | .mw-page-container { | ||
max-width: 960px !important; | max-width: 960px !important; | ||
| Zeile 5: | Zeile 5: | ||
} | } | ||
/* Hauptseite Layout - Tabellen anpassen */ | |||
.mw-parser-output > table.wikitable { | |||
width: 100% !important; | |||
max-width: 100%; | |||
} | |||
/* Verschachtelte Tabellen (Templates) */ | |||
.mw-parser-output table.wikitable table.wikitable { | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | |||
/* Inhaltsbereich */ | |||
.mw-body { | .mw-body { | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
.mw-parser-output table.wikitable { | /* Responsive Anpassungen */ | ||
@media screen and (max-width: 768px) { | |||
.mw-parser-output > table.wikitable > tbody > tr > td { | |||
display: block; | |||
width: 100% !important; | |||
} | |||
} | } | ||
Version vom 13. Juni 2026, 16:20 Uhr
/* Standard Wiki Layout - Breite begrenzt */
.mw-page-container {
max-width: 960px !important;
margin: 0 auto !important;
}
/* Hauptseite Layout - Tabellen anpassen */
.mw-parser-output > table.wikitable {
width: 100% !important;
max-width: 100%;
}
/* Verschachtelte Tabellen (Templates) */
.mw-parser-output table.wikitable table.wikitable {
width: 100%;
box-sizing: border-box;
}
/* Inhaltsbereich */
.mw-body {
max-width: 100%;
}
/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
.mw-parser-output > table.wikitable > tbody > tr > td {
display: block;
width: 100% !important;
}
}