MediaWiki:Common.css: Unterschied zwischen den Versionen
Änderung 673 von Bunnyfreak (Diskussion) rückgängig gemacht. Markierungen: Rückgängigmachung Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 781: | Zeile 781: | ||
margin: 0 0 1em 1em !important; | margin: 0 0 1em 1em !important; | ||
width: auto !important; | width: auto !important; | ||
} | |||
} | |||
/* === Einheitliches, stabiles Layout für Biobox === */ | |||
/* Basis */ | |||
.mw-parser-output table.biobox { | |||
border-collapse: collapse; | |||
width: 22em; /* Desktop-Breite */ | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
font-size: 90%; | |||
background: transparent; | |||
} | |||
/* Foto bündig, keine Luft */ | |||
.mw-parser-output table.biobox .biobox-photo { | |||
padding: 0 !important; | |||
border: 0 !important; | |||
line-height: 0 !important; | |||
background: transparent !important; | |||
} | |||
.mw-parser-output table.biobox .biobox-photo img { | |||
display: block !important; | |||
width: 100% !important; | |||
height: auto !important; | |||
margin: 0 !important; | |||
border: 0 !important; | |||
background: transparent !important; | |||
} | |||
/* Kein Abstand zwischen Biobox und erstem Textabsatz */ | |||
.mw-parser-output table.biobox + p, | |||
.mw-parser-output table.biobox + .bio-social + p { | |||
margin-top: 0 !important; | |||
} | |||
/* Leere Social-Box (wenn keine Links) ausblenden */ | |||
.mw-parser-output .bio-social:empty, | |||
.mw-parser-output .bio-social table:empty { | |||
display: none !important; | |||
} | |||
/* Mobil: volle Breite, kein Float */ | |||
@media (max-width: 768px) { | |||
.mw-parser-output table.biobox { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em 0; | |||
} | |||
.mw-parser-output .bio-social { | |||
float: none; | |||
width: 100%; | |||
margin: 0 0 1em 0; | |||
} | } | ||
} | } | ||