MediaWiki:Common.css: Difference between revisions

From Practices and Politics of Representation
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* === BASE === */
/* === BASE STRUCTURE === */
html, body,
html, body,
#content, #bodyContent,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
.mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#mw-panel, #p-navigation, #p-tb, .portal,
#footer, #footer-info, #footer-icons,
#footer, #footer-info, #footer-icons,
#searchform, .vector-menu-tabs, #p-views {
.vector-menu-tabs, #p-views,
#searchform, .printfooter, #catlinks, .catlinks {
   background-color: #000 !important;
   background-color: #000 !important;
   color: #fff !important;
   color: #fff !important;
Line 13: Line 13:
}
}


/* === HEADINGS (no lines) === */
/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   color: #fff !important;
   color: #fff !important;
Line 31: Line 31:


/* === SEARCH BAR === */
/* === SEARCH BAR === */
#searchInput, #searchButton,
#searchInput, #searchGoButton, #searchform input, #searchform button {
input, textarea, select, button {
   background-color: #000 !important;
   background-color: #000 !important;
   color: #fff !important;
   color: #fff !important;
Line 39: Line 38:
}
}


/* === TOC & INFOBOX === */
/* === INFOBOX & SIDEBAR === */
.toc, .infobox, .mw-parser-output .infobox, .metadata {
.infobox, table.infobox, table.infobox td, table.infobox th,
#mw-panel, .portal, #p-navigation, #p-tb {
   background-color: #000 !important;
   background-color: #000 !important;
   color: #fff !important;
   color: #fff !important;
Line 47: Line 47:
}
}


/* === GALLERY / IMAGE BOXES / THUMBNAILS === */
/* === GALLERY IMAGES / CAPTIONS / THUMBNAILS === */
.gallerybox, .thumb, .thumbinner, .thumbcaption,
.thumb, .thumbinner, .thumbcaption, .gallerybox,
figure, figcaption,
.mw-gallery-traditional .gallerybox, figure, figcaption,
.mw-gallery-traditional .gallerybox,
.thumb div {
.thumb div {
   background-color: #000 !important;
   background-color: #000 !important;
Line 58: Line 57:
}
}


/* === TABLES (remove grey borders) === */
/* === TABLES & CELLS === */
table, th, td {
table, th, td {
   background-color: transparent !important;
   background-color: transparent !important;
  border: none !important;
   color: #fff !important;
   color: #fff !important;
  border: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
}
/* === SIDEBAR === */
#mw-panel, .portal, #p-navigation, #p-tb {
  background-color: #000 !important;
  border: none !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
}
#mw-panel .portal ul li a {
  color: #fff !important;
}
}


Line 81: Line 68:
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background-color: #000 !important;
   background-color: #000 !important;
   color: #888 !important;
   color: #999 !important;
  border: none !important;
}
}
#footer a {
#footer a {
Line 91: Line 77:
}
}


/* === HIDE LOGOS & EXTRAS === */
/* === HIDE LOGOS, ICONS, WHITE EDGES === */
#p-logo, .mw-wiki-logo,
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.mw-footer-logo, .printfooter,
Line 97: Line 83:
#footer-icons, .noprint {
#footer-icons, .noprint {
   display: none !important;
   display: none !important;
}
/* === CATEGORY BAR, PAGE INFO, UNWANTED BACKGROUNDS === */
#catlinks, .catlinks, .printfooter,
.page-info, .mw-hidden-catlinks,
.mw-footer, .visualClear {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}
/* === OVERRIDE ANY REMAINING WHITES === */
* {
  background-color: transparent !important;
  border-color: transparent !important;
}
}

Revision as of 07:28, 2 July 2025

/* === BASE STRUCTURE === */
html, body,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#footer, #footer-info, #footer-icons,
.vector-menu-tabs, #p-views,
#searchform, .printfooter, #catlinks, .catlinks {
  background-color: #000 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  border: none !important;
  box-shadow: none !important;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
  border: none !important;
  background: none !important;
}

/* === LINKS === */
a, a:link, a:visited {
  color: #3399ff !important;
  text-decoration: none !important;
}
a:hover {
  color: #66ccff !important;
  text-decoration: underline !important;
}

/* === SEARCH BAR === */
#searchInput, #searchGoButton, #searchform input, #searchform button {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  box-shadow: none !important;
}

/* === INFOBOX & SIDEBAR === */
.infobox, table.infobox, table.infobox td, table.infobox th,
#mw-panel, .portal, #p-navigation, #p-tb {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

/* === GALLERY IMAGES / CAPTIONS / THUMBNAILS === */
.thumb, .thumbinner, .thumbcaption, .gallerybox,
.mw-gallery-traditional .gallerybox, figure, figcaption,
.thumb div {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

/* === TABLES & CELLS === */
table, th, td {
  background-color: transparent !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* === FOOTER === */
#footer, #footer-info, #footer-icons {
  background-color: #000 !important;
  color: #999 !important;
}
#footer a {
  color: #3399ff !important;
}
#footer a:hover {
  color: #66ccff !important;
}

/* === HIDE LOGOS, ICONS, WHITE EDGES === */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
  display: none !important;
}