MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus GreenWay2 WIKI
Zur Navigation springen Zur Suche springen
(Full Dark Mode v2)
(Header oben fix)
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* =============================================
/* =============================================
   Metin2 Wiki - FULL Dark Mode fuer Vector Skin
   Metin2 Wiki - Dark Mode mit Hintergrundbild
   ============================================= */
   ============================================= */


/* ALLES dunkel machen */
/* === HINTERGRUNDBILD === */
html, body,
html {
    background: #1a1a1a url("https://greenway2.de/wiki/images/3/3a/Bg.png") no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100% !important;
}
 
body {
    background: transparent !important;
}
 
/* === ALLE WRAPPER TRANSPARENT === */
.mediawiki,
.skin-vector,
.skin-vector,
.skin-vector-legacy,
.skin-vector-legacy,
.skin-vector-2022,
#mw-page-base,
#mw-head-base,
.mw-page-container,
.mw-page-container,
.mw-page-container-inner {
.mw-page-container-inner {
     background: #1a1a1a !important;
     background: transparent !important;
     background-color: #1a1a1a !important;
    background-color: transparent !important;
    background-image: none !important;
}
 
/* === HEADER OBEN (das weisse) === */
.mw-header,
#mw-head,
.vector-header,
.vector-header-container,
.vector-feature-page-tools-pinned-enabled .vector-header,
header,
.mw-header-container {
    background: rgba(26, 26, 26, 0.95) !important;
     background-color: rgba(26, 26, 26, 0.95) !important;
}
 
/* Navigation bar ganz oben */
#mw-navigation,
.mw-header-background,
.vector-sticky-header,
.vector-sticky-header-container {
    background: rgba(26, 26, 26, 0.95) !important;
}
 
/* Personal tools (Login etc) */
#p-personal,
#pt-userpage,
.vector-user-links {
    background: transparent !important;
}
}


/* Hauptcontent-Bereich - DAS WICHTIGSTE */
/* === CONTENT BEREICH === */
#content,
.mw-body,
.mw-body,
.vector-body,
.vector-body-before-content,
#content,
#bodyContent,
#bodyContent,
.mw-body-content,
.mw-body-content,
div#content,
.vector-body {
div.mw-body {
     background: rgba(36, 36, 36, 0.95) !important;
     background: #242424 !important;
    background-color: #242424 !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
    border-radius: 5px !important;
}
}


/* Vector 2022 spezifisch */
/* === SIDEBAR === */
.vector-feature-page-tools-enabled .vector-page-toolbar-container,
.vector-column-start,
.vector-column-end,
.vector-sitenotice-container,
.vector-body-before-content {
    background: #242424 !important;
}
 
/* Sidebar komplett */
#mw-panel,
#mw-panel,
.mw-panel,
.mw-panel,
#mw-navigation,
.vector-main-menu,
.vector-main-menu,
.vector-main-menu-container,
.vector-main-menu-container,
nav.vector-menu,
.mw-portlet,
.vector-menu-portal,
.mw-portlet-body {
.vector-menu-content {
     background: rgba(26, 26, 26, 0.9) !important;
     background: #1a1a1a !important;
}
     background-color: #1a1a1a !important;
 
#p-logo {
     background: transparent !important;
}
}


.vector-menu-portal .vector-menu-heading,
.mw-portlet-heading,
.vector-menu-heading {
.vector-menu-heading {
     color: #c9a227 !important;
     color: #c9a227 !important;
}
}


.vector-menu-content-list a {
/* === RECHTE SIDEBAR === */
    color: #ffd700 !important;
.vector-column-end,
}
#mw-panel-toc,
 
.vector-page-tools,
/* Header */
.vector-pinnable-element {
#mw-head, .mw-header,
     background: rgba(26, 26, 26, 0.9) !important;
.vector-header,
.vector-header-container {
     background: #1a1a1a !important;
}
}


/* Tabs oben */
/* === TABS === */
.vector-menu-tabs,
.vector-menu-tabs,
.vector-menu-tabs li,
#p-views,
#p-views, #p-namespaces,
#p-namespaces,
.mw-body .vector-page-toolbar {
.vector-page-toolbar {
     background: #242424 !important;
     background: transparent !important;
}
}


.vector-menu-tabs a,
.vector-menu-tabs a,
.vector-menu-tabs li a {
#p-views a,
#p-namespaces a {
     color: #ffd700 !important;
     color: #ffd700 !important;
}
}


.vector-menu-tabs .selected a,
.vector-menu-tabs .selected,
.vector-menu-tabs li.selected {
.vector-menu-tabs li.selected {
     background: #3d3d3d !important;
     background: rgba(61, 61, 61, 0.9) !important;
}
}


/* Footer */
/* === FOOTER === */
#footer, footer, .mw-footer {
#footer,
     background: #1a1a1a !important;
