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 (NO LAYOUT SHIFT) ─── */
/* ─── FLAT BLACK THEME (NO LAYOUT SHIFT) ─── */


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


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


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


/* 4. Sidebar sabit kalır, sadece rengi değişir */
/* 5. Sidebar background */
#mw-panel {
#mw-panel, #p-navigation, #p-tb, .portal {
   background-color: #000 !important;
   background-color: #000000 !important;
}
}
/* 6. Sidebar headings & links */
#mw-panel .portal h3 {
#mw-panel .portal h3 {
   color: #3399ff !important;
   color: #3399FF !important;
}
}
#mw-panel .portal ul li a {
#mw-panel .portal ul li a {
   color: #fff !important;
   color: #FFFFFF !important;
}
}


/* 5. Üst sekmeler */
/* 7. Top action tabs (Read/Edit/History) */
.vector-menu-tabs, #p-views {
.vector-menu-tabs, #p-views {
   background-color: #000 !important;
   background-color: #000000 !important;
   border-bottom: 1px solid #000 !important;
   border-bottom: 1px solid #000000 !important;
}
}
.vector-menu-tabs li a, #p-views li a {
.vector-menu-tabs li a, #p-views li a {
   color: #3399ff !important;
   color: #3399FF !important;
   background: transparent !important;
   background: transparent !important;
}
}
.vector-menu-tabs li a:hover, #p-views li a:hover {
.vector-menu-tabs li a:hover, #p-views li a:hover {
   background: #000 !important;
   background-color: #000000 !important;
   color: #66ccff !important;
   color: #66CCFF !important;
}
}


/* 6. Görseller, kutular, tablolar */
/* 8. Search box */
.thumb, .thumbinner, .gallerybox, .gallery, table, th, td, .infobox, .navbox, .wikitable {
#searchInput, #searchButton, input, textarea, select, button {
   background: transparent !important;
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border: 1px solid #000000 !important;
  font-family: Arial, sans-serif !important;
}
 
/* 9. Tables, boxes, galleries */
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .gallery, .thumb, .thumbinner, .thumbcaption,
.toc, .mw-parser-output .infobox, .metadata {
   background-color: #000000 !important;
   border: none !important;
   border: none !important;
   box-shadow: none !important;
   box-shadow: none !important;
   color: #fff !important;
   color: #FFFFFF !important;
}
}


/* 7. Arama kutusu */
/* 10. Content container & wrapper */
#searchInput, input, textarea, select, button {
.vector-body, .mw-page-container, #content, #bodyContent {
   background-color: #1a1a1a !important;
   background-color: #000000 !important;
   color: #000 !important;
   border: none !important;
   border: 1px solid #000 !important;
   box-shadow: none !important;
}
}


/* 8. Footer ve lisanslar */
/* 11. Footer area */
#footer, #footer-info, #footer-icons {
#footer, #footer-info, #footer-icons {
   background: #000 !important;
   background-color: #000000 !important;
   color: #000 !important;
   color: #888888 !important;
  border: none !important;
}
}
#footer a {
#footer a {
   color: #3399ff !important;
   color: #3399FF !important;
}
}
#footer a:hover {
#footer a:hover {
   color: #66ccff !important;
   color: #66CCFF !important;
}
}


/* 9. Logoları ve powered-by ikonlarını kaldır */
/* 12. Hide default logos & 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;
}
/* 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 #000 !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;
}
/* === UNIVERSAL BLACK BACKGROUND NORMALIZER === */
body, html,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#mw-head, #mw-head-base, #footer, #footer-info, #footer-icons,
#searchInput, input, textarea, select, button,
.thumb, .thumbinner, .gallerybox, .thumbcaption,
.toc, .infobox, .mw-parser-output .infobox, .metadata,
.vector-menu-tabs, #p-views,
.mw-portlet, .vector-menu {
  background-color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}
}

Revision as of 05:11, 2 July 2025

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

/* 1. Global reset & base */
* {
  margin: 0 !important;
  padding: 0 !important;
  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;
  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 */
#mw-panel, #p-navigation, #p-tb, .portal {
  background-color: #000000 !important;
}

/* 6. Sidebar headings & links */
#mw-panel .portal h3 {
  color: #3399FF !important;
}
#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;
  color: #66CCFF !important;
}

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

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

/* 10. Content container & wrapper */
.vector-body, .mw-page-container, #content, #bodyContent {
  background-color: #000000 !important;
  border: none !important;
  box-shadow: none !important;
}

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

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