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:
/* ─── Finalized Flat Dark Theme (Stable Layout) ─── */
/* ── Remove white frames, borders, and background from images, tables, galleries ── */


/* 1) General background and text */
/* General content wrapper */
body, .mw-body, .mw-page-container {
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body {
   background-color: #111 !important;
   background: #000 !important;
   color: #eaeaea !important;
   border: none !important;
   font-family: Arial, sans-serif !important;
   box-shadow: none !important;
}
}


/* 2) Link colors: standard blue only */
/* Image thumbs & galleries */
a, a:link, a:visited {
.thumbinner, .thumb, .gallerybox, .gallery, .thumbcaption {
  color: #3399ff !important;
   background: transparent !important;
  text-decoration: none !important;
}
a:hover {
  color: #66ccff !important;
  text-decoration: underline !important;
}
 
/* 3) Sidebar */
#mw-panel {
  background-color: #181818 !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
  border-bottom: 1px solid #222 !important;
}
#mw-panel .portal ul li a {
  color: #eaeaea !important;
}
 
/* 4) Top tab bar */
.vector-menu-tabs, #p-views {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #222 !important;
}
.vector-menu-tabs li a,
#p-views li a {
  color: #3399ff !important;
}
.vector-menu-tabs li a:hover,
#p-views li a:hover {
   background-color: #222 !important;
  color: #66ccff !important;
}
 
/* 5) Page headings */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
   border: none !important;
   border: none !important;
  box-shadow: none !important;
}
}


/* 6) Boxes, galleries, tables – remove or darken borders */
/* Right-aligned infobox or content box */
table, th, td, .infobox, .navbox, .wikitable,
table.infobox, .infobox, .toc, .navbox, .metadata, .mw-parser-output table {
.gallerybox, .gallery, hr, .thumbinner {
   background: transparent !important;
   background: transparent !important;
   border: 1px solid #111 !important; /* instead of white */
   border: none !important;
  color: #eaeaea !important;
}
}


/* Remove horizontal lines (HR) */
/* Remove table borders globally */
hr {
table, th, td {
   border: none !important;
   border: none !important;
  height: 0 !important;
   background: transparent !important;
}
 
/* 7) Search form */
#searchInput {
   background: #222 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}
#searchButton {
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}
 
/* 8) Forms and inputs */
input, textarea, select, button {
  background-color: #1e1e1e !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  font-family: Arial, sans-serif !important;
}
 
/* 9) Hide logos and powered-by */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
  display: none !important;
}
}


/* 10) Footer background fix */
/* Force page background to full black */
#footer, #footer-info, #footer-icons {
html, body {
   background: #111 !important;
   background-color: #000 !important;
  color: #aaa !important;
}
#footer a {
  color: #3399ff !important;
}
#footer a:hover {
  color: #66ccff !important;
}
}

Revision as of 04:35, 2 July 2025

/* ── 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;
}