MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 66: | Zeile 66: | ||
display: none; | display: none; | ||
} | } | ||
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | ||
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
| Zeile 92: | Zeile 92: | ||
sup.reference:target { background-color: #ddeeff; } | sup.reference:target { background-color: #ddeeff; } | ||
/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ | /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ | ||
div.NavFrame { | div.NavFrame { | ||
| Zeile 106: | Zeile 106: | ||
text-align: center; | text-align: center; | ||
} | } | ||
/* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ | /* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
| Zeile 119: | Zeile 119: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* Redundant zu .visualClear in shared.css und IE60Fixes.css */ | /* Redundant zu .visualClear in shared.css und IE60Fixes.css */ | ||
div.NavEnd { | div.NavEnd { | ||
| Zeile 181: | Zeile 181: | ||
background: transparent; /* Odd row striping */ | background: transparent; /* Odd row striping */ | ||
} | } | ||
.collapseButton { /* 'show'/'hide' buttons created dynamically */ | .collapseButton { /* 'show'/'hide' buttons created dynamically */ | ||
float: right; /* by the CollapsibleTables javascript in */ | float: right; /* by the CollapsibleTables javascript in */ | ||
| Zeile 191: | Zeile 191: | ||
width: 6em; /* the vde links from [[Template:Navbar]], */ | width: 6em; /* the vde links from [[Template:Navbar]], */ | ||
} /* so they need to be the same width. */ | } /* so they need to be the same width. */ | ||
.navbar { /* Navbox template links */ | .navbar { /* Navbox template links */ | ||
font-size: 88%; /* Default font-size */ | font-size: 88%; /* Default font-size */ | ||
| Zeile 199: | Zeile 199: | ||
font-size: 100%; /* Font-size when nested within navbox */ | font-size: 100%; /* Font-size when nested within navbox */ | ||
} | } | ||
/* Entfernt underlines von bestimmten Links */ | /* Entfernt underlines von bestimmten Links */ | ||
| Zeile 1.740: | Zeile 1.740: | ||
display: flex; | display: flex; | ||
} | } | ||
#mp-left { | #mp-left { | ||
/* | /* flex: 1 1 55%; */ | ||
flex: 1 1 50%; | flex: 1 1 50%; | ||
margin-right: 2px; | margin-right: 2px; | ||
} | } | ||
#mp-right { | #mp-right { | ||
/* | /* flex: 1 1 45%; */ | ||
flex: 1 1 50%; | flex: 1 1 50%; | ||
margin-left: 2px; | margin-left: 2px; | ||
| Zeile 1.787: | Zeile 1.787: | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* ===== Biobox | /* ===== Biobox (override-only, leave existing rules intact) ===== */ | ||
.mw-parser-output table.biobox { | .mw-parser-output table.biobox { | ||
border-collapse: collapse !important; | |||
box-sizing: border-box !important; | |||
border-collapse: collapse; | |||
box-sizing: border-box | |||
} | } | ||
.mw-parser-output table.biobox | .mw-parser-output table.biobox .biobox-photo { | ||
. | padding: 0 !important; | ||
border: 0 !important; | |||
background: transparent !important; | |||
} | } | ||
.mw-parser-output table.biobox | .mw-parser-output table.biobox .biobox-photo .biobox-img { | ||
display: block !important; | |||
width: 100% !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
margin: 0 !important; | |||
border: 0 !important; | |||
height: auto; | background: transparent !important; | ||
box-shadow: none !important; | |||
margin: 0 | |||
border: | |||
background: | |||
box- | |||
} | } | ||
/* Mobile: volle Breite, kein Überstand, Text darunter */ | |||
/* Mobile: volle | |||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.mw-parser-output table.biobox { | .mw-parser-output table.biobox { | ||
float: none !important; | float: none !important; | ||
clear: both !important; | clear: both !important; | ||
width: | width: 100% !important; | ||
max-width: 100% !important; | max-width: 100% !important; | ||
margin: 0 0 1em 0 !important; | margin: 0 0 1em 0 !important; | ||
} | } | ||
.mw-parser-output table.biobox .biobox-photo .biobox-img { | |||
.mw-parser-output table.biobox .biobox- | |||
width: 100% !important; | width: 100% !important; | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
.mw-parser-output table.biobox + table[align="right"] { | .mw-parser-output table.biobox + table[align="right"] { | ||
float: none !important; | float: none !important; | ||
| Zeile 1.984: | Zeile 1.827: | ||
align: initial !important; | align: initial !important; | ||
} | } | ||
.mw-parser-output > p:first-of-type { | .mw-parser-output > p:first-of-type { | ||
clear: both !important; | clear: both !important; | ||
} | } | ||
} | } | ||