MediaWiki:Common.css
From Xenharmonic Reference
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}