MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus GreenWay2 WIKI
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: →‎Metin2 Wiki Theme - Dark Mode: body { background-color: #1a1a1a; color: #e0e0e0; } #content { background: #242424; border-color: #4a4a4a; } →‎Infoboxen: .infobox { background: #2d2d2d; border: 1px solid #c9a227; color: #e0e0e0; border-radius: 4px; } .infobox th { background: #3d3d3d; color: #c9a227;…“)
 
(Header oben fix)
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =============================================
  /* Metin2 Wiki Theme - Dark Mode */
  Metin2 Wiki - Dark Mode mit Hintergrundbild
  body {
  ============================================= */
      background-color: #1a1a1a;
      color: #e0e0e0;
  }


  #content {
/* === HINTERGRUNDBILD === */
      background: #242424;
html {
      border-color: #4a4a4a;
    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;
}


  /* Infoboxen */
body {
  .infobox {
    background: transparent !important;
      background: #2d2d2d;
}
      border: 1px solid #c9a227;
      color: #e0e0e0;
      border-radius: 4px;
  }


  .infobox th {
/* === ALLE WRAPPER TRANSPARENT === */
      background: #3d3d3d;
.mediawiki,
      color: #c9a227;
.skin-vector,
      padding: 5px 8px;
.skin-vector-legacy,
      text-align: left;
.skin-vector-2022,
      width: 40%;
#mw-page-base,
      border-bottom: 1px solid #4a4a4a;
#mw-head-base,
  }
.mw-page-container,
.mw-page-container-inner {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}


  .infobox td {
/* === HEADER OBEN (das weisse) === */
      padding: 5px 8px;
.mw-header,
      border-bottom: 1px solid #4a4a4a;
#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;
}


  /* Tabellen */
/* Navigation bar ganz oben */
  .wikitable {
#mw-navigation,
      background: #2d2d2d;
.mw-header-background,
      border: 1px solid #4a4a4a;
.vector-sticky-header,
      color: #e0e0e0;
.vector-sticky-header-container {
  }
    background: rgba(26, 26, 26, 0.95) !important;
}


  .wikitable th {
/* Personal tools (Login etc) */
      background: #3d3d3d;
#p-personal,
      color: #c9a227;
#pt-userpage,
      border: 1px solid #4a4a4a;
.vector-user-links {
      padding: 8px;
    background: transparent !important;
  }
}


  .wikitable td {
/* === CONTENT BEREICH === */
      border: 1px solid #4a4a4a;
#content,
      padding: 8px;
.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;
}


  /* Links */
/* === SIDEBAR === */
  a { color: #ffd700; }
#mw-panel,
  a:visited { color: #daa520; }
.mw-panel,
  a:hover { color: #ffec8b; }
.vector-main-menu,
  a.new { color: #ff6b6b; }
.vector-main-menu-container,
.mw-portlet,
.mw-portlet-body {
    background: rgba(26, 26, 26, 0.9) !important;
}


  /* Ueberschriften */
#p-logo {
  h1, h2, h3, h4, h5, h6 {
    background: transparent !important;
      color: #c9a227;
}
      border-bottom-color: #4a4a4a;
  }


  /* Code */
.mw-portlet-heading,
  pre, code {
.vector-menu-heading {
      background: #1a1a1a;
    color: #c9a227 !important;
      border: 1px solid #4a4a4a;
}
      color: #98fb98;
  }


  /* Kategorien */
/* === RECHTE SIDEBAR === */
  .catlinks {
.vector-column-end,
      background: #2d2d2d;
#mw-panel-toc,
      border: 1px solid #4a4a4a;
.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;
}

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;
}