585
Bearbeitungen
Schevv (Diskussion | Beiträge) |
Schevv (Diskussion | Beiträge) (Hintergrundfarbe der Kategorienlinks im Dark Mode) |
||
| (6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 22: | Zeile 22: | ||
ul.HorizontalList li { | ul.HorizontalList li { | ||
display: inline; | 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; | |||
} | |||
} | } | ||