MediaWiki:Common.css

From Practices and Politics of Representation
Revision as of 04:35, 2 July 2025 by Admin (talk | contribs)
Jump to navigation Jump to search

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.
/* ── Remove white frames, borders, and background from images, tables, galleries ── */

/* General content wrapper */
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body {
  background: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Image thumbs & galleries */
.thumbinner, .thumb, .gallerybox, .gallery, .thumbcaption {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Right-aligned infobox or content box */
table.infobox, .infobox, .toc, .navbox, .metadata, .mw-parser-output table {
  background: transparent !important;
  border: none !important;
}

/* Remove table borders globally */
table, th, td {
  border: none !important;
  background: transparent !important;
}

/* Force page background to full black */
html, body {
  background-color: #000 !important;
}