MediaWiki:Common.css: Difference between revisions
From Xenharmonic Reference
No edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* Global site background */ | |||
html, | html, | ||
body { | body { | ||
| Line 5: | Line 6: | ||
} | } | ||
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */ | /* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */ | ||
/* Remove white/gray backgrounds covering the body */ | |||
body.skin-timeless .mw-page-container, | |||
body.skin-timeless .mw-body, | body.skin-timeless .mw-body, | ||
body.skin-timeless .mw-body-content, | body.skin-timeless .mw-body-content, | ||
body.skin-timeless .content-container, | |||
body.skin-timeless .content-wrapper, | body.skin-timeless .content-wrapper, | ||
body.skin-timeless . | body.skin-timeless .mw-content-container { | ||
background- | background: transparent !important; | ||
} | |||
/* Make sidebar and header also transparent*/ | |||
body.skin-timeless .mw-header, | |||
body.skin-timeless .mw-footer, | |||
body.skin-timeless .mw-portlet, | |||
body.skin-timeless .mw-sidebar { | |||
background: transparent !important; | |||
} | |||
/* Recolor text here too */ | |||
body.skin-timeless #content, | |||
body.skin-timeless .mw-body-content { | |||
color: #fff; | |||
} | } | ||
/* 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 > tr > th, | .wikitable > tr > th, | ||
Revision as of 15:01, 25 October 2025
/* Global site background */
html,
body {
color: #fff;
background-color: #000;
}
/* Timeless was chosen as the default skin because it's optimized for responsive screen sizes */
/* Remove white/gray backgrounds covering the body */
body.skin-timeless .mw-page-container,
body.skin-timeless .mw-body,
body.skin-timeless .mw-body-content,
body.skin-timeless .content-container,
body.skin-timeless .content-wrapper,
body.skin-timeless .mw-content-container {
background: transparent !important;
}
/* Make sidebar and header also transparent*/
body.skin-timeless .mw-header,
body.skin-timeless .mw-footer,
body.skin-timeless .mw-portlet,
body.skin-timeless .mw-sidebar {
background: transparent !important;
}
/* Recolor text here too */
body.skin-timeless #content,
body.skin-timeless .mw-body-content {
color: #fff;
}
/* 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 {
color: #fff;
background-color: #76f;
}