MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus WikiReal
Wechseln zu: Navigation, Suche
(Datei angelegt)
 
(kein Unterschied)

Aktuelle Version vom 23. September 2011, 14:11 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
 
/* Keine erhöhten Zeilenabstände bei Super- und Subscripts */
sup, sub { line-height: 0 }
 
/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).   ### Funktioniert nicht, siehe Vorlage TOC limit!? ###
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
 
/* Größerer Abstand zwischen TOC-Nummerierung und TOC-Eintrag */
span.tocnumber {
	margin-right: 0.3em;
}
 
/* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */
.wikitable,
.prettytable {
	background: #f9f9f9;
	border: 1px solid #aaa;
	border-collapse: collapse;
	margin: 1em 1em 1em 0;
}
.prettytable th,
.prettytable td {
	border: 1px solid #aaa;
	padding: 0.2em;
}
.prettytable th {
	text-align: center;
}
.prettytable caption {
	font-weight: bold;
}
 
/* Zebra-Tabellen */
table.wikitable.zebra tr:nth-child(even) {
	background: white;
}
 
.nogrid th,
.nogrid td {
	border: none;
}
div.float-left,
table.float-left,
ul.float-left,
.float-left {
	clear: left;
	float: left;
	margin: 1em 1em 1em 0;
}
div.float-right,
table.float-right,
ul.float-right,
.float-right {
	clear: right;
	float: right;
	margin: 1em 0 1em 1em;
}
div.centered,
table.centered,
ul.centered,
.centered {
	margin-left: auto;
	margin-right: auto;
}
.toptextcells td {
	vertical-align: top;
}
 
/* gleicher vertikaler Abstand für Text und Listen in Tabellen */
table ul, table p {
	margin-top: .3em;
}