MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus CMO
UweS (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
UweS (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 6: | Zeile 6: | ||
/* Zweizeilige Tabelle mit Rahmen */ | /* Zweizeilige Tabelle mit Rahmen */ | ||
.mw-parser-output .tabelle-zweizeilig { | .mw-parser-output .tabelle-zweizeilig { | ||
width: 80%; | width: 80%; | ||
margin: 1em auto; | margin: 1em auto; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Zeile 22: | Zeile 22: | ||
.mw-parser-output .tabelle-zweizeilig tr:first-child td, | .mw-parser-output .tabelle-zweizeilig tr:first-child td, | ||
.mw-parser-output .tabelle-zweizeilig tr:first-child th { | .mw-parser-output .tabelle-zweizeilig tr:first-child th { | ||
background: #f2f2f2; | background: #f2f2f2; | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
| Zeile 32: | Zeile 32: | ||
} | } | ||
/* | /* Mobil: volle Breite + kleinere Schrift + kompakteres Padding */ | ||
@media (max-width: | @media (max-width: 600px) { | ||
.mw-parser-output .tabelle-zweizeilig { | .mw-parser-output .tabelle-zweizeilig { | ||
width: 100%; | width: 100%; | ||
} | |||
.mw-parser-output .tabelle-zweizeilig td, | |||
.mw-parser-output .tabelle-zweizeilig th { | |||
padding: .25em; /* halbiertes Padding */ | |||
} | |||
.mw-parser-output .tabelle-zweizeilig tr:first-child td, | |||
.mw-parser-output .tabelle-zweizeilig tr:first-child th { | |||
font-size: 80%; | |||
} | |||
.mw-parser-output .tabelle-zweizeilig tr:last-child td, | |||
.mw-parser-output .tabelle-zweizeilig tr:last-child th { | |||
font-size: 70%; | |||
} | } | ||
} | } | ||
Version vom 3. September 2025, 13:54 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/*Verindert das Anzeigen des Inhaltsverzeichnisses, das Inhalrsverzeichnis existiert aber noch für barrierefreiheit */
.mw-parser-output .toc { display: none; }
/* Zweizeilige Tabelle mit Rahmen */
.mw-parser-output .tabelle-zweizeilig {
width: 80%;
margin: 1em auto;
border-collapse: collapse;
text-align: center;
border: 1px solid #aaa;
}
.mw-parser-output .tabelle-zweizeilig td,
.mw-parser-output .tabelle-zweizeilig th {
border: 1px solid #aaa;
padding: .5em;
}
/* obere Zeile */
.mw-parser-output .tabelle-zweizeilig tr:first-child td,
.mw-parser-output .tabelle-zweizeilig tr:first-child th {
background: #f2f2f2;
font-size: 90%;
}
/* untere Zeile */
.mw-parser-output .tabelle-zweizeilig tr:last-child td,
.mw-parser-output .tabelle-zweizeilig tr:last-child th {
font-size: 80%;
}
/* Mobil: volle Breite + kleinere Schrift + kompakteres Padding */
@media (max-width: 600px) {
.mw-parser-output .tabelle-zweizeilig {
width: 100%;
}
.mw-parser-output .tabelle-zweizeilig td,
.mw-parser-output .tabelle-zweizeilig th {
padding: .25em; /* halbiertes Padding */
}
.mw-parser-output .tabelle-zweizeilig tr:first-child td,
.mw-parser-output .tabelle-zweizeilig tr:first-child th {
font-size: 80%;
}
.mw-parser-output .tabelle-zweizeilig tr:last-child td,
.mw-parser-output .tabelle-zweizeilig tr:last-child th {
font-size: 70%;
}
}