MediaWiki:Common.css: Difference between revisions

From Mona Mahall / Asli Serbest
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Gesamte Seite schwarz machen */
/************************************************************
* CLEAN MINIMAL THEME — BLACK & WHITE ONLY
* Layout değişikliği yok, sadece renk ve border
************************************************************/
 
 
/*----------------------------------------------------------
  0. GLOBAL RESET
----------------------------------------------------------*/
 
.mw-wiki-logo,
.mw-logo,
.mw-logo-icon,
.mw-logo-wordmark,
.vector-logo,
#p-logo,
#p-logo a,
.mw-logo-container {
    display: none !important;
    visibility: hidden !important;
}
 
html {
    font-size: 18px !important;
}
 
body, h1, h2, h3, h4, h5, h6, p, div, span, a, li, td, th,
input, textarea, select, button {
    font-family: Arial, sans-serif !important;
    color: rgb(0, 0, 0) !important;
    line-height: 1.62 !important;
}
 
body {
body {
     background-color: #000 !important;
     background: rgb(255, 255, 255) !important;
    color: #fff !important;
}
    border: none !important;
 
/* Shadow kaldır */
* {
     box-shadow: none !important;
     box-shadow: none !important;
     text-decoration: none !important;
     text-shadow: none !important;
}
 
/* Tüm borderları beyaz yap (görünmez) */
*:not(img) {
    border-color: rgb(255, 255, 255) !important;
}
 
 
/*----------------------------------------------------------
  1. HEADER
----------------------------------------------------------*/
 
#mw-head,
#mw-head-base,
#mw-page-base,
.vector-header,
.vector-sticky-header,
.mw-header {
    background: rgb(255, 255, 255) !important;
}
 
/* Üst menüyü content ile hizala */
#left-navigation {
    margin-left: 10em !important;
}
 
/* Login kısmını içeri al */
#p-personal {
    margin-right: 1em !important;
}
 
#right-navigation {
    margin-right: 1em !important;
}
 
 
/*----------------------------------------------------------
  2. SIDEBAR
----------------------------------------------------------*/
 
#column-one,
#mw-panel,
.vector-legacy-sidebar {
    background: rgb(255, 255, 255) !important;
    padding-top: 5em !important;
    margin-top: 0 !important;
}
 
.portlet, .pBody {
    background: rgb(255, 255, 255) !important;
}
}


/* Inhaltsbereich (Artikel) */
.portlet h3, .portlet h5 {
.mw-body {
     color: rgb(0, 0, 0) !important;
     background-color: #000 !important;
     font-weight: bold !important;
    color: #fff !important;
     background: rgb(255, 255, 255) !important;
     border: 0px solid #444 !important;
    box-shadow: none !important;
     text-decoration: none !important;
}
}


/* Überschriften weiß machen */
.portlet .pBody ul li a {
h1, h2, h3, h4, h5, h6 {
     color: rgb(0, 0, 0) !important;
     color: #fff !important;
    box-shadow: none !important;
     text-decoration: none !important;
     text-decoration: none !important;
}
}


/* Spezielle MediaWiki-Trennlinien entfernen */
.portlet .pBody ul li a:hover {
.mw-headline, .firstHeading, .mw-title {
     text-decoration: underline !important;
    border: none !important;
    box-shadow: none !important;
     text-decoration: none !important;
}
}


/* Pseudo-Elemente, die Linien erzeugen könnten, entfernen */
/* Tools gizle */
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
#p-tb {
    content: "" !important;
     display: none !important;
     display: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Entfernt alle möglichen Linien in MediaWiki */
 
hr, .mw-content-ltr hr, .mw-parser-output hr {
/*----------------------------------------------------------
  3. TABS
----------------------------------------------------------*/
 
#p-namespaces,
#p-views,
#p-cactions,
.vector-tabs,
.vector-menu-tabs {
    background: rgb(255, 255, 255) !important;
}
 
#p-namespaces ul,
#p-views ul,
#p-cactions ul {
    background: rgb(255, 255, 255) !important;
}
 
#p-namespaces li a,
#p-views li a,
#p-cactions li a {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}
 
#p-namespaces li.selected a,
#p-views li.selected a {
    font-weight: bold !important;
}
 
#p-namespaces li a:hover,
#p-views li a:hover,
#p-cactions li a:hover {
    background: rgb(240, 240, 240) !important;
}
 
/* Tab underline kaldır */
#p-namespaces li.selected a::after,
#p-views li.selected a::after,
.vector-menu-tabs li.selected a::after {
     display: none !important;
     display: none !important;
    border: none !important;
    height: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}




/* Kopfzeile und Navigation */
/*----------------------------------------------------------
#mw-head,
  4. PERSONAL MENU (Login vs)
#p-personal,
----------------------------------------------------------*/
#mw-panel {
 
     background-color: #000 !important;
