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 === */
/* === GLOBAL DARK BACKGROUND: #121212 === */
html, body,
html, body,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb,
#mw-panel, #p-navigation, #p-tb, .portal,
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons,
.toc, .infobox, .metadata,
.thumb, .thumbinner, .gallerybox, .thumbcaption,
figure, figcaption, .thumb div,
#searchform, #searchInput, #searchGoButton, #searchform input, #searchform button {
   background-color: #121212 !important;
   background-color: #121212 !important;
   color: #ffffff !important;
   color: #ffffff !important;
  font-family: Arial, sans-serif !important;
   border: none !important;
   border: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
Line 28: Line 31:
}
}


/* === SEARCH BAR === */
/* === TABLES === */
#searchInput, #searchGoButton, #searchform input, #searchform button {
table, th, td {
   background-color: #1e1e1e !important;
   background-color: transparent !important;
   color: #ffffff !important;
   color: #ffffff !important;
   border: 1px solid #1e1e1e !important;
   border: none !important;
  box-shadow: none !important;
}
}


/* === INFOBOX & TOC === */
/* === SIDEBAR NAVIGATION === */
.infobox, table.infobox, .toc, .metadata {
#mw-panel, .portal {
   background-color: #1e1e1e !important;
   background-color: #121212 !important;
   color: #ffffff !important;
}
  border: none !important;
#mw-panel .portal h3 {
  box-shadow: none !important;
   color: #3399ff !important;
}
}
 
#mw-panel .portal ul li a {
/* === GALLERY IMAGES / CAPTIONS / THUMBNAILS === */
.thumb, .thumbinner, .gallerybox, .thumbcaption,
.mw-gallery-traditional .gallerybox,
figure, figcaption, .thumb div {
  background-color: #1e1e1e !important;
   color: #ffffff !important;
   color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
}


/* === TABLES === */
/* === SEARCH BAR COLORS (text & border) === */
table, th, td {
#searchInput,
   background-color: transparent !important;
#searchGoButton,
  border: none !important;
#searchform input,
#searchform button {
   background-color: #121212 !important;
   color: #ffffff !important;
   color: #ffffff !important;
   box-shadow: none !important;
   border: 1px solid #121212 !important;
}
}


Line 65: Line 62:
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background-color: #121212 !important;
   background-color: #121212 !important;
   color: #aaaaaa !important;
   color: #aaa !important;
}
}
#footer a {
#footer a {
Line 74: Line 71:
}
}


/* === SIDEBAR === */
/* === REMOVE ICONS / LOGOS === */
#mw-panel, .portal {
  background-color: #121212 !important;
  border: none !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
}
#mw-panel .portal ul li a {
  color: #ffffff !important;
}
 
/* === HIDE LOGOS / POWERED ICONS === */
#p-logo, .mw-wiki-logo,
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.mw-footer-logo, .printfooter,

Revision as of 07:35, 2 July 2025

/* === GLOBAL DARK BACKGROUND: #121212 === */
html, body,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#footer, #footer-info, #footer-icons,
.toc, .infobox, .metadata,
.thumb, .thumbinner, .gallerybox, .thumbcaption,
figure, figcaption, .thumb div,
#searchform, #searchInput, #searchGoButton, #searchform input, #searchform button {
  background-color: #121212 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !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;
}

/* === TABLES === */
table, th, td {
  background-color: transparent !important;
  color: #ffffff !important;
  border: none !important;
}

/* === SIDEBAR NAVIGATION === */
#mw-panel, .portal {
  background-color: #121212 !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
}
#mw-panel .portal ul li a {
  color: #ffffff !important;
}

/* === SEARCH BAR COLORS (text & border) === */
#searchInput,
#searchGoButton,
#searchform input,
#searchform button {
  background-color: #121212 !important;
  color: #ffffff !important;
  border: 1px solid #121212 !important;
}

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

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