MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| (27 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | /* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | ||
/** Kleinschreibung nicht erzwingen */ | /** Kleinschreibung nicht erzwingen */ | ||
.portlet h5, | .portlet h5, | ||
| Zeile 6: | Zeile 5: | ||
#p-personal ul, | #p-personal ul, | ||
#p-cactions li a { | #p-cactions li a { | ||
text-transform: none; | |||
} | } | ||
body.page-Hauptseite h1.firstHeading { display:none; } | body.page-Hauptseite h1.firstHeading { display:none; } | ||
div.topicon { | div.topicon { | ||
position: absolute; | position: absolute; | ||
z-index: 10; | z-index: 10; | ||
top: 10px; | top: 10px; | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ | /* extra buttons for edit dialog (from commons:MediaWiki:Common.css) */ | ||
.my-buttons { padding: 0.5em; } | .my-buttons { padding: 0.5em; } | ||
| Zeile 33: | Zeile 29: | ||
border-style: inset; | border-style: inset; | ||
} | } | ||
/***** | /***** | ||
** Table formatting | ** Table formatting | ||
| Zeile 44: | Zeile 39: | ||
border-collapse:collapse; | border-collapse:collapse; | ||
} | } | ||
table.wikitable th, table.wikitable td, | table.wikitable th, table.wikitable td, | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td { | ||
| Zeile 50: | Zeile 44: | ||
padding:0.2em; | padding:0.2em; | ||
} | } | ||
table.wikitable th, | table.wikitable th, | ||
table.prettytable th { | table.prettytable th { | ||
| Zeile 56: | Zeile 49: | ||
text-align:center; | text-align:center; | ||
} | } | ||
table.wikitable caption, | table.wikitable caption, | ||
table.prettytable caption { | table.prettytable caption { | ||
| Zeile 62: | Zeile 54: | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } | ||
table.collapsed tr.collapsible { | table.collapsed tr.collapsible { | ||
display: none; | display: none; | ||
} | } | ||
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | |||
.collapseButton { | float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
float: right; | font-weight: normal; /* are styled here so they can be customised. */ | ||
font-weight: normal; | |||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
} | } | ||
/***** | /***** | ||
** Simple Security Extension | ** Simple Security Extension | ||
| Zeile 85: | Zeile 74: | ||
background: #eee; | background: #eee; | ||
} | } | ||
/* make the list of references look smaller and highlight clicked reference in blue */ | /* make the list of references look smaller and highlight clicked reference in blue */ | ||
ol.references { font-size: 80%; } | ol.references { font-size: 80%; } | ||
| Zeile 91: | Zeile 79: | ||
ol.references > li:target { background-color: #ddeeff; } | ol.references > li:target { background-color: #ddeeff; } | ||
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 { | ||
display: inline-block; /* IE <= 7 */ | |||
} | } | ||
div.NavFrame { | div.NavFrame { | ||
border: 1px solid #aaa; | |||
clear: both; | |||
display: block; | |||
font-size: 95%; | |||
margin-top: 1.5em; | |||
padding: 2px; | |||
text-align: center; | |||
} | } | ||
/* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ | /* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ | ||
div.NavFrame + div.NavFrame { margin-top: -1px; } | div.NavFrame + div.NavFrame { margin-top: -1px; } | ||
div.NavPic { float: left; padding: 2px; } | div.NavPic { float: left; padding: 2px; } | ||
div.NavHead { /* background: #efefef; */ font-weight: bold; } | div.NavHead { /* background: #efefef; */ font-weight: bold; } | ||
/* Redundant zu .visualClear in shared.css und IE60Fixes.css */ | /* Redundant zu .visualClear in shared.css und IE60Fixes.css */ | ||
div.NavEnd { display: none; /* broken */ } | div.NavEnd { display: none; /* broken */ } | ||
div.NavFrame:after { clear: both; content: ""; display: block; } | div.NavFrame:after { clear: both; content: ""; display: block; } | ||
/* Default skin for navigation boxes */ | /* Default skin for navigation boxes */ | ||
table.navbox { | table.navbox { /* Navbox container style */ | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
width: 100%; | width: 100%; | ||
margin: auto; | margin: auto; | ||
clear: both; | clear: both; | ||
| Zeile 126: | Zeile 109: | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
table.navbox + table.navbox { | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | ||
margin-top: -1px; | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | ||
} | } | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
table.navbox th { | table.navbox th { | ||
text-align: center; | text-align: center; /* Title and above/below styles */ | ||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
} | } | ||
.navbox-group { | .navbox-group { /* Group style */ | ||
white-space: nowrap; | white-space: nowrap; | ||
text-align: right; | text-align: right; | ||
| Zeile 150: | Zeile 133: | ||
.navbox-even { background: #f7f7f7; } | .navbox-even { background: #f7f7f7; } | ||
.navbox-odd { background: transparent; } | .navbox-odd { background: transparent; } | ||
.collapseButton { /* 'show'/'hide' buttons created dynamically */ | |||
.collapseButton { | float: right; /* by the CollapsibleTables javascript in */ | ||
float: right; | font-weight: normal; /* [[MediaWiki:Common.js]] are styled here */ | ||
font-weight: normal; | text-align: right; /* so they can be customised. */ | ||
text-align: right; | |||
width: auto; | width: auto; | ||
} | } | ||
.navbox .collapseButton { width: 6em; } | .navbox .collapseButton { width: 6em; } | ||
.navbar { /* Navbox template links */ | |||
.navbar { | font-size: 88%; /* Default font-size */ | ||
font-size: 88%; | |||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.navbox .navbar { font-size: 100%; } | .navbox .navbar { font-size: 100%; } | ||
.nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none; } | .nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none; } | ||
/* Standard-Navigationsleisten (dewiki) */ | /* Standard-Navigationsleisten (dewiki) */ | ||
div.NavFrame { | div.NavFrame { | ||
| Zeile 182: | Zeile 160: | ||
} | } | ||
div.NavPic { background-color: #fff; margin: 0; padding: 2px; float: left; } | div.NavPic { background-color: #fff; margin: 0; padding: 2px; float: left; } | ||
div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } | div.NavFrame div.NavHead { line-height: 1.6em; font-weight: bold; background-color: #ccf; position: relative; } | ||
div.NavFrame p, | div.NavFrame p, | ||
div.NavFrame div.NavContent, | div.NavFrame div.NavContent, | ||
| Zeile 188: | Zeile 166: | ||
div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } | div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } | ||
a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 90%; } | a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 90%; } | ||
/* [[Vorlage:NaviBlock]] */ | /* [[Vorlage:NaviBlock]] */ | ||
div.BoxenVerschmelzen { | div.BoxenVerschmelzen { | ||
border: 1px solid #aaa; | |||
clear: both; | |||
font-size: 95%; | |||
margin-top: 1.5em; | |||
padding-top: 2px; | |||
} | } | ||
div.BoxenVerschmelzen div.NavFrame { | div.BoxenVerschmelzen div.NavFrame { | ||
border: none; | |||
font-size: 100%; | |||
margin: 0; | |||
padding-top: 0; | |||
} | } | ||
/* Warnhinweise */ | /* Warnhinweise */ | ||
.warningcolors { | .warningcolors { | ||
border: 1px solid #bf9090; | |||
background-color: #fbf7f7; | |||
padding: 5px; | |||
font-size: 95%; | |||
color: #510041; | |||
} | } | ||
/* Hinweis */ | /* Hinweis */ | ||
.noticecolors { | .noticecolors { | ||
border: 1px solid #aaaaaa; | |||
background-color: #f9f9f9; | |||
padding: 5px; | |||
font-size: 95%; | |||
color: #000000; | |||
} | } | ||
/* New */ | /* New */ | ||
cite, dfn { font-style: inherit; } | cite, dfn { font-style: inherit; } | ||
| Zeile 230: | Zeile 204: | ||
.mw-body sub, .mw-body sup, span.reference { font-size: 80%; } | .mw-body sub, .mw-body sup, span.reference { font-size: 80%; } | ||
.ns-talk .mw-body-content dd { margin-top:0.4em; margin-bottom:0.4em; } | .ns-talk .mw-body-content dd { margin-top:0.4em; margin-bottom:0.4em; } | ||
/* Main page fixes */ | /* Main page fixes */ | ||
#interwiki-completelist { font-weight: bold; } | #interwiki-completelist { font-weight: bold; } | ||
| Zeile 236: | Zeile 209: | ||
body.page-Main_Page #ca-move { display: none !important; } | body.page-Main_Page #ca-move { display: none !important; } | ||
body.page-Main_Page #mp-topbanner { clear: both; } | body.page-Main_Page #mp-topbanner { clear: both; } | ||
/* Reduce page jumps */ | /* Reduce page jumps */ | ||
.client-js .mw-special-Watchlist #watchlist-message, | .client-js .mw-special-Watchlist #watchlist-message, | ||
.client-js .collapsible.collapsed > tbody > tr:not(:first-child) { display: none; } | .client-js .collapsible.collapsed > tbody > tr:not(:first-child) { display: none; } | ||
span.updatedmarker { background-color: transparent; color: #006400; } | span.updatedmarker { background-color: transparent; color: #006400; } | ||
#toolbar { height: 22px; margin-bottom: 6px; } | #toolbar { height: 22px; margin-bottom: 6px; } | ||
#editpage-specialchars { display: none; } | #editpage-specialchars { display: none; } | ||
body.action-info :target, .citation:target { background-color: rgba(0,127,255,0.133); } | body.action-info :target, .citation:target { background-color: rgba(0,127,255,0.133); } | ||
.citation { word-wrap: break-word; } | .citation { word-wrap: break-word; } | ||
@media screen, handheld { .citation .printonly { display: none; } } | @media screen, handheld { .citation .printonly { display: none; } } | ||
/* Reflist sizes */ | /* Reflist sizes */ | ||
ol.references, div.reflist, div.refbegin { font-size: 100%; margin-bottom: 0.5em; } | ol.references, div.reflist, div.refbegin { font-size: 100%; margin-bottom: 0.5em; } | ||
| Zeile 255: | Zeile 224: | ||
sup.reference { font-weight: normal; font-style: normal; } | sup.reference { font-weight: normal; font-style: normal; } | ||
span.brokenref { display: none; } | span.brokenref { display: none; } | ||
/* Columns helper */ | /* Columns helper */ | ||
div.columns { margin-top: 0.3em; } | div.columns { margin-top: 0.3em; } | ||
| Zeile 262: | Zeile 230: | ||
-webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid-column; | -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid-column; | ||
} | } | ||
/* Flowlist */ | /* Flowlist */ | ||
.flowlist ul { overflow-x: hidden; margin-left: 0; padding-left: 1.6em; } | .flowlist ul { overflow-x: hidden; margin-left: 0; padding-left: 1.6em; } | ||
.flowlist ol { overflow-x: hidden; margin-left: 0; padding-left: 3.2em; } | .flowlist ol { overflow-x: hidden; margin-left: 0; padding-left: 3.2em; } | ||
.flowlist dl { overflow-x: hidden; } | .flowlist dl { overflow-x: hidden; } | ||
/* Horizontal lists */ | /* Horizontal lists */ | ||
.hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } | .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } | ||
| Zeile 288: | Zeile 254: | ||
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | ||
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ")"; font-weight: normal; } | .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { content: ")"; font-weight: normal; } | ||
/* Unbulleted lists */ | /* Unbulleted lists */ | ||
.plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; } | .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; } | ||
.plainlist ol li, .plainlist ul li { margin-bottom: 0; } | .plainlist ol li, .plainlist ul li { margin-bottom: 0; } | ||
/* Navbar template */ | /* Navbar template */ | ||
.navbar { display: inline; font-size: 88%; font-weight: normal; } | .navbar { display: inline; font-size: 88%; font-weight: normal; } | ||
| Zeile 302: | Zeile 266: | ||
.navbox .navbar { display: block; font-size: 100%; } | .navbox .navbar { display: block; font-size: 100%; } | ||
.navbox-title .navbar { float: left; text-align: left; margin-right: 0.5em; width: 6em; } | .navbox-title .navbar { float: left; text-align: left; margin-right: 0.5em; width: 6em; } | ||
/* makeCollapsible toggle */ | /* makeCollapsible toggle */ | ||
.mw-collapsible-toggle { font-weight: normal; } | .mw-collapsible-toggle { font-weight: normal; } | ||
/* .navbox .mw-collapsible-toggle { width: 6em; } | /* .navbox .mw-collapsible-toggle { width: 6em; } (falls nötig) */ | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | } | ||
.infobox-header, | .infobox-header, | ||
| Zeile 335: | Zeile 297: | ||
.infobox-title, .infobox caption { padding: 0.2em; } | .infobox-title, .infobox caption { padding: 0.2em; } | ||
.infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; } | .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; } | ||
/* Wikitable tweaks */ | /* Wikitable tweaks */ | ||
.wikitable.plainrowheaders th[scope=row] { font-weight: normal; text-align: left; } | .wikitable.plainrowheaders th[scope=row] { font-weight: normal; text-align: left; } | ||
.wikitable td ul, .wikitable td ol, .wikitable td dl { text-align: left; } | .wikitable td ul, .wikitable td ol, .wikitable td dl { text-align: left; } | ||
.toc.hlist ul, #toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; } | .toc.hlist ul, #toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; } | ||
/* Media list / gallery */ | /* Media list / gallery */ | ||
div.listenlist { background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat 0 0 transparent; background-size: 30px; padding-left: 40px; } | div.listenlist { background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat 0 0 transparent; background-size: 30px; padding-left: 40px; } | ||
| Zeile 348: | Zeile 308: | ||
div.medialist ul li { padding-bottom: 0.5em; } | div.medialist ul li { padding-bottom: 0.5em; } | ||
div.medialist ul li li { font-size: 91%; padding-bottom: 0; } | div.medialist ul li li { font-size: 91%; padding-bottom: 0; } | ||
/* External link icon for PDFs */ | /* External link icon for PDFs */ | ||
div#content a[href$=".pdf"].external, | div#content a[href$=".pdf"].external, | ||
| Zeile 365: | Zeile 324: | ||
padding-right: 18px; | padding-right: 18px; | ||
} | } | ||
/* Columns helper for Template:Columns */ | /* Columns helper for Template:Columns */ | ||
div.columns-2 div.column { float: left; width: 50%; min-width: 300px; } | div.columns-2 div.column { float: left; width: 50%; min-width: 300px; } | ||
| Zeile 371: | Zeile 329: | ||
div.columns-4 div.column { float: left; width: 25%; min-width: 150px; } | div.columns-4 div.column { float: left; width: 25%; min-width: 150px; } | ||
div.columns-5 div.column { float: left; width: 20%; min-width: 120px; } | div.columns-5 div.column { float: left; width: 20%; min-width: 120px; } | ||
/* Message boxes */ | /* Message boxes */ | ||
.messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 80%; margin: 0 auto 1em; padding: .2em; } | .messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 80%; margin: 0 auto 1em; padding: .2em; } | ||
| Zeile 384: | Zeile 341: | ||
td.mbox-imageright { border: none; padding: 2px 0.9em 2px 0; text-align: center; } | td.mbox-imageright { border: none; padding: 2px 0.9em 2px 0; text-align: center; } | ||
td.mbox-empty-cell { border: none; padding: 0; width: 1px; } | td.mbox-empty-cell { border: none; padding: 0; width: 1px; } | ||
/* Article message box (ambox) */ | /* Article message box (ambox) */ | ||
table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background: #fbfbfb; } | table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background: #fbfbfb; } | ||
| Zeile 396: | Zeile 352: | ||
table.ambox-move { border-left: 10px solid #9932cc; } | table.ambox-move { border-left: 10px solid #9932cc; } | ||
table.ambox-protection { border-left: 10px solid #a2a9b1; } | table.ambox-protection { border-left: 10px solid #a2a9b1; } | ||
/* Image message box (imbox) */ | /* Image message box (imbox) */ | ||
table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #36c; background: #fbfbfb; } | table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #36c; background: #fbfbfb; } | ||
| Zeile 409: | Zeile 364: | ||
table.imbox-license { border: 3px solid #88a; background: #f7f8ff; } | table.imbox-license { border: 3px solid #88a; background: #f7f8ff; } | ||
table.imbox-featured { border: 3px solid #cba135; } | table.imbox-featured { border: 3px solid #cba135; } | ||
/* Category message box (cmbox) */ | /* Category message box (cmbox) */ | ||
table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background: #DFE8FF; } | table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background: #DFE8FF; } | ||
| Zeile 419: | Zeile 373: | ||
table.cmbox-move { background: #E4D8FF; } | table.cmbox-move { background: #E4D8FF; } | ||
table.cmbox-protection { background: #EFEFE1; } | table.cmbox-protection { background: #EFEFE1; } | ||
/* Other pages message box (ombox) */ | /* Other pages message box (ombox) */ | ||
table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background: #f8f9fa; } | table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background: #f8f9fa; } | ||
| Zeile 427: | Zeile 380: | ||
table.ombox-move { border: 1px solid #9932cc; } | table.ombox-move { border: 1px solid #9932cc; } | ||
table.ombox-protection { border: 2px solid #a2a9b1; } | table.ombox-protection { border: 2px solid #a2a9b1; } | ||
/* Talk page message box (tmbox) */ | /* Talk page message box (tmbox) */ | ||
table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; background: #f8eaba; } | table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; background: #f8eaba; } | ||
| Zeile 438: | Zeile 390: | ||
table.tmbox-move { border: 2px solid #9932cc; } | table.tmbox-move { border: 2px solid #9932cc; } | ||
table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; } | table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; } | ||
/* Disambig box */ | /* Disambig box */ | ||
table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; } | table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; } | ||
/* Footer/header message box (fmbox) */ | /* Footer/header message box (fmbox) */ | ||
table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background: #f8f9fa; } | table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background: #f8f9fa; } | ||
| Zeile 458: | Zeile 408: | ||
clear: both; margin: 0.2em 0; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0.25em 0.9em; | clear: both; margin: 0.2em 0; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 0.25em 0.9em; | ||
} | } | ||
/* Small variants */ | /* Small variants */ | ||
html body.mediawiki .mbox-small { | html body.mediawiki .mbox-small { | ||
| Zeile 468: | Zeile 417: | ||
width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; | width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; | ||
} | } | ||
/* Compact ambox */ | /* Compact ambox */ | ||
.compact-ambox table .mbox-image, | .compact-ambox table .mbox-image, | ||
| Zeile 489: | Zeile 437: | ||
} | } | ||
.compact-ambox .hide-when-compact { display: none; } | .compact-ambox .hide-when-compact { display: none; } | ||
/* Noarticletext */ | /* Noarticletext */ | ||
div.noarticletext { border: none; background: transparent; padding: 0; } | div.noarticletext { border: none; background: transparent; padding: 0; } | ||
/* A11y helpers & misc */ | /* A11y helpers & misc */ | ||
.visualhide { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } | .visualhide { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } | ||
| Zeile 498: | Zeile 444: | ||
.hiddenStructure { display: inline !important; color: #f00; background-color: #0f0; } | .hiddenStructure { display: inline !important; color: #f00; background-color: #0f0; } | ||
.check-icon a.new { display: none; speak: none; } | .check-icon a.new { display: none; speak: none; } | ||
.nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none !important; } | .nounderlines a, .IPA a:link, .IPA a:visited { text-decoration: none !important; } | ||
/* Standard Navigationsleisten (nochmals für Kompat.) */ | /* Standard Navigationsleisten (nochmals für Kompat.) */ | ||
div.NavFrame { margin: 0; padding: 4px; border: 1px solid #a2a9b1; text-align: center; border-collapse: collapse; font-size: 95%; } | div.NavFrame { margin: 0; padding: 4px; border: 1px solid #a2a9b1; text-align: center; border-collapse: collapse; font-size: 95%; } | ||
| Zeile 509: | Zeile 453: | ||
div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } | div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } | ||
a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 90%; } | a.NavToggle { position: absolute; top: 0; right: 3px; font-weight: normal; font-size: 90%; } | ||
/* Hatnotes */ | /* Hatnotes */ | ||
.hatnote { font-style: italic; } | .hatnote { font-style: italic; } | ||
| Zeile 515: | Zeile 458: | ||
div.hatnote { padding-left: 1.6em; margin-bottom: 0.5em; } | div.hatnote { padding-left: 1.6em; margin-bottom: 0.5em; } | ||
div.hatnote + div.hatnote { margin-top: -0.5em; } | div.hatnote + div.hatnote { margin-top: -0.5em; } | ||
/* Listify */ | /* Listify */ | ||
.listify td { display: list-item; } | .listify td { display: list-item; } | ||
.listify tr { display: block; } | .listify tr { display: block; } | ||
.listify table { display: block; } | .listify table { display: block; } | ||
/* Geo microformat defaults */ | /* Geo microformat defaults */ | ||
.geo-default, .geo-dms, .geo-dec | .geo-default, .geo-dms, .geo-dec { display: inline; } | ||
.geo-nondefault, .geo-multi-punct { display: none; } | .geo-nondefault, .geo-multi-punct { display: none; } | ||
.longitude, .latitude | .longitude, .latitude { white-space: nowrap; } | ||
/* TOC tweaks */ | /* TOC tweaks */ | ||
.hlist .tocnumber, .hlist .toctext { display: inline; } | .hlist .tocnumber, .hlist .toctext { display: inline; } | ||
.nonumtoc | .nonumtoc #tocnumber { display: none; } | ||
.nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; } | .nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; } | ||
.hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { margin: 0; } | .hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { margin: 0; } | ||
/* TOC level limit */ | /* TOC level limit */ | ||
.toclimit-2 .toclevel-1 ul, | .toclimit-2 .toclevel-1 ul, | ||
| Zeile 539: | Zeile 478: | ||
.toclimit-6 .toclevel-5 ul, | .toclimit-6 .toclevel-5 ul, | ||
.toclimit-7 .toclevel-6 ul { display: none; } | .toclimit-7 .toclevel-6 ul { display: none; } | ||
/* Template:Quote */ | /* Template:Quote */ | ||
blockquote.templatequote div.templatequotecite { | blockquote.templatequote div.templatequotecite { | ||
line-height: 1.5em; text-align: left; padding-left: 1.6em; margin-top: 0; | line-height: 1.5em; text-align: left; padding-left: 1.6em; margin-top: 0; | ||
} | } | ||
/* User block */ | /* User block */ | ||
div.user-block { | div.user-block { | ||
padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; | padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; | ||
} | } | ||
/* No-wrap helpers */ | /* No-wrap helpers */ | ||
.nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; } | .nowrap, .nowraplinks a, .nowraplinks .selflink, sup.reference a { white-space: nowrap; } | ||
.nowrap pre { white-space: pre; } | .nowrap pre { white-space: pre; } | ||
.wrap, .wraplinks a { white-space: normal; } | .wrap, .wraplinks a { white-space: normal; } | ||
/* Template documentation box */ | /* Template documentation box */ | ||
.template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #a2a9b1; background-color: #ecfcf4; padding: 1em; } | .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #a2a9b1; background-color: #ecfcf4; padding: 1em; } | ||
/* Upload box height */ | /* Upload box height */ | ||
#wpUploadDescription { height: 13em; } | #wpUploadDescription { height: 13em; } | ||
/* Minimum thumb width */ | /* Minimum thumb width */ | ||
.thumbinner { min-width: 100px; } | .thumbinner { min-width: 100px; } | ||
/* Gallery backgrounds */ | /* Gallery backgrounds */ | ||
div#content .gallerybox div.thumb { background-color: #f8f9fa; } | div#content .gallerybox div.thumb { background-color: #f8f9fa; } | ||
.gallerybox .thumb img { background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } | .gallerybox .thumb img { background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat; } | ||
.ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background: #fff; } | .ns-0 .gallerybox .thumb img, .ns-2 .gallerybox .thumb img, .ns-100 .gallerybox .thumb img, .nochecker .gallerybox .thumb img { background: #fff; } | ||
/* Prevent floats overlapping certain sections */ | /* Prevent floats overlapping certain sections */ | ||
#mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff { clear: both; } | #mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff { clear: both; } | ||
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback { | body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback { | ||
display: block; margin-bottom: 1em; clear: right; float: right; | display: block; margin-bottom: 1em; clear: right; float: right; | ||
} | } | ||
/* WPB headers */ | /* WPB headers */ | ||
.wpb .wpb-header { display: none; } | .wpb .wpb-header { display: none; } | ||
.wpbs-inner .wpb .wpb-header { display: table-row; } | .wpbs-inner .wpb .wpb-header { display: table-row; } | ||
.wpbs-inner .wpb-outside { display: none; } | .wpbs-inner .wpb-outside { display: none; } | ||
/* AbuseFilter tags */ | /* AbuseFilter tags */ | ||
.mw-tag-markers { font-style:italic; font-size:90%; } | .mw-tag-markers { font-style:italic; font-size:90%; } | ||
/* Hide stuff for special perms (made visible in group CSS) */ | /* Hide stuff for special perms (made visible in group CSS) */ | ||
.sysop-show, .accountcreator-show, .templateeditor-show, .extendedmover-show, .autoconfirmed-show, .user-show { display: none; } | .sysop-show, .accountcreator-show, .templateeditor-show, .extendedmover-show, .autoconfirmed-show, .user-show { display: none; } | ||
/* VE editnotices readability */ | /* VE editnotices readability */ | ||
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink, .mw-ve-editNotice .editnotice-redlink { display: none !important; } | .ve-ui-mwNoticesPopupTool-item .editnotice-redlink, .mw-ve-editNotice .editnotice-redlink { display: none !important; } | ||
/* Permissions error list bullets */ | /* Permissions error list bullets */ | ||
ul.permissions-errors > li { list-style: none; } | ul.permissions-errors > li { list-style: none; } | ||
ul.permissions-errors { margin: 0; } | ul.permissions-errors { margin: 0; } | ||
/* Login labels nowrap */ | /* Login labels nowrap */ | ||
body.page-Special_UserLogin .mw-label label, | body.page-Special_UserLogin .mw-label label, | ||
body.page-Special_UserLogin_signup .mw-label label { white-space: nowrap; } | body.page-Special_UserLogin_signup .mw-label label { white-space: nowrap; } | ||
/* Pie chart transparent borders */ | /* Pie chart transparent borders */ | ||
.transborder { border: solid transparent; } | .transborder { border: solid transparent; } | ||
/* Math & digits */ | /* Math & digits */ | ||
.times-serif, span.texhtml { font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif; font-size: 118%; line-height: 1; } | .times-serif, span.texhtml { font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif; font-size: 118%; line-height: 1; } | ||
| Zeile 618: | Zeile 540: | ||
} | } | ||
.mwe-math-mathml-display math { display: inline; } | .mwe-math-mathml-display math { display: inline; } | ||
/* Prefix index tables */ | /* Prefix index tables */ | ||
table#mw-prefixindex-list-table, table#mw-prefixindex-nav-table { width: 98%; } | table#mw-prefixindex-list-table, table#mw-prefixindex-nav-table { width: 98%; } | ||
/* Portals 2-Spalten / mobil einkolumnig */ | /* Portals 2-Spalten / mobil einkolumnig */ | ||
.portal-column-left { float: left; width: 50%; } | .portal-column-left { float: left; width: 50%; } | ||
| Zeile 637: | Zeile 557: | ||
.portal-column-right-extra-narrow { float: inherit; width: inherit; } | .portal-column-right-extra-narrow { float: inherit; width: inherit; } | ||
} | } | ||
/* Letterhead block */ | /* Letterhead block */ | ||
#bodyContent .letterhead { | #bodyContent .letterhead { | ||
| Zeile 645: | Zeile 564: | ||
background-color: #faf9f2; | background-color: #faf9f2; | ||
} | } | ||
/* Tree style lists */ | /* Tree style lists */ | ||
.treeview ul { padding: 0; margin: 0; } | .treeview ul { padding: 0; margin: 0; } | ||
| Zeile 656: | Zeile 574: | ||
.treeview li.emptyline > ul { margin-left: -1px; } | .treeview li.emptyline > ul { margin-left: -1px; } | ||
.treeview li.emptyline > ul > li:first-child { background-position: 0 9px } | .treeview li.emptyline > ul > li:first-child { background-position: 0 9px } | ||
/* hidden sortkey */ | /* hidden sortkey */ | ||
td .sortkey, th .sortkey { display: none; speak: none; } | td .sortkey, th .sortkey { display: none; speak: none; } | ||
/* Hide checkboxes in <inputbox> */ | /* Hide checkboxes in <inputbox> */ | ||
.inputbox-hidecheckboxes form .inputbox-element, | .inputbox-hidecheckboxes form .inputbox-element, | ||
.inputbox-hidecheckboxes .mw-ui-checkbox { display: none !important; } | .inputbox-hidecheckboxes .mw-ui-checkbox { display: none !important; } | ||
/* Kaltura attribution */ | /* Kaltura attribution */ | ||
.k-player .k-attribution { visibility: hidden; } | .k-player .k-attribution { visibility: hidden; } | ||
/* Video play button bottom-left */ | /* Video play button bottom-left */ | ||
.PopUpMediaTransform a .play-btn-large { margin: 0; top: auto; right: auto; bottom: 0; left: 0; } | .PopUpMediaTransform a .play-btn-large { margin: 0; top: auto; right: auto; bottom: 0; left: 0; } | ||
/* VE editnotices readability */ | /* VE editnotices readability */ | ||
.mw-ve-editNotice .mbox-image { display: none; } | .mw-ve-editNotice .mbox-image { display: none; } | ||
/* Tagline sichtbar (außer auf Hauptseite) */ | /* Tagline sichtbar (außer auf Hauptseite) */ | ||
#siteSub { display: block; } | #siteSub { display: block; } | ||
body.page-Hauptseite.action-view #siteSub, | body.page-Hauptseite.action-view #siteSub, | ||
body.page-Hauptseite.action-submit #siteSub { display: none; } | body.page-Hauptseite.action-submit #siteSub { display: none; } | ||
/* Hide FlaggedRevs notice UI when there are no pending changes */ | /* Hide FlaggedRevs notice UI when there are no pending changes */ | ||
.flaggedrevs_draft_synced, .flaggedrevs_stable_synced { display: none; } | .flaggedrevs_draft_synced, .flaggedrevs_stable_synced { display: none; } | ||
/* Main Page layout helpers */ | /* Main Page layout helpers */ | ||
@media (max-width: 875px) { | @media (max-width: 875px) { | ||
#mp-tfp table, #mp-tfp tr, #mp-tfp td, #mp-tfp tbody { display: block !important; width: 100% !important; box-sizing: border-box; } | |||
#mp-tfp tr:first-child td:first-child a { text-align: center; display: table; margin: 0 auto; } | |||
} | } | ||
@media (min-width: 875px) { | @media (min-width: 875px) { | ||
#mp-upper { display: flex; } | |||
#mp-left { flex: 1 1 50%; margin-right: 2px; } | |||
#mp-right { flex: 1 1 50%; margin-left: 2px; } | |||
} | } | ||
/* ===== Home-Layout ===== */ | /* ===== Home-Layout ===== */ | ||
.hp-container { max-width: 1080px; margin: 0 auto; padding: 8px 12px; } | .hp-container { max-width: 1080px; margin: 0 auto; padding: 8px 12px; } | ||
| Zeile 712: | Zeile 621: | ||
.kat-links a { display:inline-block; padding:6px 10px; border:1px solid #a2a9b1; border-radius:999px; background:#fff; text-decoration:none; } | .kat-links a { display:inline-block; padding:6px 10px; border:1px solid #a2a9b1; border-radius:999px; background:#fff; text-decoration:none; } | ||
.kat-links a:hover { background:#f8f9fa; } | .kat-links a:hover { background:#f8f9fa; } | ||
/* ===== BIOBOX – einzige, saubere Definition ===== */ | /* ===== BIOBOX – einzige, saubere Definition ===== */ | ||
/* Desktop: klassisch rechts, feste Breite */ | /* Desktop: klassisch rechts, feste Breite */ | ||
.mw-parser-output table.biobox{ | .mw-parser-output table.biobox{ | ||
float:right; | float:right; | ||
clear:right; | clear:right; | ||
width:22em; | width:22em; /* ~352px; stabile Desktopbreite */ | ||
margin:0.5em 0 | margin:0.5em 0 0.5em 1em; | ||
border:1px solid #c8ccd1; | border:1px solid #c8ccd1; | ||
background:#fff; | background:#fff; | ||
| Zeile 736: | Zeile 643: | ||
} | } | ||
.mw-parser-output table.biobox td[colspan="2"]{ text-align:center; } | .mw-parser-output table.biobox td[colspan="2"]{ text-align:center; } | ||
/* Fotozelle ohne Innenrahmen/Abstand */ | /* Fotozelle ohne Innenrahmen/Abstand */ | ||
.mw-parser-output table.biobox .biobox-photo{ | .mw-parser-output table.biobox .biobox-photo{ | ||
| Zeile 743: | Zeile 649: | ||
background:transparent !important; | background:transparent !important; | ||
} | } | ||
/* Bild: immer auf Boxbreite skalieren (kein „Rahmen im Rahmen“) */ | /* Bild: immer auf Boxbreite skalieren (kein „Rahmen im Rahmen“) */ | ||
.mw-parser-output table.biobox .biobox-img{ | .mw-parser-output table.biobox .biobox-img{ | ||
| Zeile 760: | Zeile 665: | ||
height:auto !important; | height:auto !important; | ||
} | } | ||
/* Thumbs in der Biobox nicht doppelt einrahmen */ | /* Thumbs in der Biobox nicht doppelt einrahmen */ | ||
.mw-parser-output table.biobox .thumb, | .mw-parser-output table.biobox .thumb, | ||
| Zeile 768: | Zeile 672: | ||
background:transparent !important; | background:transparent !important; | ||
} | } | ||
/* Falls direkt danach eine rechte Social-Tabelle kommt */ | /* Falls direkt danach eine rechte Social-Tabelle kommt */ | ||
.mw-parser-output table.biobox + table[align="right"]{ | .mw-parser-output table.biobox + table[align="right"]{ | ||
| Zeile 774: | Zeile 677: | ||
margin:0 0 1em 1em; | margin:0 0 1em 1em; | ||
} | } | ||
/* --- Mobile: volle Breite, kein Überstand, Text darunter --- */ | /* --- Mobile: volle Breite, kein Überstand, Text darunter --- */ | ||
@media (max-width:768px){ | @media (max-width:768px){ | ||
| Zeile 792: | Zeile 694: | ||
.mw-parser-output > p:first-of-type{ clear:both !important; } | .mw-parser-output > p:first-of-type{ clear:both !important; } | ||
} | } | ||
/* === Biobox: Foto ohne Innenrahmen, wirklich volle Breite === */ | /* === Biobox: Foto ohne Innenrahmen, wirklich volle Breite === */ | ||
.mw-parser-output table.biobox .biobox-photo, | .mw-parser-output table.biobox .biobox-photo, | ||
| Zeile 801: | Zeile 702: | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* Link-Wrapper und Bild auf Zellenbreite strecken */ | /* Link-Wrapper und Bild auf Zellenbreite strecken */ | ||
.mw-parser-output table.biobox .biobox-photo a.image, | .mw-parser-output table.biobox .biobox-photo a.image, | ||
| Zeile 812: | Zeile 712: | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
/* Biobox-Foto: wirklich bündig ohne Luft oben/unten */ | /* Biobox-Foto: wirklich bündig ohne Luft oben/unten */ | ||
.mw-parser-output table.biobox td.biobox-photo { | .mw-parser-output table.biobox td.biobox-photo { | ||
padding: 0 !important; | padding: 0 !important; | ||
line-height: 0 !important; | line-height: 0 !important; /* killt den Baseline-Gap */ | ||
} | } | ||
/* Nochmals harte Regeln für die direkten Kinder */ | /* Nochmals harte Regeln für die direkten Kinder */ | ||
.mw-parser-output table.biobox td.biobox-photo a.image, | .mw-parser-output table.biobox td.biobox-photo a.image, | ||
| Zeile 831: | Zeile 729: | ||
height: auto !important; | height: auto !important; | ||
} | } | ||
/* ====== LETZTE SICHERUNGEN GEGEN „LUFT“ IN DER FOTOZELLE ====== */ | /* ====== LETZTE SICHERUNGEN GEGEN „LUFT“ IN DER FOTOZELLE ====== */ | ||
/* Biobox-Foto: Ultimative Null-Luft-Fix (übersteuert alle Wrapper) */ | /* Biobox-Foto: Ultimative Null-Luft-Fix (übersteuert alle Wrapper) */ | ||
| Zeile 844: | Zeile 741: | ||
overflow: hidden !important; /* Verhindert Überhänge */ | overflow: hidden !important; /* Verhindert Überhänge */ | ||
} | } | ||
.mw-parser-output table.biobox td.biobox-photo > * { | .mw-parser-output table.biobox td.biobox-photo > * { | ||
margin: 0 !important; | margin: 0 !important; | ||
| Zeile 852: | Zeile 748: | ||
display: block !important; /* Stellt sicher, dass alles block-level ist */ | display: block !important; /* Stellt sicher, dass alles block-level ist */ | ||
} | } | ||
/* Speziell für MediaWiki-Wrapper um das Bild (thumb, figure, etc.) */ | /* Speziell für MediaWiki-Wrapper um das Bild (thumb, figure, etc.) */ | ||
.mw-parser-output table.biobox td.biobox-photo .thumb, | .mw-parser-output table.biobox td.biobox-photo .thumb, | ||
| Zeile 869: | Zeile 764: | ||
display: block !important; | display: block !important; | ||
} | } | ||
/* Das Bild selbst und sein Link */ | /* Das Bild selbst und sein Link */ | ||
.mw-parser-output table.biobox td.biobox-photo a.image, | .mw-parser-output table.biobox td.biobox-photo a.image, | ||
| Zeile 887: | Zeile 781: | ||
font-size: 0 !important; | font-size: 0 !important; | ||
} | } | ||
/* Mobile-Spezifika (falls nötig, um Überstände zu vermeiden) */ | /* Mobile-Spezifika (falls nötig, um Überstände zu vermeiden) */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
| Zeile 896: | Zeile 789: | ||
/* (am Ende der Datei, damit sie garantiert gewinnen) */ | /* (am Ende der Datei, damit sie garantiert gewinnen) */ | ||
.mw-parser-output table.biobox td.biobox-photo { | .mw-parser-output table.biobox td.biobox-photo { | ||
font-size: 0 !important; | font-size: 0 !important; /* entfernt Restabstand durch Inline-Baseline */ | ||
} | } | ||
.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, | ||
.mw-parser-output table.biobox td.biobox-photo .biobox-img { | .mw-parser-output table.biobox td.biobox-photo .biobox-img { | ||
vertical-align: top !important; | vertical-align: top !important; /* falls Browser trotzdem eine Baseline nutzen will */ | ||
} | } | ||
/* Manche MediaWiki-Installationen rendern Bilder in <figure> oder Thumb-Hüllen */ | /* Manche MediaWiki-Installationen rendern Bilder in <figure> oder Thumb-Hüllen */ | ||
.mw-parser-output table.biobox td.biobox-photo figure, | .mw-parser-output table.biobox td.biobox-photo figure, | ||
| Zeile 914: | Zeile 806: | ||
background: transparent !important; | background: transparent !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | |||
/* Biobox: Upload-Hinweis im Fotoblock wieder sichtbar machen */ | |||
.mw-parser-output table.biobox td.biobox-photo .biobox-upload { | |||
font-size: 0.9rem !important; /* Oder 0.81em, um 90% der Biobox-Font (90%) zu simulieren */ | |||
line-height: 1.4 !important; | |||
padding: 0.3em 0.4em !important; | |||
text-align: center !important; | |||
display: block !important; | |||
} | } | ||
/* Verstecke die 'aus BUSENFREUNDINNEN'-Zeile unter dem Titel */ | /* Verstecke die 'aus BUSENFREUNDINNEN'-Zeile unter dem Titel */ | ||
#siteSub { | #siteSub { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Biobox: Abstand zum folgenden Text entfernen (Grundabstand, ohne !important) */ | |||
.mw-parser-output table.biobox { | |||
margin-top: 0.5em !important; /* Einheitlicher Abstand oben – passe bei Bedarf auf 0em oder 1em an */ | |||
} | |||
/* Kein sichtbarer Abstand direkt nach der Biobox (egal welches Element) */ | |||
.mw-parser-output table.biobox + * { | |||
margin-top: 0 !important; | |||
} | |||
table.nosort.sortable th.headerSort { | |||
background-image: none !important; /* Entfernt Pfeile */ | |||
cursor: default !important; /* Kein Cursor-Wechsel */ | |||
pointer-events: none !important; /* Deaktiviert Klicks */ | |||
} | |||
table.nosort.sortable th.headerSort:hover { | |||
background-color: inherit !important; /* Kein Hover-Effekt */ | |||
} | |||
.mw-parser-output table.biobox { | |||
margin-top: 0 !important; /* Entfernt den oberen Abstand vollständig */ | |||
} | |||
#firstHeading { | |||
margin-bottom: 0 !important; /* Entfernt Abstand unter der Überschrift */ | |||
padding-bottom: 0 !important; /* Entfernt Padding unter der Überschrift */ | |||
} | |||
.mw-parser-output > *:first-child { | |||
margin-top: 0 !important; /* Für das erste Element (Biobox) – redundant, aber sicher */ | |||
} | |||
.mw-parser-output table.biobox + p, | |||
.mw-parser-output p:first-of-type { | |||
margin-top: 0 !important; /* Entfernt Abstand oben beim ersten Absatz nach der Biobox */ | |||
} | |||
/* ========== HAUPTSEITE: Responsive Layout (nur Mobile) ========== */ | |||
@media (max-width: 800px) { | |||
/* News (3 Spalten) -> untereinander (nur Hauptseite) */ | |||
body.page-Hauptseite .startseite-news tr { display: block; } | |||
body.page-Hauptseite .startseite-news td { | |||
display: block; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
/* Box-Reihen (2er/3er/4er) -> untereinander (nur Hauptseite) */ | |||
body.page-Hauptseite .startseite-boxrow, | |||
body.page-Hauptseite .startseite-boxrow tbody, | |||
body.page-Hauptseite .startseite-boxrow tr, | |||
body.page-Hauptseite .startseite-boxrow td { | |||
display: block; | |||
width: 100% !important; | |||
box-sizing: border-box; | |||
} | |||
/* Spacer-Zellen ausblenden */ | |||
body.page-Hauptseite .startseite-spacer { | |||
display: none !important; | |||
} | |||
/* Abstand zwischen den Boxen (nur echte Box-Zellen) */ | |||
body.page-Hauptseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"] { | |||
margin-bottom: 12px; | |||
} | |||
body.page-Hauptseite .startseite-boxrow td[style*="border:1px solid #ef9a9a"]:last-child { | |||
margin-bottom: 0; | |||
} | |||
/* Optional: Bilder in Boxen auf Mobile nicht links quetschen */ | |||
body.page-Hauptseite .startseite-boxrow img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
} | } | ||