MediaWiki:Common.css: Difference between revisions

From Xenharmonic Reference
mNo edit summary
mNo edit summary
Line 6: Line 6:
/* Global table changes */
/* 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 */
/* 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 {
    color: #fff;
    background-color: #223;
}
.wikitable > tr > th,
.wikitable > tr > th,
.wikitable > * > tr > th,
.wikitable > * > tr > th,
.wikitable > caption {
.wikitable > caption {
    color: #fff;
     background-color: #445;
     background-color: #76f;
}
.wikitable > tr > th > a,
.wikitable > * > tr > th > a,
.wikitable > caption > a {
    color: #fff;
}
}

Revision as of 02:41, 2 December 2025

/* XenBase <adv> tag, TODO finish formatting */
adv {
    border: 1px solid f6e;
}

/* 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 {
    color: #fff;
    background-color: #223;
}
.wikitable > tr > th,
.wikitable > * > tr > th,
.wikitable > caption {
    background-color: #445;
}