MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.787: | Zeile 1.787: | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* --- Mobile | /* --- Mobile: Infobox oben, volle Breite, bündig --- */ | ||
@media screen and (max-width: 768px) { | @media screen and (max-width: 768px) { | ||
/* Infobox selbst */ | |||
/* | |||
.mw-parser-output table.infobox { | .mw-parser-output table.infobox { | ||
float: none !important; | float: none !important; | ||
clear: both !important; | clear: both !important; | ||
display: block !important; | display: block !important; | ||
width: 100% !important; | |||
/* Vollbreite + Ausgleich des Container-Paddings (≈ 1rem je Seite) */ | |||
margin: 0 | width: calc(100% + 2rem) !important; | ||
margin-left: -1rem !important; | |||
margin-right: -1rem !important; | |||
/* Optik */ | |||
margin-top: 0 !important; | |||
margin-bottom: 1em !important; | |||
background: #fff !important; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
max-width: none !important; /* überschreibt inline width:240px */ | |||
} | } | ||
/* | /* Bilder responsiv */ | ||
.mw-parser-output table.infobox img { | .mw-parser-output table.infobox img { | ||
max-width: 100% !important; | max-width: 100% !important; | ||
| Zeile 1.809: | Zeile 1.815: | ||
} | } | ||
/* | /* Nachfolgende Social-Icon-Tabelle neutralisieren */ | ||
.mw-parser-output table.infobox + table[align="right"] { | .mw-parser-output table.infobox + table[align="right"] { | ||
float: none !important; | float: none !important; | ||
| Zeile 1.817: | Zeile 1.823: | ||
} | } | ||
/* | /* Text sicher unterhalb starten */ | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | } | ||
} | } | ||