MediaWiki:Common.css: Difference between revisions
mNo edit summary |
Approved Rev Indicator dark |
||
Line 90: | Line 90: | ||
border-radius: 5px; | border-radius: 5px; | ||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); | ||
} | |||
/* Approved Rev Indicator */ | |||
/* forced nightmode */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .approved-revision { | |||
background-color: #ccc !important; | |||
color: black !important; | |||
} | |||
} | |||
/* automatic mode */ | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .approved-revision { | |||
background-color: #ccc !important; | |||
color: black !important; | |||
} | |||
} | } |