.mw-footer,
footer {
     background: rgba(26, 26, 26, 0.9) !important;
     color: #888 !important;
     color: #888 !important;
    border-top: 1px solid #4a4a4a !important;
}
}


/* Rechte Sidebar (Werkzeuge) */
#footer a {
#mw-panel-toc,
     color: #ffd700 !important;
.vector-column-end,
.vector-page-toolbar,
.vector-page-tools {
     background: #1a1a1a !important;
}
}


/* ===== FARBEN ===== */
/* === LINKS === */
 
/* Links */
a { color: #ffd700 !important; }
a { color: #ffd700 !important; }
a:visited { color: #daa520 !important; }
a:visited { color: #daa520 !important; }
a:hover { color: #ffec8b !important; text-decoration: underline !important; }
a:hover { color: #ffec8b !important; }
a.new, a.new:visited { color: #ff6b6b !important; }
a.new { color: #ff6b6b !important; }
a.external { color: #87ceeb !important; }


/* Ueberschriften */
/* === UEBERSCHRIFTEN === */
h1, h2, h3, h4, h5, h6,
h1, h2, h3, h4, h5, h6,
.mw-headline,
.mw-headline,
#firstHeading,
#firstHeading {
.mw-first-heading {
     color: #c9a227 !important;
     color: #c9a227 !important;
}
}
Zeile 119: Zeile 143:
}
}


/* Tabellen */
/* === TABELLEN === */
table, .wikitable {
.wikitable {
     background: #2d2d2d !important;
     background: rgba(45, 45, 45, 0.95) !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}


.wikitable th, table.wikitable th {
.wikitable th {
     background: #3d3d3d !important;
     background: rgba(61, 61, 61, 0.95) !important;
     color: #c9a227 !important;
     color: #c9a227 !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
}
}


.wikitable td, table.wikitable td {
.wikitable td {
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
    background: #2d2d2d !important;
}
}


/* Infobox */
/* === INFOBOX === */
.infobox, .infobox th, .infobox td {
.infobox {
     background: #2d2d2d !important;
     background: rgba(45, 45, 45, 0.95) !important;
     border-color: #c9a227 !important;
     border-color: #c9a227 !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
Zeile 145: Zeile 168:


.infobox th {
.infobox th {
     background: #3d3d3d !important;
     background: rgba(61, 61, 61, 0.95) !important;
     color: #c9a227 !important;
     color: #c9a227 !important;
}
}


/* Kategorien */
/* === KATEGORIEN === */
#catlinks, .catlinks, .mw-normal-catlinks {
#catlinks, .catlinks {
     background: #2d2d2d !important;
     background: rgba(45, 45, 45, 0.95) !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
}
}


/* Code */
/* === CODE === */
pre, code, .mw-code {
pre, code {
     background: #1a1a1a !important;
     background: rgba(26, 26, 26, 0.95) !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
     color: #98fb98 !important;
     color: #98fb98 !important;
}
}


/* TOC */
/* === TOC === */
.toc, #toc, .toctogglecheckbox {
.toc, #toc {
     background: #2d2d2d !important;
     background: rgba(45, 45, 45, 0.95) !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
}
}


/* Suche */
/* === SUCHE === */
#simpleSearch, #searchInput,
#simpleSearch, #searchInput,
.cdx-text-input__input,
.cdx-text-input__input,
.vector-search-box-input {
.vector-search-box-input {
     background: #2d2d2d !important;
     background: rgba(45, 45, 45, 0.95) !important;
     border-color: #4a4a4a !important;
     border-color: #4a4a4a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}


/* Buttons */
/* === BUTTONS === */
button, input[type="submit"], .mw-ui-button {
button, input[type="submit"], .mw-ui-button {
     background: #3d3d3d !important;
     background: #3d3d3d !important;
Zeile 184: Zeile 207:
}
}


/* Bearbeiten */
/* === BEARBEITEN === */
#wpTextbox1, textarea {
#wpTextbox1, textarea {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
    border-color: #4a4a4a !important;
}
}


.editOptions {
.editOptions {
     background: #242424 !important;
     background: rgba(36, 36, 36, 0.95) !important;
}
 
/* Meldungen */
.mw-message-box, .warningbox, .errorbox {
    background: #3d3d3d !important;
    border-color: #c9a227 !important;
}
 
/* Spezialseiten-Listen */
.mw-spcontent, .special {
    background: #242424 !important;
}
 
/* Kategorie-Listen */
.mw-category, .mw-category-group {
    background: #242424 !important;
}
 
#mw-subcategories, #mw-pages {
    background: #242424 !important;
}
}

Aktuelle Version vom 19. Februar 2026, 21:46 Uhr

/* =============================================
   Metin2 Wiki - Dark Mode mit Hintergrundbild
   ============================================= */

/* === HINTERGRUNDBILD === */
html {
    background: #1a1a1a url("https://greenway2.de/wiki/images/3/3a/Bg.png") no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100% !important;
}

body {
    background: transparent !important;
}

/* === ALLE WRAPPER TRANSPARENT === */
.mediawiki,
.skin-vector,
.skin-vector-legacy,
.skin-vector-2022,
#mw-page-base,
#mw-head-base,
.mw-page-container,
.mw-page-container-inner {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* === HEADER OBEN (das weisse) === */
.mw-header,
#mw-head,
.vector-header,
.vector-header-container,
.vector-feature-page-tools-pinned-enabled .vector-header,
header,
.mw-header-container {
    background: rgba(26, 26, 26, 0.95) !important;
    background-color: rgba(26, 26, 26, 0.95) !important;
}

/* Navigation bar ganz oben */
#mw-navigation,
.mw-header-background,
.vector-sticky-header,
.vector-sticky-header-container {
    background: rgba(26, 26, 26, 0.95) !important;
}

/* Personal tools (Login etc) */
#p-personal,
#pt-userpage,
.vector-user-links {
    background: transparent !important;
}

/* === CONTENT BEREICH === */
#content,
.mw-body,
#bodyContent,
.mw-body-content,
.vector-body {
    background: rgba(36, 36, 36, 0.95) !important;
    color: #e0e0e0 !important;
    border-color: #4a4a4a !important;
    border-radius: 5px !important;
}

/* === SIDEBAR === */
#mw-panel,
.mw-panel,
.vector-main-menu,
.vector-main-menu-container,
.mw-portlet,
.mw-portlet-body {
    background: rgba(26, 26, 26, 0.9) !important;
}

#p-logo {
    background: transparent !important;
}

.mw-portlet-heading,
.vector-menu-heading {
    color: #c9a227 !important;
}

/* === RECHTE SIDEBAR === */
.vector-column-end,
#mw-panel-toc,
.vector-page-tools,
.vector-pinnable-element {
    background: rgba(26, 26, 26, 0.9) !important;
}

/* === TABS === */
.vector-menu-tabs,
#p-views,
#p-namespaces,
.vector-page-toolbar {
    background: transparent !important;
}

.vector-menu-tabs a,
#p-views a,
#p-namespaces a {
    color: #ffd700 !important;
}

.vector-menu-tabs .selected,
.vector-menu-tabs li.selected {
    background: rgba(61, 61, 61, 0.9) !important;
}

/* === FOOTER === */
#footer,
.mw-footer,
footer {
    background: rgba(26, 26, 26, 0.9) !important;
    color: #888 !important;
    border-top: 1px solid #4a4a4a !important;
}

#footer a {
    color: #ffd700 !important;
}

/* === LINKS === */
a { color: #ffd700 !important; }
a:visited { color: #daa520 !important; }
a:hover { color: #ffec8b !important; }
a.new { color: #ff6b6b !important; }

/* === UEBERSCHRIFTEN === */
h1, h2, h3, h4, h5, h6,
.mw-headline,
#firstHeading {
    color: #c9a227 !important;
}

h1, h2 {
    border-bottom-color: #4a4a4a !important;
}

/* === TABELLEN === */
.wikitable {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: #4a4a4a !important;
    color: #e0e0e0 !important;
}

.wikitable th {
    background: rgba(61, 61, 61, 0.95) !important;
    color: #c9a227 !important;
    border-color: #4a4a4a !important;
}

.wikitable td {
    border-color: #4a4a4a !important;
}

/* === INFOBOX === */
.infobox {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: #c9a227 !important;
    color: #e0e0e0 !important;
}

.infobox th {
    background: rgba(61, 61, 61, 0.95) !important;
    color: #c9a227 !important;
}

/* === KATEGORIEN === */
#catlinks, .catlinks {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: #4a4a4a !important;
}

/* === CODE === */
pre, code {
    background: rgba(26, 26, 26, 0.95) !important;
    border-color: #4a4a4a !important;
    color: #98fb98 !important;
}

/* === TOC === */
.toc, #toc {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: #4a4a4a !important;
}

/* === SUCHE === */
#simpleSearch, #searchInput,
.cdx-text-input__input,
.vector-search-box-input {
    background: rgba(45, 45, 45, 0.95) !important;
    border-color: #4a4a4a !important;
    color: #e0e0e0 !important;
}

/* === BUTTONS === */
button, input[type="submit"], .mw-ui-button {
    background: #3d3d3d !important;
    border-color: #c9a227 !important;
    color: #e0e0e0 !important;
}

/* === BEARBEITEN === */
#wpTextbox1, textarea {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
}

.editOptions {
    background: rgba(36, 36, 36, 0.95) !important;
}