MediaWiki:Common.css: Difference between revisions

From GCD
Jump to navigation Jump to search
No edit summary
(Style both even and odd rows for striped tables)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.stripe tr:nth-child(odd) {
.stripe tr:nth-child(odd) {
     background-color: #555;
     background-color: #fff;
}
.stripe tr:nth-child(even) {
    background-color: #f5f5f5;
}
}

Revision as of 14:46, 30 October 2015

/* CSS placed here will be applied to all skins */
.stripe tr:nth-child(odd) {
    background-color: #fff;
}
.stripe tr:nth-child(even) {
    background-color: #f5f5f5;
}