MediaWiki:Common.css: Difference between revisions

From Xenharmonic Reference
mNo edit summary
mNo edit summary
Line 1: Line 1:
/* 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 {
  color: #fff;
    color: #fff;
  background-color: #76f;
    background-color: #76f;
}
}

Revision as of 14:45, 25 October 2025

/* 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 {
    color: #fff;
    background-color: #76f;
}