MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.879: | Zeile 1.879: | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | |||
} | |||
/* --- Biobox: Bild ohne Innenrahmen / ohne Hintergrund --- */ | |||
.mw-parser-output table.biobox .biobox-photo { | |||
padding: 0 !important; | |||
border: 0 !important; | |||
background: transparent !important; | |||
} | |||
.mw-parser-output table.biobox .biobox-photo a.image, | |||
.mw-parser-output table.biobox .biobox-photo a.image img { | |||
display: block; | |||
border: 0 !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
margin: 0 auto; /* Bild zentrieren */ | |||
} | |||
/* Desktop: Bildbreite klassisch */ | |||
.mw-parser-output table.biobox .biobox-photo .biobox-img img { | |||
width: 240px; | |||
height: auto; | |||
} | |||
/* Mobil: Bild füllt die Boxbreite */ | |||
@media (max-width: 768px) { | |||
.mw-parser-output table.biobox .biobox-photo .biobox-img img { | |||
width: 100% !important; | |||
height: auto !important; | |||
} | } | ||
} | } | ||