MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.826: | Zeile 1.826: | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | |||
} | |||
@media screen and (max-width: 768px) { | |||
/* Bild in der Infobox auf volle Zellbreite skalieren */ | |||
.mw-parser-output table.infobox td > a.image img { | |||
width: 100% !important; | |||
height: auto !important; | |||
display: block; | |||
} | |||
/* Für die Bildzeile keinen Innenabstand */ | |||
.mw-parser-output table.infobox td > a.image { | |||
display: block; | |||
} | |||
/* Falls der Browser :has unterstützt, nehmen wir auch das TD-Polster raus */ | |||
.mw-parser-output table.infobox td:has(> a.image) { | |||
padding: 0 !important; | |||
} | } | ||
} | } | ||