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 Dark Theme: Final and Clean ─── */
/* === GENERAL === */
 
body, html,
/* 1. Base Backgrounds and Texts */
html, body,
.mw-body, .mw-page-container,
.mw-body, .mw-page-container,
#content, #bodyContent,
#content, #bodyContent, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#mw-panel, .portal, #p-navigation, #p-tb,
.vector-menu-tabs, #p-views,
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons,
   background-color: #1e1e1e !important;
#searchInput, #searchButton,
   color: #e6e6e6 !important;
.thumbinner, .gallerybox, .thumbcaption,
  font-family: system-ui, sans-serif !important;
.toc, .infobox, .mw-parser-output .infobox, .metadata {
   background-color: #000 !important;
   color: #fff !important;
   border: none !important;
   border: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
  font-family: Arial, sans-serif !important;
}
}


/* 2. Headings */
/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   color: #fff !important;
   color: #ffffff !important;
   border: none !important;
   border-bottom: 1px solid #333 !important;
  background: none !important;
}
}


/* 3. Links */
/* === LINKS === */
a, a:link, a:visited {
a, a:link, a:visited {
   color: #3399ff !important;
   color: #5fa8ff !important;
   text-decoration: none !important;
   text-decoration: none !important;
}
}
a:hover {
a:hover {
   color: #66ccff !important;
   color: #9acbff !important;
   text-decoration: underline !important;
   text-decoration: underline !important;
}
}


/* 4. Search Bar */
/* === SIDEBAR === */
#searchInput,
#mw-panel {
#searchButton,
  background-color: #1e1e1e !important;
#searchform input,
}
#searchform button {
#mw-panel .portal h3 {
   background-color: #000 !important;
  color: #cccccc !important;
   color: #fff !important;
}
   border: 1px solid #000 !important;
#mw-panel .portal ul li a {
  color: #dddddd !important;
}
 
/* === SEARCH === */
#searchInput, input, textarea, select, button {
   background-color: #2c2c2c !important;
   color: #ffffff !important;
   border: 1px solid #444 !important;
}
}


/* 5. Sidebar */
/* === TOC, INFOBOX, TABLES === */
#mw-panel, .portal, #p-navigation, #p-tb {
.toc, .infobox, table, th, td,
   background-color: #000 !important;
.thumbinner, .gallerybox, .thumbcaption {
   border: none !important;
   background-color: #252525 !important;
  color: #e0e0e0 !important;
   border: 1px solid #333 !important;
}
}


/* 6. Footer */
/* === FOOTER === */
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background-color: #000 !important;
   background-color: #1e1e1e !important;
   color: #fff !important;
   color: #999 !important;
  border: none !important;
}
}
#footer a {
#footer a {
   color: #3399ff !important;
   color: #5fa8ff !important;
}
}
#footer a:hover {
#footer a:hover {
   color: #66ccff !important;
   color: #9acbff !important;
}
}


/* 7. Tables and Gallery */
/* === REMOVE LOGOS ETC. === */
table, th, td, .gallerybox, .thumb, .thumbinner, .navbox {
#p-logo, .mw-wiki-logo,
   background: transparent !important;
.mw-footer-logo, .printfooter,
  border: none !important;
.ccicons, .license, #footer-icons, .noprint {
  box-shadow: none !important;
   display: none !important;
  color: #fff !important;
}
}


/* 8. Infobox (right box) */
/* === USER INTERFACE BUTTONS (edit tabs etc.) === */
table.infobox, .infobox {
.vector-menu-tabs, #p-views {
   background-color: #000 !important;
   background-color: #1e1e1e !important;
   border: none !important;
   border-bottom: 1px solid #333 !important;
   box-shadow: none !important;
}
   color: #fff !important;
.vector-menu-tabs li a {
   background: transparent !important;
   color: #5fa8ff !important;
}
}
table.infobox th, table.infobox td {
.vector-menu-tabs li a:hover {
   border: none !important;
   background: #2a2a2a !important;
}
}


/* 9. Table of Contents */
/* === IMAGE CAPTIONS & METADATA === */
#toc, .toc {
.thumbcaption, .mw-parser-output .metadata {
   background-color: #000 !important;
   color: #aaa !important;
  background: none !important;
   border: none !important;
   border: none !important;
  box-shadow: none !important;
}
#toc .toctitle, #toc .toctitle a {
  color: #fff !important;
}
#toc ul li a {
  color: #3399ff !important;
}
#toc ul li a:hover {
  color: #66ccff !important;
}
/* 10. Remove Logos and Powered-by */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license, #footer-icons, .noprint {
  display: none !important;
}
}

Revision as of 06:32, 2 July 2025

/* === GENERAL === */
body, html,
.mw-body, .mw-page-container,
#content, #bodyContent, .vector-body,
#mw-panel, .portal, #p-navigation, #p-tb,
#footer, #footer-info, #footer-icons {
  background-color: #1e1e1e !important;
  color: #e6e6e6 !important;
  font-family: system-ui, sans-serif !important;
  border: none !important;
  box-shadow: none !important;
}

/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  border-bottom: 1px solid #333 !important;
}

/* === LINKS === */
a, a:link, a:visited {
  color: #5fa8ff !important;
  text-decoration: none !important;
}
a:hover {
  color: #9acbff !important;
  text-decoration: underline !important;
}

/* === SIDEBAR === */
#mw-panel {
  background-color: #1e1e1e !important;
}
#mw-panel .portal h3 {
  color: #cccccc !important;
}
#mw-panel .portal ul li a {
  color: #dddddd !important;
}

/* === SEARCH === */
#searchInput, input, textarea, select, button {
  background-color: #2c2c2c !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
}

/* === TOC, INFOBOX, TABLES === */
.toc, .infobox, table, th, td,
.thumbinner, .gallerybox, .thumbcaption {
  background-color: #252525 !important;
  color: #e0e0e0 !important;
  border: 1px solid #333 !important;
}

/* === FOOTER === */
#footer, #footer-info, #footer-icons {
  background-color: #1e1e1e !important;
  color: #999 !important;
}
#footer a {
  color: #5fa8ff !important;
}
#footer a:hover {
  color: #9acbff !important;
}

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

/* === USER INTERFACE BUTTONS (edit tabs etc.) === */
.vector-menu-tabs, #p-views {
  background-color: #1e1e1e !important;
  border-bottom: 1px solid #333 !important;
}
.vector-menu-tabs li a {
  background: transparent !important;
  color: #5fa8ff !important;
}
.vector-menu-tabs li a:hover {
  background: #2a2a2a !important;
}

/* === IMAGE CAPTIONS & METADATA === */
.thumbcaption, .mw-parser-output .metadata {
  color: #aaa !important;
  background: none !important;
  border: none !important;
}