MediaWiki:Mobile.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/* | /* === Biobox & Co. auf Mobil ordentlich untereinander === */ | ||
.mw-parser-output table.biobox { | @media (max-width: 768px) { | ||
/* Biobox: volle Breite, kein Float */ | |||
.mw-parser-output table.biobox { | |||
float: none !important; | |||
clear: both !important; | |||
display: block !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | |||
} | |||
/* | /* Bilder in der Biobox nicht überstehen lassen */ | ||
.mw-parser-output table.biobox img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
display: block; | |||
} | |||
.mw-parser-output table.biobox img { | |||
} | |||
/* | /* ALLE rechts-ausgerichteten Tabellen im Artikelkörper entfloaten | ||
.mw-parser-output | (dein Social-Links-Tisch usw.) */ | ||
float: | .mw-parser-output table[align="right"], | ||
.mw-parser-output .thumb[style*="float:right"], | |||
.mw-parser-output .thumb.tright { | |||
float: none !important; | |||
width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | clear: both !important; | ||
} | |||
/* | /* Der eigentliche Artikeltext soll UNTER der Biobox anfangen */ | ||
.mw-parser-output | .mw-parser-output .biobox ~ p:first-of-type, | ||
.mw-parser-output .biobox ~ .mw-headline:first-of-type { | |||
clear: both !important; | |||
} | |||
} | |||
/* | /* TOC (Inhaltsverzeichnis) nicht neben die Biobox legen */ | ||
.mw-parser-output | .mw-parser-output #toc { | ||
clear: both !important; | |||
} | |||
} | |||
} | } | ||