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:
/* ─── FLAT BLACK THEME (NO LAYOUT SHIFT) ─── */
/* ─── Flat Black Colour Override (no layout shifts) ─── */


/* 1. Global reset & base */
/* 1) Page & containers */
* {
html, body,
  margin: 0 !important;
.mw-body, .mw-page-container,
  padding: 0 !important;
#content, #bodyContent {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
 
/* 2. Page background & text */
html, body, .mw-body, .mw-page-container, #content, #bodyContent {
   background-color: #000000 !important;
   background-color: #000000 !important;
   color: #FFFFFF !important;
   color: #FFFFFF !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: #FFFFFF !important;
  border: none !important;
  background: none !important;
}
/* 4. Links in blue */
a, a:link, a:visited {
  color: #3399FF !important;
  text-decoration: none !important;
}
a:hover {
  color: #66CCFF !important;
  text-decoration: underline !important;
}
}


/* 5. Sidebar background */
/* 2) Sidebar & portlets */
#mw-panel, #p-navigation, #p-tb, .portal {
#mw-panel, #p-navigation, #p-tb, .portal {
   background-color: #000000 !important;
   background-color: #000000 !important;
}
}


/* 6. Sidebar headings & links */
/* 3) Top action tabs (Read/Edit/etc.) */
#mw-panel .portal h3 {
.vector-menu-tabs,
  color: #3399FF !important;
#p-views {
}
#mw-panel .portal ul li a {
  color: #FFFFFF !important;
}
 
/* 7. Top action tabs (Read/Edit/History) */
.vector-menu-tabs, #p-views {
  background-color: #000000 !important;
  border-bottom: 1px solid #000000 !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-color: #000000 !important;
   background-color: #000000 !important;
   color: #66CCFF !important;
   border-color: #000000 !important;
}
}


/* 8. Search box */
/* 4) Search form */
#searchInput, #searchButton, input, textarea, select, button {
#searchInput, #searchButton {
   background-color: #000000 !important;
   background-color: #000000 !important;
   color: #FFFFFF !important;
   color: #FFFFFF !important;
   border: 1px solid #000000 !important;
   border-color: #000000 !important;
  font-family: Arial, sans-serif !important;
}
}


/* 9. Tables, boxes, galleries */
/* 5) Tables, boxes, galleries, TOC */
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .thumb, .thumbinner, .infobox, .toc,
.gallerybox, .gallery, .thumb, .thumbinner, .thumbcaption,
table.wikitable, /* if you use wikitables */
.toc, .mw-parser-output .infobox, .metadata {
table, th, td {
   background-color: #000000 !important;
   background-color: transparent !important;
   border: none !important;
   border-color: transparent !important;
  box-shadow: none !important;
   color: #FFFFFF !important;
   color: #FFFFFF !important;
}
}


/* 10. Content container & wrapper */
/* 6) Links in blue */
.vector-body, .mw-page-container, #content, #bodyContent {
a, a:link, a:visited {
   background-color: #000000 !important;
   color: #3399FF !important;
   border: none !important;
}
   box-shadow: none !important;
a:hover {
   color: #66CCFF !important;
   text-decoration: underline !important;
}
}


/* 11. Footer area */
/* 7) Footer */
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background-color: #000000 !important;
   background-color: #000000 !important;
  border-color: #000000 !important;
   color: #888888 !important;
   color: #888888 !important;
  border: none !important;
}
}
#footer a {
#footer a {
Line 102: Line 59:
}
}


/* 12. Hide default logos & icons */
/* 8) Hide logos & powered-by */
#p-logo, .mw-wiki-logo,
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.mw-footer-logo, .printfooter,
.ccicons, .license, #footer-icons, .noprint {
.ccicons, .license,
#footer-icons, .noprint {
   display: none !important;
   display: none !important;
}
}

Revision as of 05:13, 2 July 2025

/* ─── Flat Black Colour Override (no layout shifts) ─── */

/* 1) Page & containers */
html, body,
.mw-body, .mw-page-container,
#content, #bodyContent {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

/* 2) Sidebar & portlets */
#mw-panel, #p-navigation, #p-tb, .portal {
  background-color: #000000 !important;
}

/* 3) Top action tabs (Read/Edit/etc.) */
.vector-menu-tabs,
#p-views {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* 4) Search form */
#searchInput, #searchButton {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
}

/* 5) Tables, boxes, galleries, TOC */
.gallerybox, .thumb, .thumbinner, .infobox, .toc,
table.wikitable, /* if you use wikitables */
table, th, td {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #FFFFFF !important;
}

/* 6) Links in blue */
a, a:link, a:visited {
  color: #3399FF !important;
}
a:hover {
  color: #66CCFF !important;
  text-decoration: underline !important;
}

/* 7) Footer */
#footer, #footer-info, #footer-icons {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #888888 !important;
}
#footer a {
  color: #3399FF !important;
}
#footer a:hover {
  color: #66CCFF !important;
}

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