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 Colour Override (no layout shifts) ─── */
/* ─── Flat Black – Final Touches ───────────────────── */


/* 1) Page & containers */
/* 1. Remove or black out all separators and borders */
html, body,
hr,
.mw-body, .mw-page-container,
h1, h2, h3, h4, h5, h6 {
#content, #bodyContent {
   border: none !important;
   background-color: #000000 !important;
}
   color: #FFFFFF !important;
table, th, td {
   border-color: transparent !important;
}
}
 
.gallerybox, .thumb, .thumbinner, .infobox, .toc, .mw-parser-output .infobox, .navbox {
/* 2) Sidebar & portlets */
   border: none !important;
#mw-panel, #p-navigation, #p-tb, .portal {
  box-shadow: none !important;
   background-color: #000000 !important;
}
}


/* 3) Top action tabs (Read/Edit/etc.) */
/* 2. Unified black backgrounds everywhere */
.vector-menu-tabs,
html, body,
#p-views {
.mw-body, .mw-page-container,
#content, #bodyContent,
#mw-panel, #p-navigation, #p-tb, .portal,
.vector-menu-tabs, #p-views,
#footer, #footer-info, #footer-icons {
   background-color: #000000 !important;
   background-color: #000000 !important;
  border-color: #000000 !important;
}
}


/* 4) Search form */
/* 3. Text colors remain white; headings no borders */
#searchInput, #searchButton {
body, .mw-body, .mw-page-container, #content, #bodyContent {
  background-color: #000000 !important;
   color: #FFFFFF !important;
   color: #FFFFFF !important;
  border-color: #000000 !important;
}
}
 
h1, h2, h3, h4, h5, h6 {
/* 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;
   color: #FFFFFF !important;
  background: none !important;
}
}


/* 6) Links in blue */
/* 4. Links in blue */
a, a:link, a:visited {
a, a:link, a:visited {
   color: #3399FF !important;
   color: #3399FF !important;
  text-decoration: none !important;
}
}
a:hover {
a:hover {
Line 46: Line 43:
}
}


/* 7) Footer */
/* 5. Search bar fully black */
#footer, #footer-info, #footer-icons {
#searchInput,
#searchButton {
   background-color: #000000 !important;
   background-color: #000000 !important;
  color: #FFFFFF !important;
   border-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 */
/* 6. Hide logos & powered-by icons */
#p-logo, .mw-wiki-logo,
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.mw-footer-logo, .printfooter,
.ccicons, .license,
.ccicons, .license, #footer-icons, .noprint {
#footer-icons, .noprint {
   display: none !important;
   display: none !important;
}
}

Revision as of 05:15, 2 July 2025

/* ─── Flat Black – Final Touches ───────────────────── */

/* 1. Remove or black out all separators and borders */
hr,
h1, h2, h3, h4, h5, h6 {
  border: none !important;
}
table, th, td {
  border-color: transparent !important;
}
.gallerybox, .thumb, .thumbinner, .infobox, .toc, .mw-parser-output .infobox, .navbox {
  border: none !important;
  box-shadow: none !important;
}

/* 2. Unified black backgrounds everywhere */
html, body,
.mw-body, .mw-page-container,
#content, #bodyContent,
#mw-panel, #p-navigation, #p-tb, .portal,
.vector-menu-tabs, #p-views,
#footer, #footer-info, #footer-icons {
  background-color: #000000 !important;
}

/* 3. Text colors remain white; headings no borders */
body, .mw-body, .mw-page-container, #content, #bodyContent {
  color: #FFFFFF !important;
}
h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF !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. Search bar fully black */
#searchInput,
#searchButton {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
}

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