MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Rovo (Diskussion | Beiträge) (Für Tabellen wie in Wikipedia) |
||
| Zeile 39: | Zeile 39: | ||
.hauptseite-links { | .hauptseite-links { | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
} | } | ||
| Zeile 58: | Zeile 57: | ||
#hauptseite-infokasten { | #hauptseite-infokasten { | ||
min-height: 235px; | min-height: 235px; | ||
} | |||
/** Für Tabellen wie in Wikipedia */ | |||
.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 2. Oktober 2007, 23:53 Uhr
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */
/** Erweiterungen für die Hauptseite **/
#hauptseite h2 {
background-color: #3E5E7D;
border: 1px solid #1E608E;
color: white;
font-size: 1.2em;
font-weight: bold;
margin-top: 0;
margin-bottom: 0;
padding-top: 0.1em;
padding-bottom: 0.1em;
}
#hauptseite .inhalt {
background-color: #ffffff;
border: 1px solid #1E608E;
border-top: 0px solid white;
padding: 0.3em 0.8em 0.4em 0.8em;
}
#hauptseite .inhalt hr {
background-color: #1E608E;
color: #8898bf;
height: 1px;
margin:0.5em 0;
padding: 0;
}
.hauptseite-oben,
.hauptseite-unten,
.hauptseite-links,
.hauptseite-rechts {
margin-bottom: 1em;
}
.hauptseite-links {
margin-right: 0.5em;
}
.hauptseite-rechts {
margin-left: 0.5em;
}
.hauptseite-oben h2,
.hauptseite-unten h2 {
text-align: center;
}
.hauptseite-links h2,
.hauptseite-rechts h2 {
text-indent: 0.8em;
}
#hauptseite-infokasten {
min-height: 235px;
}
/** Für Tabellen wie in Wikipedia */
.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;
}