MediaWiki:Common.css: Difference between revisions

From Xenharmonic Reference
mNo edit summary
mNo edit summary
Line 3: Line 3:
.wikitable > tr > th,
.wikitable > tr > th,
.wikitable > * > tr > th,
.wikitable > * > tr > th,
caption {
.wikitable > 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,
.wikitable > caption {
    color: #fff;
    background-color: #76f;
}