MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung |
||
| (13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 738: | Zeile 738: | ||
margin-top:0; | margin-top:0; | ||
} | } | ||
/* | /* --- Biobox und Textfluss-Korrektur --- */ | ||
.mw-parser-output | .mw-parser-output table.biobox { | ||
margin | float: right !important; | ||
clear: right !important; | |||
margin: 0.5em 0 1em 1em !important; | |||
} | } | ||
/* | /* Social-Block soll sich rechts neben die Biobox setzen, nicht blocken */ | ||
.mw-parser-output | .mw-parser-output .bio-social { | ||
margin | float: right !important; | ||
clear: right !important; | |||
margin: 0 0 1em 1em !important; | |||
width: auto !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
} | } | ||
/* | /* Der Artikeltext (erster Absatz) darf NICHT unter die Floats gezwungen werden */ | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: none !important; | |||
margin-top: 0 !important; | margin-top: 0 !important; | ||
clear: none !important; | } | ||
/* === Desktop-Korrektur für Biobox (stellt Float & Breite wieder her) === */ | |||
@media (min-width: 769px) { | |||
.mw-parser-output table.biobox { | |||
float: right !important; | |||
clear: right !important; | |||
width: 22em !important; /* feste Breite nur am Desktop */ | |||
margin: 0.5em 0 1em 1em !important; | |||
} | |||
/* Textfluss wieder links neben der Box zulassen */ | |||
.mw-parser-output > p:first-of-type { | |||
clear: none !important; | |||
margin-top: 0 !important; | |||
} | |||
/* Falls Social-Links existieren – sie sollen unter der Box rechts bleiben */ | |||
.mw-parser-output .bio-social { | |||
float: right !important; | |||
clear: right !important; | |||
margin: 0 0 1em 1em !important; | |||
width: auto !important; | |||
} | |||
} | |||
/* ==== DESKTOP-FIX (nur >=769px) ==== */ | |||
@media (min-width: 769px) { | |||
/* Biobox rechts, feste Breite, normaler Textfluss links daneben */ | |||
.mw-parser-output table.biobox{ | |||
float: right !important; | |||
clear: right !important; | |||
width: 22em !important; | |||
margin: 0.5em 0 1em 1em !important; | |||
} | |||
/* Social-Links dürfen daneben/unter die Box, blockieren den Text nicht */ | |||
.mw-parser-output .bio-social{ | |||
float: right !important; | |||
clear: right !important; | |||
width: auto !important; /* NICHT 100% auf Desktop */ | |||
margin: 0 0 1em 1em !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.mw-parser-output .bio-social table{ | |||
display: inline-table !important; | |||
width: auto !important; | |||
background: transparent !important; | |||
border: 0 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Erster Absatz soll NICHT unter die Floats gezwungen werden */ | |||
.mw-parser-output > p:first-of-type{ | |||
clear: none !important; | |||
margin-top: 0 !important; | |||
} | |||
} | } | ||