MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Recorder-Wiki
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „Das folgende CSS wird für alle Benutzeroberflächen geladen.: .toptextcells td { vertical-align: top; }“)
 
Zeile 3: Zeile 3:
 
.toptextcells td {
 
.toptextcells td {
 
vertical-align: top;
 
vertical-align: top;
 +
}
 +
 +
/* Zebra-Tabellen */
 +
table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"]) {
 +
background: white;
 +
}
 +
 +
.nogrid th,
 +
.nogrid td {
 +
border: none;
 +
}
 +
/* @noflip */div.float-left,
 +
table.float-left,
 +
ul.float-left,
 +
.float-left {
 +
clear: left;
 +
float: left;
 +
margin: 1em 1em 1em 0;
 +
}
 +
/* @noflip */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;
 
}
 
}

Version vom 26. April 2013, 17:05 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

.toptextcells td {
	vertical-align: top;
}

/* Zebra-Tabellen */
table.wikitable.zebra > tbody > :nth-child(even):not([class*="hintergrundfarbe"]) {
	background: white;
}
 
.nogrid th,
.nogrid td {
	border: none;
}
/* @noflip */div.float-left,
table.float-left,
ul.float-left,
.float-left {
	clear: left;
	float: left;
	margin: 1em 1em 1em 0;
}
/* @noflip */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;
}