MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Schevv (Diskussion | Beiträge) |
Schevv (Diskussion | Beiträge) (Hintergrundfarbe der Kategorienlinks im Dark Mode) |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 61: | Zeile 61: | ||
visibility: visible; | visibility: visible; | ||
opacity: 1; | opacity: 1; | ||
} | |||
/* MW-Logo für MW-Seiten */ | |||
.ns-3002 .mw-wiki-logo { | |||
background-image: url(/resources/assets/bm_tw_red.png); | |||
} | |||
.ns-3003 .mw-wiki-logo { | |||
background-image: url(/resources/assets/bm_tw_red.png); | |||
} | |||
/* Dnd-Logo für Dnd-Seiten */ | |||
.ns-3000 .mw-wiki-logo { | |||
background-image: url(/resources/assets/dnd.png); | |||
} | |||
.ns-3001 .mw-wiki-logo { | |||
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, .toc { | |||
background-color: #222; | |||
color: lightgrey; | |||
} | |||
.wikitable { | |||
background-color: #47464f; | |||
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; | |||
} | |||
.catlinks { | |||
background-color: transparent; | |||
} | |||
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; | |||
} | |||
} | } |
Aktuelle Version vom 3. Juni 2022, 09:18 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ .Hauptseite_Box { margin: 0 10px 0 10px; border: thin solid lightgrey; } .Hauptseite_Box h2 { border: thin solid lightgrey; background-color: #D8E8FF; text-align:center; font-size:1em; font-family: sans-serif; font-weight: bold; margin: 0; } ul.HorizontalList { list-style-image: none; list-style-position: outside; list-style-type: none; } ul.HorizontalList li { display: inline; } .wikitooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .wikitooltip .wikitooltiptext { visibility: hidden; width: 120px; background-color: #555; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.3s; } .wikitooltip .wikitooltiptext::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #555 transparent transparent transparent; } .wikitooltip:hover .wikitooltiptext { visibility: visible; opacity: 1; } /* MW-Logo für MW-Seiten */ .ns-3002 .mw-wiki-logo { background-image: url(/resources/assets/bm_tw_red.png); } .ns-3003 .mw-wiki-logo { background-image: url(/resources/assets/bm_tw_red.png); } /* Dnd-Logo für Dnd-Seiten */ .ns-3000 .mw-wiki-logo { background-image: url(/resources/assets/dnd.png); } .ns-3001 .mw-wiki-logo { 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, .toc { background-color: #222; color: lightgrey; } .wikitable { background-color: #47464f; 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; } .catlinks { background-color: transparent; } 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; } }