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:
/* ── Remove white frames, borders, and background from images, tables, galleries ── */
/* ─── FLAT BLACK THEME FOR MEDIAWIKI – STABLE LAYOUT ─── */


/* General content wrapper */
/* 1) Base reset */
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body {
* {
   background: #000 !important;
   margin: 0 !important;
  padding: 0 !important;
   border: none !important;
   border: none !important;
  background: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
  border-radius: 0 !important;
}
/* 2) Global background & font */
html, body, .mw-body, .mw-page-container {
  background-color: #000 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
/* 3) Headings */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
  border: none !important;
  background: none !important;
}
/* 4) Links */
a, a:link, a:visited {
  color: #3399ff !important;
  text-decoration: none !important;
}
a:hover {
  color: #66ccff !important;
  text-decoration: underline !important;
}
/* 5) Sidebar */
#mw-panel {
  background-color: #111 !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
  border-bottom: 1px solid #222 !important;
}
#mw-panel .portal ul li a {
  color: #fff !important;
}
}


/* Image thumbs & galleries */
/* 6) Top action tabs */
.thumbinner, .thumb, .gallerybox, .gallery, .thumbcaption {
.vector-menu-tabs, #p-views {
  background-color: #111 !important;
  border-bottom: 1px solid #222 !important;
}
.vector-menu-tabs li a,
#p-views li a {
  color: #3399ff !important;
   background: transparent !important;
   background: transparent !important;
}
.vector-menu-tabs li a:hover,
#p-views li a:hover {
  background: #222 !important;
  color: #66ccff !important;
}
/* 7) Page content */
#content, #bodyContent, .vector-body {
  background: #000 !important;
   border: none !important;
   border: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
  color: #fff !important;
}
}


/* Right-aligned infobox or content box */
/* 8) Tables & boxes */
table.infobox, .infobox, .toc, .navbox, .metadata, .mw-parser-output table {
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .gallery, .thumb, .thumbinner,
table.infobox, .mw-parser-output table {
   background: transparent !important;
   background: transparent !important;
   border: none !important;
   border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}
}


/* Remove table borders globally */
/* 9) Horizontal lines */
table, th, td {
hr {
   border: none !important;
   border: none !important;
   background: transparent !important;
  height: 0 !important;
}
 
/* 10) Forms & inputs */
input, textarea, select, button {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  font-family: Arial, sans-serif !important;
}
 
/* 11) Search box */
#searchInput {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}
#searchButton {
   background: #333 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}
 
/* 12) Footer cleanup */
#footer, #footer-info, #footer-icons {
  background: #000 !important;
  color: #888 !important;
}
#footer a {
  color: #3399ff !important;
}
#footer a:hover {
  color: #66ccff !important;
}
}


/* Force page background to full black */
/* 13) Hide logos & unnecessary decorations */
html, body {
#p-logo, .mw-wiki-logo,
   background-color: #000 !important;
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
   display: none !important;
}
}

Revision as of 04:44, 2 July 2025

/* ─── FLAT BLACK THEME FOR MEDIAWIKI – STABLE LAYOUT ─── */

/* 1) Base reset */
* {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* 2) Global background & font */
html, body, .mw-body, .mw-page-container {
  background-color: #000 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

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

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

/* 5) Sidebar */
#mw-panel {
  background-color: #111 !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
  border-bottom: 1px solid #222 !important;
}
#mw-panel .portal ul li a {
  color: #fff !important;
}

/* 6) Top action tabs */
.vector-menu-tabs, #p-views {
  background-color: #111 !important;
  border-bottom: 1px solid #222 !important;
}
.vector-menu-tabs li a,
#p-views li a {
  color: #3399ff !important;
  background: transparent !important;
}
.vector-menu-tabs li a:hover,
#p-views li a:hover {
  background: #222 !important;
  color: #66ccff !important;
}

/* 7) Page content */
#content, #bodyContent, .vector-body {
  background: #000 !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* 8) Tables & boxes */
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .gallery, .thumb, .thumbinner,
table.infobox, .mw-parser-output table {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* 9) Horizontal lines */
hr {
  border: none !important;
  height: 0 !important;
}

/* 10) Forms & inputs */
input, textarea, select, button {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  font-family: Arial, sans-serif !important;
}

/* 11) Search box */
#searchInput {
  background: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}
#searchButton {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}

/* 12) Footer cleanup */
#footer, #footer-info, #footer-icons {
  background: #000 !important;
  color: #888 !important;
}
#footer a {
  color: #3399ff !important;
}
#footer a:hover {
  color: #66ccff !important;
}

/* 13) Hide logos & unnecessary decorations */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
  display: none !important;
}