MediaWiki:Common.css: Unterschied zwischen den Versionen
Änderung 616 von Bunnyfreak (Diskussion) rückgängig gemacht. Markierung: Rückgängigmachung |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 179: | Zeile 179: | ||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | background: transparent; /* Odd row striping */ | ||
} | } | ||
| Zeile 1.597: | Zeile 1.597: | ||
} | } | ||
.portal-column-left-wide { | .portal-column-left-wide { | ||
float: left | float: left, | ||
width: 60%; | width: 60%; | ||
} | } | ||
| Zeile 1.653: | Zeile 1.653: | ||
background-position: 0 -5971px | background-position: 0 -5971px | ||
} | } | ||
.treeview li | .treeview li emptyline > ul { | ||
/* @noflip */ | /* @noflip */ | ||
margin-left: -1px; | margin-left: -1px; | ||
| Zeile 1.779: | Zeile 1.779: | ||
.startcard .startcard-img { float:left; margin:0 12px 8px 0; border-radius:8px; } | .startcard .startcard-img { float:left; margin:0 12px 8px 0; border-radius:8px; } | ||
.startcard .startcard-meta { font-size:0.95em; line-height:1.35; } | .startcard .startcard-meta { font-size:0.95em; line-height:1.35; } | ||
.startcard .startcard-more { margin-top:6px; } | .startcard .startcard-more { margin-top:6px; } | ||
| Zeile 1.787: | Zeile 1.786: | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* ===== BIOBOX – | /* ===== BIOBOX – Baseline (Desktop rechts, mobil vollbreit) ===== */ | ||
.mw-parser-output table.biobox{ | .mw-parser-output table.biobox{ | ||
float:right; | float:right; | ||
clear:right; | clear:right; | ||
width:22em; | width:22em; | ||
max-width:100%; | |||
margin:0.5em 0 1em 1em; | margin:0.5em 0 1em 1em; | ||
border:1px solid #c8ccd1; | border:1px solid #c8ccd1; | ||
| Zeile 1.802: | Zeile 1.800: | ||
line-height:1.5; | line-height:1.5; | ||
} | } | ||
.mw-parser-output table.biobox | /* --- Mobile: volle Breite, kein Überstand, Text darunter --- */ | ||
@media (max-width:768px){ | |||
.mw-parser-output table.biobox{ | |||
float:none !important; | |||
clear:both !important; | |||
width:auto !important; | |||
max-width:100% !important; | |||
margin:0 0 1em 0 !important; | |||
} | |||
} | } | ||
/* Fotozelle | /* ====== OVERRIDES: Bild bündig, Luft weg, Artikelstart straffen ====== */ | ||
.mw-parser-output table.biobox .biobox-photo{ | |||
/* Fotozelle: KEINE Innenabstände/Zeilenhöhe (verhindert „Luft“ oben/unten) */ | |||
.mw-parser-output table.biobox td.biobox-photo{ | |||
padding:0 !important; | padding:0 !important; | ||
border:0 !important; | border:0 !important; | ||
line-height:0 !important; /* entfernt Baseline-Gap */ | |||
background:transparent !important; | background:transparent !important; | ||
} | } | ||
/* Bild | /* Bild & Wrapper wirklich auf volle Zellenbreite, ohne Rahmen/Abstand */ | ||
.mw-parser-output table.biobox .biobox-img{ | .mw-parser-output table.biobox td.biobox-photo a.image, | ||
display:block; | .mw-parser-output table.biobox td.biobox-photo .mw-file-element, | ||
.mw-parser-output table.biobox td.biobox-photo .thumb, | |||
.mw-parser-output table.biobox td.biobox-photo .thumbinner, | |||
.mw-parser-output table.biobox td.biobox-photo img { | |||
display:block !important; | |||
width:100% !important; | width:100% !important; | ||
height:auto !important; | height:auto !important; | ||
margin:0 !important; | |||
padding:0 !important; | |||
border:0 !important; | border:0 !important; | ||
background:transparent !important; | background:transparent !important; | ||
box-shadow:none !important; | box-shadow:none !important; | ||
} | } | ||
/* | /* Sicherheit: Biobox-Tabellenrahmen sauber, kein Doppelabstand */ | ||
.mw-parser-output table.biobox | .mw-parser-output table.biobox { border-collapse:collapse !important; } | ||
} | |||
/* | /* Artikelstart direkt unter Biobox ohne zusätzliche Luft */ | ||
.mw-parser-output table.biobox + | .mw-parser-output > p:first-of-type, | ||
.mw-parser-output > h2:first-of-type { margin-top:0 !important; } | |||
.mw-parser-output table.biobox + p { margin-top:0 !important; clear:both; } | |||
} | |||
/* | /* Mobil: erster Inhalt nach Biobox ohne Top-Margin */ | ||
@media (max-width:768px){ | @media (max-width:768px){ | ||
.mw-parser-output table.biobox + * { margin-top:0 !important; } | |||
.mw-parser-output table.biobox + | |||
} | |||
} | } | ||