MediaWiki:Common.css

From Practices and Politics of Representation
Revision as of 05:06, 2 July 2025 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ─── 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: #000 !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: #000 !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: #000 !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: #000 !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;
}

/* 1. Sidebar ve menü arka planlarını tam siyah yap */
#mw-panel,
#p-navigation,
#p-tb,
#left-navigation,
#right-navigation,
#mw-head {
  background-color: #000 !important;
  border: none !important;
}

/* 2. Sayfa gövdesini saran beyaz çerçeveyi kaldır ya da siyah yap */
#content,
#bodyContent,
.vector-body {
  border: none !important;
  background-color: #000 !important;
  box-shadow: none !important;
}

/* --- 1. Search kutusu siyah olsun --- */
#searchInput,
#searchGoButton,
#searchform input,
#searchform button {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}

/* --- 2. İçerik kutuları (TOC, infobox vs) siyah olsun --- */
.toc, .infobox, .mw-parser-output .infobox, .metadata,
.thumbinner, .gallerybox, .thumb, .thumbcaption {
  background-color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* --- 3. Sidebar sabit siyah --- */
#mw-panel, .portal, #p-navigation, #p-tb {
  background-color: #000 !important;
  border: none !important;
}

/* --- 4. Footer tamamen siyah --- */
#footer, #footer-info, #footer-icons {
  background-color: #000 !important;
  color: #888 !important;
  border: none !important;
}

/* --- 5. Sayfa çerçevesi ve içerik kapsayıcısı da siyah kalsın --- */
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body {
  background-color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}