Weitere Optionen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 27: | Zeile 27: | ||
h5.ueberschrift-zentriert { | h5.ueberschrift-zentriert { | ||
text-align: center !important; | text-align: center !important; | ||
} | |||
/* Abstand über Hinweis- und Warnungsboxen */ | |||
.mw-message-box { | |||
margin-top: 0.75em !important; | |||
} | } | ||
| Zeile 33: | Zeile 38: | ||
═══════════════════════════════════════════════ */ | ═══════════════════════════════════════════════ */ | ||
/* | /* ExternalImage: nie breiter als Container */ | ||
img[style*="width:"] { | img[style*="width:"] { | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
/* | /* Übersichts-Grid (Hauptseite) */ | ||
.wiki-overview-grid { | .wiki-overview-grid { | ||
display: grid; | display: grid; | ||
| Zeile 64: | Zeile 69: | ||
} | } | ||
/* | /* ExternalGallery: responsive Spalten */ | ||
@media screen and (max-width: 900px) { | @media screen and (max-width: 900px) { | ||
.ext-gallery { | .ext-gallery { | ||
| Zeile 93: | Zeile 98: | ||
} | } | ||
/* | /* Kacheltabellen: responsive (tile-grid) */ | ||
.tile-grid { | .tile-grid { | ||
width: 100%; | width: 100%; | ||
| Zeile 166: | Zeile 104: | ||
border-spacing: 6px; | border-spacing: 6px; | ||
} | } | ||
.tile-grid td { | .tile-grid td { | ||
width: 33%; | width: 33%; | ||
} | } | ||
@media screen and (max-width: 700px) { | @media screen and (max-width: 700px) { | ||
.tile-grid, | .tile-grid, | ||
| Zeile 188: | Zeile 122: | ||
} | } | ||
} | } | ||
@media screen and (max-width: 420px) { | @media screen and (max-width: 420px) { | ||
.tile-grid td { | .tile-grid td { | ||
Version vom 2. Juni 2026, 17:49 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
h2, h3 {
margin-block-start: 0.5em;
}
/* Warning-Box: orange, kompatibel mit Light & Dark Mode */
.mw-message-box-warning {
border: 1px solid #c85000;
border-left: 4px solid #c85000;
background-color: color-mix(in srgb, #c85000 12%, transparent);
color: inherit;
padding: 0.5em 1em;
border-radius: 4px;
}
/* H2 vor dem Übersichts-Grid: Abstand nach unten reduzieren */
h2.ueberschrift-zentriert {
margin-bottom: 0.25em;
}
/* Zentrierte Überschrift */
.ueberschrift-zentriert,
h1.ueberschrift-zentriert,
h2.ueberschrift-zentriert,
h3.ueberschrift-zentriert,
h4.ueberschrift-zentriert,
h5.ueberschrift-zentriert {
text-align: center !important;
}
/* Abstand über Hinweis- und Warnungsboxen */
.mw-message-box {
margin-top: 0.75em !important;
}
/* ═══════════════════════════════════════════════
Mobile-Skalierung für alle Wiki-Extensions
═══════════════════════════════════════════════ */
/* ExternalImage: nie breiter als Container */
img[style*="width:"] {
max-width: 100%;
}
/* Übersichts-Grid (Hauptseite) */
.wiki-overview-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 0 10px;
align-items: start;
}
.wiki-overview-col {
min-width: 0;
}
@media screen and (max-width: 1000px) {
.wiki-overview-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media screen and (max-width: 640px) {
.wiki-overview-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 400px) {
.wiki-overview-grid {
grid-template-columns: 1fr;
}
}
/* ExternalGallery: responsive Spalten */
@media screen and (max-width: 900px) {
.ext-gallery {
grid-template-columns: repeat(3, 1fr) !important;
}
.ext-gallery-item,
.ext-gallery-thumb {
width: 100% !important;
}
}
@media screen and (max-width: 600px) {
.ext-gallery {
grid-template-columns: repeat(2, 1fr) !important;
}
.ext-gallery-item,
.ext-gallery-thumb {
width: 100% !important;
}
.ext-gallery-thumb img {
width: 100% !important;
height: 80px !important;
}
}
@media screen and (max-width: 360px) {
.ext-gallery {
grid-template-columns: 1fr !important;
}
}
/* Kacheltabellen: responsive (tile-grid) */
.tile-grid {
width: 100%;
border-collapse: separate;
border-spacing: 6px;
}
.tile-grid td {
width: 33%;
}
@media screen and (max-width: 700px) {
.tile-grid,
.tile-grid tbody,
.tile-grid tr {
display: block;
width: 100%;
}
.tile-grid td {
display: inline-block;
width: calc(50% - 10px);
box-sizing: border-box;
vertical-align: top;
margin: 3px;
}
}
@media screen and (max-width: 420px) {
.tile-grid td {
display: block;
width: calc(100% - 6px);
margin: 3px;
}
}