MediaWiki:Common.css: Difference between revisions
From Drug Information
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 18: | Line 18: | ||
} | } | ||
/* Theme override for dark mode only */ | |||
@media (prefers-color-scheme: dark) { | @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: #FF69B4 !important; color: black !important; } /* Pink */ | |||
.dm-strong { background-color: #800080 !important; color: white !important; } | |||
.dm-heavy { background-color: #FF0000 !important; color: white !important; } /* Red */ | |||
} | } | ||
Revision as of 01:53, 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;
}
.fixed-light-colors {
background-color: white !important;
}
/* Theme override for dark mode only */
@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: #FF69B4 !important; color: black !important; } /* Pink */
.dm-strong { background-color: #800080 !important; color: white !important; }
.dm-heavy { background-color: #FF0000 !important; color: white !important; } /* Red */
}