MediaWiki:Common.css
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* =========================================
Common.css – wirkt auf alle Skins
Aufgeräumte, stabile Version (Bunnypedia)
========================================= */
/** Grundlegende Formatierungen **/
.portlet h5, .portlet h6, #p-personal ul, #p-cactions li a { text-transform: none; }
.page-Hauptseite .firstHeading { display: none; }
div.topicon { position: absolute; z-index: 10; top: 10px; display: block !important; }
.my-buttons { padding: 0.5em; }
.my-buttons a {
color: black; background-color: #F9F9F9 !important;
font-weight: normal; font-size: 0.9em; text-decoration: none;
border: thin #7D8891 outset; padding: 0 0.1em 0.1em 0.1em;
}
.my-buttons a:hover, .my-buttons a:active {
background-color: #AAAAAA; border-style: inset;
}
/* ===== Tabellen ===== */
table.wikitable, table.prettytable {
margin: 1em 1em 1em 0; background: #F9F9F9;
border: 1px #AAA solid; border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #AAA solid; padding: 0.2em;
}
table.wikitable th, table.prettytable th {
background: #F2F2F2; text-align: center;
}
table.wikitable caption, table.prettytable caption {
margin-left: inherit; margin-right: inherit;
}
/* ===== Infobox allgemein ===== */
.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;
box-sizing: border-box;
}
.infobox th, .infobox td { vertical-align: top; }
.infobox caption, .infobox .infobox-title { font-weight: bold; text-align: center; }
/* ====== Biobox (Bunnypedia) ====== */
/* Desktop-Grundlayout */
.mw-parser-output table.biobox {
float: right;
clear: right;
width: 22em;
margin: 0.5em 0 1em 1em;
border: 1px solid #c8ccd1;
background: #fff;
border-collapse: collapse;
box-sizing: border-box;
font-size: 90%;
line-height: 1.5;
}
.mw-parser-output table.biobox td,
.mw-parser-output table.biobox th {
border: 0;
padding: 0.2em 0.4em;
vertical-align: top;
text-align: left;
}
.mw-parser-output table.biobox td[colspan="2"] { text-align: center; }
/* Foto bündig, kein Rahmen, keine Luft */
.mw-parser-output table.biobox td.biobox-photo {
padding: 0 !important;
border: 0 !important;
background: transparent !important;
line-height: 0 !important;
}
.mw-parser-output table.biobox td.biobox-photo img,
.mw-parser-output table.biobox td.biobox-photo a.image img {
display: block !important;
width: 100% !important;
height: auto !important;
margin: 0 !important;
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
}
/* Neutralisiere MediaWiki-Thumbnails */
.mw-parser-output table.biobox .thumb,
.mw-parser-output table.biobox .thumbinner,
.mw-parser-output table.biobox img.thumbimage {
background: transparent !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
box-shadow: none !important;
}
/* Social-Links: rechts unter Biobox */
.mw-parser-output .bio-social {
float: right;
clear: right;
width: 22em;
margin: 0 0 1em 1em;
background: transparent !important;
border: none !important;
padding: 0 !important;
box-sizing: border-box;
}
.mw-parser-output .bio-social table {
width: 100%;
border: none;
background: transparent;
margin: 0;
padding: 0;
}
/* Kein Abstand zwischen Biobox und Text */
.mw-parser-output table.biobox + p,
.mw-parser-output .bio-social + p {
margin-top: 0 !important;
clear: none !important;
}
/* Zusätzliche Boxen darunter sichtbar halten */
.mw-parser-output .biobox ~ .infobox,
.mw-parser-output .biobox ~ table.infobox {
clear: both !important;
margin-top: 1em;
}
/* Mobile Layout */
@media (max-width: 768px) {
.mw-parser-output table.biobox,
.mw-parser-output .bio-social {
float: none !important;
clear: both !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
}
}
/* ===== Messageboxes etc. ===== */
table.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em;
padding: .2em;
}
.messagebox.small {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
}