MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierungen: Manuelle Zurücksetzung Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 1.787: | Zeile 1.787: | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* | /* Biobox: Desktop schmal rechts, mobil volle Breite */ | ||
.mw-parser-output table.biobox{ | |||
float:right; | |||
clear:right; | |||
width:22em; /* Desktop-Breite */ | |||
.mw-parser-output table.biobox { | max-width:100%; | ||
float: right; | margin:0.5em 0 1em 1em; | ||
clear: right; | border:1px solid #c8ccd1; | ||
width: 22em; | background:#fff; | ||
margin: 0.5em 0 1em 1em; | border-collapse:collapse; | ||
border: 1px solid #c8ccd1; | box-sizing:border-box; | ||
background: #fff; | font-size:90%; | ||
border-collapse: collapse; | line-height:1.5; | ||
box-sizing: border-box; | |||
font-size: 90%; | |||
line-height: 1.5; | |||
} | } | ||
/* | /* Fotozelle: KEINE Innenabstände, KEIN Zeilenabstand -> keine Luft oben/unten */ | ||
.mw-parser-output table.biobox td | .mw-parser-output table.biobox td.biobox-photo{ | ||
. | padding:0 !important; | ||
border:0 !important; | |||
line-height:0 !important; | |||
background:transparent !important; | |||
} | } | ||
.mw-parser-output table.biobox td | /* Link-Wrapper & Bild wirklich auf volle Zellenbreite, ohne jegliche Ränder */ | ||
.mw-parser-output table.biobox td.biobox-photo a.image, | |||
.mw-parser-output table.biobox td.biobox-photo img.biobox-img, | |||
.mw-parser-output table.biobox td.biobox-photo .mw-file-element{ | |||
display:block !important; | |||
width:100% !important; | |||
height:auto !important; | |||
max-width:100% !important; | |||
margin:0 !important; | |||
padding:0 !important; | |||
border:0 !important; | |||
background:transparent !important; | |||
box-shadow:none !important; | |||
} | } | ||
/* | /* Falls MW doch einen Thumb-Container baut: neutralisieren */ | ||
.mw-parser-output table.biobox .thumb, | .mw-parser-output table.biobox .thumb, | ||
.mw-parser-output table.biobox .thumbinner { | .mw-parser-output table.biobox .thumbinner{ | ||
border: 0 !important; | border:0 !important; | ||
box-shadow: none !important; | box-shadow:none !important; | ||
background: transparent !important; | background:transparent !important; | ||
padding:0 !important; | |||
margin:0 !important; | |||
} | } | ||
/* | /* Mobil: Box nicht floaten, volle Breite */ | ||
@media (max-width:768px){ | |||
.mw-parser-output table.biobox{ | |||
float:none !important; | |||
clear:both !important; | |||
width:auto !important; | |||
max-width:100% !important; | |||
@media (max-width: 768px) { | margin:0 0 1em 0 !important; | ||
.mw-parser-output table.biobox { | |||
float: none !important; | |||
clear: both !important; | |||
width: | |||
max-width: 100% !important; | |||
margin: 0 0 1em 0 | |||
} | } | ||
} | } | ||