MediaWiki:Common.css: Unterschied zwischen den Versionen
Änderung 658 von Bunnyfreak (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 676: | Zeile 676: | ||
.mw-parser-output .bio-social { | .mw-parser-output .bio-social { | ||
float: none !important; clear: both !important; margin: 0 0 1em 0 !important; | float: none !important; clear: both !important; margin: 0 0 1em 0 !important; | ||
} | |||
} | |||
/* ============================================ | |||
FIX: Biobox + Social-Links + Abstand zum Text | |||
============================================ */ | |||
/* Social-Links sollen rechts neben der Biobox floaten */ | |||
.mw-parser-output .bio-social { | |||
float: right !important; | |||
clear: right !important; | |||
width: 22em !important; /* gleiche Breite wie Biobox */ | |||
margin: 0 0 1em 1em !important; | |||
background: transparent !important; | |||
border: none !important; | |||
padding: 0 !important; | |||
box-sizing: border-box; | |||
} | |||
/* Social-Link-Tabelle neutralisieren */ | |||
.mw-parser-output .bio-social table { | |||
width: 100% !important; | |||
border: none !important; | |||
background: transparent !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Verhindert, dass der erste Absatz unter die Box rutscht */ | |||
.mw-parser-output > p:first-of-type { | |||
clear: none !important; | |||
margin-top: 0 !important; | |||
} | |||
/* Mobile Ansicht: Box + Social-Links zentriert, keine Überbreite */ | |||
@media screen and (max-width: 768px) { | |||
.mw-parser-output table.biobox, | |||
.mw-parser-output .bio-social { | |||
float: none !important; | |||
clear: both !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 !important; | |||
} | } | ||
} | } | ||