#p-personal {
    color: #fff !important;
     background: rgb(255, 255, 255) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Menüleisten und Boxen */
#p-personal ul {
.vector-menu-content,
     background: rgb(255, 255, 255) !important;
.vector-menu-content ul {
     background-color: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Eingabefelder, Suchbox */
#p-personal li a {
input, textarea {
     background: rgb(255, 255, 255) !important;
     background-color: #222 !important;
     color: rgb(0, 0, 0) !important;
     color: #fff !important;
    border: 0px solid #444 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Links */
#p-personal li a:hover {
a {
     background: rgb(240, 240, 240) !important;
     color: #4aa5ff !important;
}
}
a:visited {
 
     color: #9c77ff !important;
 
/*----------------------------------------------------------
  5. CONTENT
----------------------------------------------------------*/
 
#content, .mw-body, .mw-body-content {
     background: rgb(255, 255, 255) !important;
}
}


/* Tabellen, Boxen, Panels ohne Ränder */
/* Headings */
table, th, td, .mw-body-content, .vector-menu-content, .vector-menu-tabs {
h1, h2, h3, h4, h5, h6, .firstHeading {
     border: none !important;
     color: rgb(0, 0, 0) !important;
    background-color: #000 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: none !important;
    background: none !important;
}
}


h1 { font-size: 2rem !important; }
h2 { font-size: 1.6rem !important; }
h3 { font-size: 1.35rem !important; }
h4 { font-size: 1.15rem !important; }


/* Dropdown-Menüs */
/* Links */
.vector-dropdown {
a, a:visited, a:hover {
    background-color: #000 !important;
     color: rgb(0, 0, 0) !important;
     color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
}


/* Footer (unten) */
a:hover {
#footer, #footer li, #footer a {
     text-decoration: underline !important;
     background-color: #000 !important;
    color: #fff !important;
}
}




/* Hauptnavigation oben */
/*----------------------------------------------------------
#mw-head,
  6. SEARCH
#p-personal,
----------------------------------------------------------*/
#left-navigation,
 
#right-navigation {
#p-search,
     background-color: #000 !important; /* Schwarzer Hintergrund */
#simpleSearch,
    color: #fff !important; /* Weiße Schrift */
#searchInput {
    box-shadow: none !important;
     background: rgb(255, 255, 255) !important;
    text-decoration: none !important;
}
}


/* Tabs ("Read", "Discussion", etc.) */
 
#p-views .vector-menu-content ul {
/*----------------------------------------------------------
     background-color: #000 !important;
  7. TABLES
    box-shadow: none !important;
----------------------------------------------------------*/
    text-decoration: none !important;
 
table, th, td {
     background: rgb(255, 255, 255) !important;
}
}


/* Einzelne Tabs */
 
#p-views li {
/*----------------------------------------------------------
    background-color: #000 !important;
  8. IMAGES
    border: 0px solid #444 !important; /* Optional: Dunkle Ränder */
----------------------------------------------------------*/
    box-shadow: none !important;
 
     text-decoration: none !important;
.thumb,
.thumbinner,
.thumbimage,
.gallerybox,
figure,
figcaption {
     background: transparent !important;
}
}


/* Ensure "Main Page" and "Discussion" links match the sidebar links */
.thumbcaption, .gallerytext {
#p-views li a,  
     color: rgb(0, 0, 0) !important;
#p-namespaces li a,
#p-variants li a {
     color: #4aa5ff !important; /* Same blue as sidebar links */
    text-decoration: none !important;
}
}


/* Hover effect */
 
#p-views li a:hover,  
/*----------------------------------------------------------
#p-namespaces li a:hover,  
  9. INFOBOX
#p-variants li a:hover {
----------------------------------------------------------*/
     color: #9c77ff !important; /* Same as visited links */
 
.infobox, .infobox th, .infobox td {
     background: rgb(255, 255, 255) !important;
}
}




/* Make the top navigation links match the sidebar link colors */
/*----------------------------------------------------------
#p-views a,
  10. FOOTER
#p-views a:visited,  
----------------------------------------------------------*/
#p-views a:active,
 
#p-views a:hover {
#footer, #catlinks {
     color: #4aa5ff !important; /* Same blue as sidebar links */
     background: rgb(255, 255, 255) !important;
     text-decoration: none !important;
     color: rgb(0, 0, 0) !important;
}
}


/* If you want a hover effect */
#footer a, #catlinks a {
#p-views a:hover {
     color: rgb(0, 0, 0) !important;
     color: #9c77ff !important; /* Same as visited links */
}
}




/* Falls noch weiß auftaucht, versuche dies für spezifische Skins */
/*----------------------------------------------------------
.vector-menu-tabs li,
  11. VISUAL EDITOR
.vector-menu-tabs a {
----------------------------------------------------------*/
    background-color: #000 !important;
 
    color: #fff !important;
