MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Thomas (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 24: | Zeile 24: | ||
table.alternate tr:nth-child(odd) { | table.alternate tr:nth-child(odd) { | ||
background-color: rgb(222, 227, 231); | background-color: rgb(222, 227, 231); | ||
} | |||
// von Wikipedia: | |||
/* wikitable/prettytable class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaa solid; | |||
padding: 0.2em; | |||
} | |||
table.wikitable th, | |||
table.prettytable th { | |||
background: #f2f2f2; | |||
text-align: center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | |||
table.prettytable code, | |||
table.wikitable code { | |||
background-color: transparent; | |||
} | } | ||
Version vom 28. Februar 2008, 10:26 Uhr
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */ /* Folgendes soll auf der Hauptseite nicht angezeigt werden: */ .page-Hauptseite #lastmod, .page-Hauptseite #siteSub, .page-Hauptseite #contentSub, .page-Hauptseite h1.firstHeading { display: none !important; } .page-Hauptseite #commentform { display: none; } #pt-mytalk { display: none !important; } /* für die Google-Suche */ iframe { height:1100px; } /* Tabellen (wird von Spezial:Neues_Spiel verwendet) */ .row1 { background-color: rgb(239, 239, 239); } .row2 { background-color: rgb(222, 227, 231); } table.alternate tr:nth-child(even) { background-color: rgb(239, 239, 239); } table.alternate tr:nth-child(odd) { background-color: rgb(222, 227, 231); } // von Wikipedia: /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable th, table.prettytable th { background: #f2f2f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } table.prettytable code, table.wikitable code { background-color: transparent; } table.alternate { border: 1px #aaa solid; border-collapse: collapse; background-color: rgb(222, 227, 231); }