MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Darstellungsdefinitionen für Tabellen aus der Wikipedia Deutschland übernommen.) |
|||
| Zeile 1: | Zeile 1: | ||
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */ | /** CSS an dieser Stelle wirkt sich auf alle Skins aus */ | ||
| − | /** | + | /** Definitionen aus Wikipedia: http://de.wikipedia.org/wiki/MediaWiki:Common.css **/ |
| + | .wikitable, | ||
| + | .prettytable { | ||
| + | margin: 1em 1em 1em 0; | ||
| + | background: #f9f9f9; | ||
| + | border: 1px #AAA solid; | ||
| + | border-collapse: collapse; | ||
| + | empty-cells:show; | ||
| + | } | ||
| + | |||
| + | .wikitable th, .wikitable td, | ||
| + | .prettytable th, .prettytable td { | ||
| + | border: 1px #AAA solid; | ||
| + | padding: 0.3em; | ||
| + | } | ||
| + | |||
| + | .wikitable caption, | ||
| + | .prettytable caption { | ||
| + | margin-left: inherit; | ||
| + | margin-right: inherit; | ||
| + | font-weight: bold; | ||
| + | } | ||
Version vom 25. Juni 2008, 17:07 Uhr
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
/** Definitionen aus Wikipedia: http://de.wikipedia.org/wiki/MediaWiki:Common.css **/
.wikitable,
.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #AAA solid;
padding: 0.3em;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}