.ve-ui-toolbar,
    box-shadow: none !important;
.ve-ui-toolbar-bar,
    text-decoration: none !important;
.oo-ui-toolbar,
    background-image: none !important;
.oo-ui-toolbar-bar,
     background: none !important;
.oo-ui-toolGroup,
.oo-ui-tool,
.oo-ui-buttonElement-button {
     background: rgb(255, 255, 255) !important;
}
}


/* Remove background gradients from menu tabs and headings */
.oo-ui-tool:hover,
.oo-ui-buttonElement-button:hover {
    background: rgb(240, 240, 240) !important;
}


#mw-head .vector-menu-dropdown .vector-menu-heading,  
.oo-ui-menuSelectWidget,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
.oo-ui-popupWidget-popup,
     background-image: none !important;
.oo-ui-optionWidget,
     background: none !important;
.oo-ui-menuOptionWidget {
     background: rgb(255, 255, 255) !important;
     color: rgb(0, 0, 0) !important;
}
}


.oo-ui-optionWidget:hover {
    background: rgb(240, 240, 240) !important;
}


/* Dropdown-Menüs (z. B. "Mehr") */
.ve-ui-surface,
.vector-dropdown {
.ve-ce-surface {
     background-color: #000 !important;
     background: rgb(255, 255, 255) !important;
}
}


/* Suchleiste */
.wikiEditor-ui,
#p-search input {
.wikiEditor-ui-toolbar {
     background-color: #222 !important;
     background: rgb(255, 255, 255) !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}
}


/* ALLE Trennlinien entfernen */
 
hr,
/*----------------------------------------------------------
.mw-body hr,
  12. DROPDOWN MENÜLER
.vector-menu-content ul,
----------------------------------------------------------*/
.vector-menu-content li,  
 
.vector-menu-tabs li,  
.vector-menu-dropdown .vector-menu-content,
.vector-menu-tabs a,
.vector-dropdown-content,
table, th, td,
#p-cactions .vector-menu-content {
.mw-panel,
     background: rgb(255, 255, 255) !important;
.vector-dropdown,
#footer {
     border: none !important;
    box-shadow: none !important;
}
}


/* Tabellen ohne Linien */
.vector-menu-dropdown .vector-menu-content li a {
table, th, td {
     background: rgb(255, 255, 255) !important;
     border: none !important;
     color: rgb(0, 0, 0) !important;
     background-color: #000 !important;
}
}


.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
.vector-menu-dropdown .vector-menu-content li a:hover {
    background-image: none !important;
     background: rgb(240, 240, 240) !important;
     background: none !important;
}
}


/* Hide Tools box that Vector 2022 renders itself */
#p-tb {
    display: none;
}


/* Hide "Powered by MediaWiki" */
/*----------------------------------------------------------
.mw-footer .poweredby {
  13. FORMS
     display: none !important;
----------------------------------------------------------*/
 
input, textarea, select {
     background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}
}

Revision as of 08:10, 20 July 2026

/************************************************************
 * CLEAN MINIMAL THEME — BLACK & WHITE ONLY
 * Layout değişikliği yok, sadece renk ve border
 ************************************************************/


/*----------------------------------------------------------
  0. GLOBAL RESET
----------------------------------------------------------*/

.mw-wiki-logo,
.mw-logo,
.mw-logo-icon,
.mw-logo-wordmark,
.vector-logo,
#p-logo,
#p-logo a,
.mw-logo-container {
    display: none !important;
    visibility: hidden !important;
}

html {
    font-size: 18px !important;
}

body, h1, h2, h3, h4, h5, h6, p, div, span, a, li, td, th,
input, textarea, select, button {
    font-family: Arial, sans-serif !important;
    color: rgb(0, 0, 0) !important;
    line-height: 1.62 !important;
}

body {
    background: rgb(255, 255, 255) !important;
}

/* Shadow kaldır */
* {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Tüm borderları beyaz yap (görünmez) */
*:not(img) {
    border-color: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  1. HEADER
----------------------------------------------------------*/

#mw-head,
#mw-head-base,
#mw-page-base,
.vector-header,
.vector-sticky-header,
.mw-header {
    background: rgb(255, 255, 255) !important;
}

/* Üst menüyü content ile hizala */
#left-navigation {
    margin-left: 10em !important;
}

/* Login kısmını içeri al */
#p-personal {
    margin-right: 1em !important;
}

#right-navigation {
    margin-right: 1em !important;
}


/*----------------------------------------------------------
  2. SIDEBAR
----------------------------------------------------------*/

#column-one,
#mw-panel,
.vector-legacy-sidebar {
    background: rgb(255, 255, 255) !important;
    padding-top: 5em !important;
    margin-top: 0 !important;
}

