MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.905: | Zeile 1.905: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mw-parser-output table.biobox .biobox-photo .biobox-img img { | .mw-parser-output table.biobox .biobox-photo .biobox-img img { | ||
width: 100% !important; | |||
height: auto !important; | |||
} | |||
} | |||
/* === BIOBOX-BILD VOLLBREIT & SAUBER === */ | |||
.mw-parser-output .biobox-photo-wrapper { | |||
width: 100%; | |||
margin: 0; | |||
padding: 0; | |||
background: transparent !important; | |||
border: none !important; | |||
} | |||
.mw-parser-output .biobox-img { | |||
display: block; | |||
width: 100% !important; /* volle Breite der Box */ | |||
height: auto !important; /* behält Seitenverhältnis */ | |||
max-width: 100% !important; | |||
border: none !important; /* kein Rahmen */ | |||
margin: 0 auto !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
} | |||
/* Mobil: gleiche Regel, damit das Bild sich nicht verzerrt */ | |||
@media (max-width: 768px) { | |||
.mw-parser-output .biobox-img { | |||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
} | } | ||