MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1.799: | Zeile 1.799: | ||
.mw-body-content p { | .mw-body-content p { | ||
clear: both; | clear: both; | ||
} | |||
} | |||
/* --- Mobile Darstellung der Biobox (Bunnypedia) --- */ | |||
@media screen and (max-width: 768px) { | |||
.biobox { | |||
float: none !important; /* nicht mehr rechtsbündig */ | |||
display: block !important; | |||
width: calc(100% - 20px) !important; /* fast volle Breite (kleine Seitenränder) */ | |||
margin: 0 auto 1em auto !important; /* zentriert + etwas Abstand unten */ | |||
box-sizing: border-box; | |||
background: #fff !important; /* weißer Hintergrund */ | |||
border-radius: 8px; /* leichte Rundung */ | |||
box-shadow: 0 2px 5px rgba(0,0,0,0.08);/* dezenter Schatten */ | |||
padding: 4px; | |||
} | |||
/* Biobox-Bild skalieren */ | |||
.biobox img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
/* Textfluss unterhalb der Biobox erzwingen */ | |||
.mw-body-content p, | |||
.mw-parser-output > p { | |||
clear: both !important; | |||
} | } | ||
} | } | ||