MediaWiki:Common.css: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
1.600 Bytes hinzugefügt ,  22:52, 2. Jun. 2022
Dark Mode V1
(Dnd-Logo für Dnd-Namespace)
(Dark Mode V1)
Zeile 79: Zeile 79:
.ns-3001 .mw-wiki-logo {
.ns-3001 .mw-wiki-logo {
   background-image: url(/resources/assets/dnd.png);
   background-image: url(/resources/assets/dnd.png);
}
/* Dark mode */
@media screen and (prefers-color-scheme: dark) {
  html {
    /*filter: invert(1);
    hue-rotate(180deg);*/
    font-color: white;
  }
 
  /*#p-logo {
    filter: invert(1);
  }*/
  body {
    background: #262626;
  }
  #mw-page-base {
    background-color: #080808;
    background-image: linear-gradient(to bottom,#000000 50%,#262626 100%);
  }
  .mw-body {
    background-color: black;
    color: lightgrey;
  }
  h1, h2, h3, h4, h5, h6 {
    color: lightgrey;
  }
  .mw-code {
    background-color: #222;
    color: lightgrey;
  }
  .wikitable {
    background-color: #137464f;
    color: lightgrey;
  }
  .wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #36454f;
    color: lightgrey;
  }
  .wikitable > * > tr > td {
    background-color: #222;
  }
  .editOptions {
    color: lightgrey;
    background-color: #222;
  }
  a {
    color: #69f;
  }
  a:visited {
    color: #709bbd;
  }
  .vector-menu-portal .vector-menu-content li a {
    color: #69f;
  }
  .vector-menu-portal .vector-menu-content li a:visited {
    color: #709bbd;
  }
  .vector-menu-tabs li {
    background-image: linear-gradient(to top, #333333 0, #222233 1px, #000 100%);
    color: white;
  }
  .vector-menu-tabs .selected {
    background: black;
    color: white;
  }
  .vector-menu-tabs li a {
    color: white;
  }
  .vector-menu-tabs li a:visited {
    color: #ccc;
  }
  .vector-menu-tabs .selected li a {
    background-color: black;
    color: white;
  }
  .vector-menu-tabs .selected a:visited {
    background-color: black;
    color: #709bbd;
  }
}
}

Navigationsmenü