MediaWiki:Common.css: Difference between revisions
From Xenharmonic Reference
No edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
/* Doing it this way instead of ".wikitable th" is more proper because it only applies to the top-level <th> and not nested tables used for formatting purposes */ | /* Doing it this way instead of ".wikitable th" is more proper because it only applies to the top-level <th> and not nested tables used for formatting purposes */ | ||
.wikitable > tr > th, | .wikitable > tr > th, | ||
.wikitable > * > tr > th { | .wikitable > * > tr > th, | ||
caption { | |||
color: #fff; | color: #fff; | ||
background-color: #76f; | background-color: #76f; | ||
} | } | ||
Revision as of 14:01, 26 October 2025
/* Global table changes */
/* Doing it this way instead of ".wikitable th" is more proper because it only applies to the top-level <th> and not nested tables used for formatting purposes */
.wikitable > tr > th,
.wikitable > * > tr > th,
caption {
color: #fff;
background-color: #76f;
}