MediaWiki:Common.css: Difference between revisions
From Drug Information
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 12: | Line 12: | ||
color-scheme: light !important; | color-scheme: light !important; | ||
filter: none !important; | filter: none !important; | ||
} | |||
/* Theme override for dark mode: colors remain fixed in dark environments */ | |||
@media (prefers-color-scheme: dark) { | |||
.dm-threshold { background-color: #00FF00 !important; color: black !important; } | |||
.dm-light { background-color: #008080 !important; color: white !important; } | |||
.dm-common { background-color: #0000FF !important; color: white !important; } | |||
.dm-strong { background-color: #800080 !important; color: white !important; } | |||
.dm-heavy { background-color: #FF0000 !important; color: white !important; } | |||
} | } | ||
Revision as of 01:38, 8 March 2026
/* CSS placed here will be applied to all skins */
#footer-info-lastmod {
display: none !important;
}
.force-light-mode {
color-scheme: light !important;
filter: none !important;
background-color: white !important;
}
.force-light-mode * {
color-scheme: light !important;
filter: none !important;
}
/* Theme override for dark mode: colors remain fixed in dark environments */
@media (prefers-color-scheme: dark) {
.dm-threshold { background-color: #00FF00 !important; color: black !important; }
.dm-light { background-color: #008080 !important; color: white !important; }
.dm-common { background-color: #0000FF !important; color: white !important; }
.dm-strong { background-color: #800080 !important; color: white !important; }
.dm-heavy { background-color: #FF0000 !important; color: white !important; }
}