MediaWiki:Common.css: Difference between revisions
From Xenharmonic Reference
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
html, | |||
body { | |||
color: #fff; | |||
background-color: #000; | |||
} | |||
/* Make content areas transparent so the background shows through */ | |||
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */ | |||
body.skin-timeless .mw-body, | |||
body.skin-timeless .mw-body-content, | |||
body.skin-timeless .content-wrapper, | |||
body.skin-timeless .page-container { | |||
background-color: transparent !important; | |||
} | |||
/* 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, | ||
Revision as of 14:57, 25 October 2025
html,
body {
color: #fff;
background-color: #000;
}
/* Make content areas transparent so the background shows through */
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */
body.skin-timeless .mw-body,
body.skin-timeless .mw-body-content,
body.skin-timeless .content-wrapper,
body.skin-timeless .page-container {
background-color: transparent !important;
}
/* 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;
}