.portlet, .pBody {
    background: rgb(255, 255, 255) !important;
}

.portlet h3, .portlet h5 {
    color: rgb(0, 0, 0) !important;
    font-weight: bold !important;
    background: rgb(255, 255, 255) !important;
}

.portlet .pBody ul li a {
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
}

.portlet .pBody ul li a:hover {
    text-decoration: underline !important;
}

/* Tools gizle */
#p-tb {
    display: none !important;
}


/*----------------------------------------------------------
  3. TABS
----------------------------------------------------------*/

#p-namespaces,
#p-views,
#p-cactions,
.vector-tabs,
.vector-menu-tabs {
    background: rgb(255, 255, 255) !important;
}

#p-namespaces ul,
#p-views ul,
#p-cactions ul {
    background: rgb(255, 255, 255) !important;
}

#p-namespaces li a,
#p-views li a,
#p-cactions li a {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

#p-namespaces li.selected a,
#p-views li.selected a {
    font-weight: bold !important;
}

#p-namespaces li a:hover,
#p-views li a:hover,
#p-cactions li a:hover {
    background: rgb(240, 240, 240) !important;
}

/* Tab underline kaldır */
#p-namespaces li.selected a::after,
#p-views li.selected a::after,
.vector-menu-tabs li.selected a::after {
    display: none !important;
}


/*----------------------------------------------------------
  4. PERSONAL MENU (Login vs)
----------------------------------------------------------*/

#p-personal {
    background: rgb(255, 255, 255) !important;
}

#p-personal ul {
    background: rgb(255, 255, 255) !important;
}

#p-personal li a {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

#p-personal li a:hover {
    background: rgb(240, 240, 240) !important;
}


/*----------------------------------------------------------
  5. CONTENT
----------------------------------------------------------*/

#content, .mw-body, .mw-body-content {
    background: rgb(255, 255, 255) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6, .firstHeading {
    color: rgb(0, 0, 0) !important;
}

h1 { font-size: 2rem !important; }
h2 { font-size: 1.6rem !important; }
h3 { font-size: 1.35rem !important; }
h4 { font-size: 1.15rem !important; }

/* Links */
a, a:visited, a:hover {
    color: rgb(0, 0, 0) !important;
}

a:hover {
    text-decoration: underline !important;
}


/*----------------------------------------------------------
  6. SEARCH
----------------------------------------------------------*/

#p-search,
#simpleSearch,
#searchInput {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  7. TABLES
----------------------------------------------------------*/

table, th, td {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  8. IMAGES
----------------------------------------------------------*/

.thumb,
.thumbinner,
.thumbimage,
.gallerybox,
figure,
figcaption {
    background: transparent !important;
}

.thumbcaption, .gallerytext {
    color: rgb(0, 0, 0) !important;
}


/*----------------------------------------------------------
  9. INFOBOX
----------------------------------------------------------*/

.infobox, .infobox th, .infobox td {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  10. FOOTER
----------------------------------------------------------*/

#footer, #catlinks {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

#footer a, #catlinks a {
    color: rgb(0, 0, 0) !important;
}


/*----------------------------------------------------------
  11. VISUAL EDITOR
----------------------------------------------------------*/

.ve-ui-toolbar,
.ve-ui-toolbar-bar,
.oo-ui-toolbar,
.oo-ui-toolbar-bar,
.oo-ui-toolGroup,
.oo-ui-tool,
.oo-ui-buttonElement-button {
    background: rgb(255, 255, 255) !important;
}

.oo-ui-tool:hover,
.oo-ui-buttonElement-button:hover {
    background: rgb(240, 240, 240) !important;
}

.oo-ui-menuSelectWidget,
.oo-ui-popupWidget-popup,
.oo-ui-optionWidget,
.oo-ui-menuOptionWidget {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

.oo-ui-optionWidget:hover {
    background: rgb(240, 240, 240) !important;
}

.ve-ui-surface,
.ve-ce-surface {
    background: rgb(255, 255, 255) !important;
}

.wikiEditor-ui,
.wikiEditor-ui-toolbar {
    background: rgb(255, 255, 255) !important;
}


/*----------------------------------------------------------
  12. DROPDOWN MENÜLER
----------------------------------------------------------*/

.vector-menu-dropdown .vector-menu-content,
.vector-dropdown-content,
#p-cactions .vector-menu-content {
    background: rgb(255, 255, 255) !important;
}

.vector-menu-dropdown .vector-menu-content li a {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}

.vector-menu-dropdown .vector-menu-content li a:hover {
    background: rgb(240, 240, 240) !important;
}


/*----------------------------------------------------------
  13. FORMS
----------------------------------------------------------*/

input, textarea, select {
    background: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}