MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 1.849: | Zeile 1.849: | ||
@media (max-width:768px){ | @media (max-width:768px){ | ||
.mw-parser-output table.biobox + * { margin-top:0 !important; } | .mw-parser-output table.biobox + * { margin-top:0 !important; } | ||
} | |||
/* === Biobox: Foto bündig, keine Ränder oder grauer Kasten === */ | |||
.mw-parser-output table.biobox td.biobox-photo { | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
background: none !important; | |||
line-height: 0 !important; /* verhindert Baseline-Gap unter dem Bild */ | |||
} | |||
/* Bild selbst: wirklich auf volle Breite strecken */ | |||
.mw-parser-output table.biobox td.biobox-photo img, | |||
.mw-parser-output table.biobox td.biobox-photo .mw-file-element, | |||
.mw-parser-output table.biobox td.biobox-photo .biobox-img { | |||
display: block !important; | |||
width: 100% !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
border: none !important; | |||
margin: 0 !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
} | |||
/* Mobil: Box mittig, kein Überstand */ | |||
@media (max-width:768px) { | |||
.mw-parser-output table.biobox { | |||
float: none !important; | |||
clear: both !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 auto 1em auto !important; | |||
} | |||
} | } | ||