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 FOR MEDIAWIKI – STABLE LAYOUT ─── */
/* ─── FLAT DARK THEME (NO LAYOUT SHIFT) ─── */


/* 1) Base reset */
/* 1. Global base (yumuşak reset, layout bozulmaz) */
* {
body, .mw-body, .mw-page-container, #content, #bodyContent {
  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;
   background-color: #000 !important;
   color: #fff !important;
   color: #fff !important;
   font-family: Arial, sans-serif !important;
   font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
}


/* 3) Headings */
/* 2. Başlıklar */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   color: #fff !important;
   color: #fff !important;
   border: none !important;
   border: none !important;
  background: none !important;
}
}


/* 4) Links */
/* 3. Linkler */
a, a:link, a:visited {
a, a:link, a:visited {
   color: #3399ff !important;
   color: #3399ff !important;
Line 37: Line 24:
}
}


/* 5) Sidebar */
/* 4. Sidebar sabit kalır, sadece rengi değişir */
#mw-panel {
#mw-panel {
   background-color: #111 !important;
   background-color: #111 !important;
Line 43: Line 30:
#mw-panel .portal h3 {
#mw-panel .portal h3 {
   color: #3399ff !important;
   color: #3399ff !important;
  border-bottom: 1px solid #222 !important;
}
}
#mw-panel .portal ul li a {
#mw-panel .portal ul li a {
Line 49: Line 35:
}
}


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


/* 7) Page content */
/* 6. Görseller, kutular, tablolar */
#content, #bodyContent, .vector-body {
.thumb, .thumbinner, .gallerybox, .gallery, table, th, td, .infobox, .navbox, .wikitable {
  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;
   background: transparent !important;
   border: none !important;
   border: none !important;
Line 83: Line 57:
}
}


/* 9) Horizontal lines */
/* 7. Arama kutusu */
hr {
#searchInput, input, textarea, select, button {
  border: none !important;
  height: 0 !important;
}
 
/* 10) Forms & inputs */
input, textarea, select, button {
   background-color: #1a1a1a !important;
   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;
   color: #fff !important;
   border: 1px solid #333 !important;
   border: 1px solid #333 !important;
}
}


/* 12) Footer cleanup */
/* 8. Footer ve lisanslar */
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background: #000 !important;
   background: #000 !important;
Line 121: Line 76:
}
}


/* 13) Hide logos & unnecessary decorations */
/* 9. Logoları ve powered-by ikonlarını kaldır */
#p-logo, .mw-wiki-logo,
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.mw-footer-logo, .printfooter,

Revision as of 04:46, 2 July 2025

/* ─── FLAT DARK THEME (NO LAYOUT SHIFT) ─── */

/* 1. Global base (yumuşak reset, layout bozulmaz) */
body, .mw-body, .mw-page-container, #content, #bodyContent {
  background-color: #000 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
}

/* 2. Başlıklar */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
  border: none !important;
}

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

/* 4. Sidebar sabit kalır, sadece rengi değişir */
#mw-panel {
  background-color: #111 !important;
}
#mw-panel .portal h3 {
  color: #3399ff !important;
}
#mw-panel .portal ul li a {
  color: #fff !important;
}

/* 5. Üst sekmeler */
.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;
}

/* 6. Görseller, kutular, tablolar */
.thumb, .thumbinner, .gallerybox, .gallery, table, th, td, .infobox, .navbox, .wikitable {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* 7. Arama kutusu */
#searchInput, input, textarea, select, button {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}

/* 8. Footer ve lisanslar */
#footer, #footer-info, #footer-icons {
  background: #000 !important;
  color: #888 !important;
}
#footer a {
  color: #3399ff !important;
}
#footer a:hover {
  color: #66ccff !important;
}

/* 9. Logoları ve powered-by ikonlarını kaldır */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
  display: none !important;
}