MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.815: | Zeile 1.815: | ||
} | } | ||
/* | /* ==== Biobox – mobile volle Breite, bündig, zentriert ==== */ | ||
@media (max-width: | @media screen and (max-width: 900px) { | ||
/* Biobox nicht floaten, block anzeigen */ | |||
.mw-parser-output table.biobox { | .mw-parser-output table.biobox { | ||
float: none !important; | float: none !important; | ||
clear: both !important; | clear: both !important; | ||
display: block !important; | display: block !important; | ||
width: 100% !important; | width: calc(100% + 32px) !important; /* gleicht Padding vom Body aus */ | ||
margin: 0 -16px 1em -16px !important; /* gleicht Padding visuell aus */ | |||
border: 1px solid #c8ccd1; | |||
border-radius: 8px; | |||
background: #fff; | |||
box-sizing: border-box; | |||
} | |||
/* Zellen-Inhalt normalisieren */ | |||
.mw-parser-output table.biobox td, | |||
.mw-parser-output table.biobox th { | |||
padding: 0.4em 0.6em; | |||
vertical-align: top; | |||
} | } | ||
/* Bild | |||
.mw-parser-output table.biobox | /* Bild: immer volle Boxbreite */ | ||
.mw-parser-output table.biobox img { | |||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
display: block; | |||
margin: 0; | |||
} | } | ||
/* Artikeltext erst unter der Box starten */ | |||
/* | |||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | } | ||
} | } | ||