MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 1.786: | Zeile 1.786: | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* === | /* === BIObox endgültig: bündiges Bild, kein grauer Hintergrund, kein Abstand === */ | ||
/* | /* Tabelle selbst */ | ||
.mw-parser-output table.biobox { | |||
border: 1px solid #c8ccd1; | |||
border-collapse: collapse; | |||
background: #fff; | |||
width: 22em; | |||
float: right; | |||
clear: right; | |||
margin: 0.5em 0 1em 1em; | |||
font-size: 90%; | |||
line-height: 1.45; | |||
box-sizing: border-box; | |||
} | } | ||
/* | /* Foto-Zelle: kein Abstand, kein Hintergrund, kein Rahmen */ | ||
.mw-parser-output table.biobox td.biobox-photo { | .mw-parser-output table.biobox td.biobox-photo { | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
border: none !important; | border: none !important; | ||
background: | background: transparent !important; | ||
line-height: 0 !important; /* | line-height: 0 !important; /* beseitigt weiße Linie unter Bild */ | ||
} | } | ||
/* Bild selbst: | /* Bild selbst: exakt volle Breite */ | ||
.mw-parser-output table.biobox td.biobox-photo img, | .mw-parser-output table.biobox td.biobox-photo img, | ||
.mw-parser-output table.biobox td.biobox-photo .mw-file-element, | .mw-parser-output table.biobox td.biobox-photo .mw-file-element, | ||
| Zeile 1.866: | Zeile 1.818: | ||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
margin: 0 !important; | |||
border: none !important; | border: none !important; | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* | /* Kein zusätzlicher „Rahmen im Rahmen“ */ | ||
@media (max-width:768px) { | .mw-parser-output table.biobox .thumb, | ||
.mw-parser-output table.biobox .thumbinner { | |||
border: none !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | |||
/* Abstand unterhalb der Biobox für Fließtext */ | |||
.mw-parser-output table.biobox + p { | |||
margin-top: 0.3em !important; | |||
} | |||
/* --- Mobile Ansicht: volle Breite, Text darunter --- */ | |||
@media (max-width: 768px) { | |||
.mw-parser-output table.biobox { | .mw-parser-output table.biobox { | ||
float: none !important; | float: none !important; | ||
| Zeile 1.880: | Zeile 1.846: | ||
width: 100% !important; | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 | margin: 0 0 1em 0 !important; | ||
} | |||
.mw-parser-output > p:first-of-type { | |||
clear: both !important; | |||
margin-top: 0 !important; /* kein Abstand über erstem Absatz */ | |||
} | } | ||
} | } | ||