MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 1.815: | Zeile 1.815: | ||
} | } | ||
/* ==== Biobox: | /* ==== Biobox: Mobile sauber mittig & exakt Inhaltsbreite ==== */ | ||
@media screen and (max-width: 900px) { | @media screen and (max-width: 900px) { | ||
.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: | width: auto !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 | margin: 0 auto 1em auto !important; | ||
border-collapse: collapse; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | /* Bild in voller Boxbreite */ | ||
.mw-parser-output table.biobox a.image img { | .mw-parser-output table.biobox a.image img { | ||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
| Zeile 1.836: | Zeile 1.835: | ||
} | } | ||
/* Sternzeichen | /* Sternzeichen klein halten */ | ||
.mw-parser-output table.biobox img[alt*="Sternzeichen"], | .mw-parser-output table.biobox img[alt*="Sternzeichen"], | ||
.mw-parser-output table.biobox img[title*="Sternzeichen"], | .mw-parser-output table.biobox img[title*="Sternzeichen"], | ||
.mw-parser-output table.biobox img[src*="Sternzeichen"], | .mw-parser-output table.biobox img[src*="Sternzeichen"], | ||
.mw-parser-output table.biobox img[src*="zodiac"] { | .mw-parser-output table.biobox img[src*="zodiac"] { | ||
width: 24px !important; | width: 24px !important; | ||
height: auto !important; | height: auto !important; | ||
display: inline-block !important; | display: inline-block !important; | ||
| Zeile 1.851: | Zeile 1.847: | ||
} | } | ||
/* Falls | /* Falls Social-Tabelle danach kommt */ | ||
.mw-parser-output table.biobox + table[align="right"] { | .mw-parser-output table.biobox + table[align="right"] { | ||
float: none !important; | float: none !important; | ||
width: | width: auto !important; | ||
margin: 0 | margin: 0 auto 1em auto !important; | ||
} | } | ||
/* Text | /* Text unter Box beginnen */ | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | } | ||
} | } | ||