MediaWiki:Common.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 34: | Zeile 34: | ||
.mw-content-ltr img { max-width: 100%; height: auto; } | .mw-content-ltr img { max-width: 100%; height: auto; } | ||
/* | /* Wrapper: Float links/rechts */ | ||
.char-img-wrap { | .char-img-wrap.left { float: left; margin: 0 1em 0 0.5em; } | ||
.char-img-wrap.right{ float: right; margin: 0 0.5em 0 1em; } | |||
} | /* Prozentuale Breite über Wrapper-Klasse */ | ||
.char-img-35 img { width: 35% !important; height: auto !important; max-width: 260px; } | |||
/* | /* Mobil: Float aus, Bild block */ | ||
.char-img | @media (max-width: 720px) { | ||
.char-img-wrap.left, | |||
.char-img-wrap.right { float: none; margin: 0.5em 0; } | |||
.char-img-35 img { width: 100% !important; max-width: 100% !important; } | |||
} | } | ||
Version vom 23. Januar 2026, 17:21 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.mw-wiki-title,
.mw-header-title,
.mw-page-title-main,
.firstHeading {
display: none !important;
}
.vector-header-container .mw-wiki-title {
display: none !important;
}
.vector-header .mw-page-title {
display: none !important;
}
.mw-logo-icon,
.mw-logo-container,
.mw-logo {
max-height: 60px;
width: auto;
}
/* Silbentrennung aktivieren */
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dd,
.mw-parser-output td,
.mw-parser-output th {
hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
}
/* Bilder skalieren */
.mw-content-ltr img { max-width: 100%; height: auto; }
/* Wrapper: Float links/rechts */
.char-img-wrap.left { float: left; margin: 0 1em 0 0.5em; }
.char-img-wrap.right{ float: right; margin: 0 0.5em 0 1em; }
/* Prozentuale Breite über Wrapper-Klasse */
.char-img-35 img { width: 35% !important; height: auto !important; max-width: 260px; }
/* Mobil: Float aus, Bild block */
@media (max-width: 720px) {
.char-img-wrap.left,
.char-img-wrap.right { float: none; margin: 0.5em 0; }
.char-img-35 img { width: 100% !important; max-width: 100% !important; }
}