MediaWiki:Common.css
Aus Stabführer.de
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
div.NavFrame {
border: 1px solid #aaa;
clear: both;
font-size: 95%;
margin-top: 1.5em;
min-height: 0; /* IE 7 */
padding: 2px;
text-align: center;
}
div.NavPic {
float: left;
padding: 2px;
}
div.NavHead {
background: #efefef;
font-weight: bold;
}
div.NavFrame:after {
clear: both;
content: "";
display: block;
}
/*
* Stylesheet für den „Ausklappen“-Button an Navigationsleisten, der in
* [[MediaWiki:Common.js]] implementiert wird
*/
.NavToggle {
float: right;
font-size: x-small;
}
/* Automatisches Verschmelzen benachbarter Navigationsleisten */
div.NavFrame + div.NavFrame {
margin-top: -1px;
}
/*
* Verschmelzen mittels [[Vorlage:NaviBlock]]
* Im Gegensatz zum automatischen Verschmelzen gibt es bei dieser Variante keine
* Trennlinie zwischen den Leisten. Möglicherweise war dies ursprünglich nur ein
* IE-6-Workaround, da das automatische Verschmelzen im IE 6 nicht funktioniert.
*/
div.BoxenVerschmelzen {
border: 1px solid #aaa;
clear: both;
font-size: 95%;
margin-top: 1.5em;
padding-top: 2px;
}
div.BoxenVerschmelzen div.NavFrame {
border: none;
font-size: 100%;
margin: 0;
padding-top: 0;
}
/*
* Lokal erhalten gebliebene Kopie der ehemals global vorhandenen Klasse
* „townBox“; vgl. [[rev:2909]], [[rev:36662]], [[Wikipedia:Archiv/TownBox]];
* ehemals verwendet in [[Wikipedia:Formatvorlage Charts]], siehe
* https://de.wikipedia.org/w/index.php?diff=57274184&oldid=56781842; Ersatz
* durch [[Vorlage:Infobox Chartplatzierungen]], die diese Klasse nicht nutzt
*/
div.sideBox {
background: white;
border: 1px solid gray;
clear: right;
float: right;
margin-left: 1em;
padding: .3em;
width: 200px;
}
div.sideBox dl {
font-size: 96%;
margin: 0 0 .3em;
}
div.sideBox dt {
margin: .4em 0 0;
}
div.sideBox dd {
background: #f3f3f3;
margin: .1em 0 0 1.1em;
}
/*
* Stylesheet-Ergänzung für [[Vorlage:Taxobox]], mitbenutzt von
* [[Vorlage:Infobox Virus]]; ehemals in nativen Tabellen außerhalb
* programmierter Vorlagen verwendet, vgl. [[Wikipedia:Taxoboxen]], konkret
* https://de.wikipedia.org/w/index.php?diff=37690951&oldid=36341210; siehe auch
* [[Vorlage:Taxobox/Doku/Tech]]
*/
table.taxobox {
background: white;
border: 1px solid gray;
border-collapse: collapse;
/* Redundant zur Klasse „float-right“ weiter unten */
clear: right;
float: right;
margin: 1em 0 1em 1em;
}
table.taxobox > * > * > th {
background: #9bcd9b;
border: 1px solid gray;
text-align: center;
}
table.taxobox.palaeobox > * > * > th {
background: #e7dcc3;
}
table.taxobox > * > * > td.Person,
table.taxobox > * > * > td.taxo-name,
table.taxobox > * > * > td.taxo-bild,
table.taxobox.palaeobox > * > * > td.taxo-zeit {
text-align: center;
}
/*
* Zebra-Tabellen. Bei Verwendung zusammen mit „rowspan“ richtet sich die Farbe
* jeder Zelle nach der ersten Zeile, zu der die Zelle gehört.
*/
table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"]) {
background: white;
}
.rand1 {
border: 1px solid red;
}
.hintergrund1 {
background-color: #fcc;
}
/* standard link colors */
.mw-body a:link { color: #a00; } /* normal unvisited links */
.mw-body a:link:visited { color: #a00; } /* visited links */
.mw-body a:link:active { color: #FF0000; } /* active links */
.mw-body a:link.new { color: #FF0000; } /* new links */
.mw-body a:link.interwiki { color: #3366BB; } /* interwiki links */
.mw-body a:link.external { color: #3366BB; } /* external links */
.mw-body a:link.stub { color: #772233; } /* hovered links */
.mw-body a:link {color: #FF0000}
.mw-body a:visited {color: #00FF00}
.mw-body a:hover {color: #FF00FF}
.mw-body a:active {color: #0000FF}
