MediaWiki:Common.css: Difference between revisions

From Drug Information
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 14: Line 14:
}
}


/* Theme override for dark mode: colors remain fixed in dark environments */
.fixed-light-colors {
    background-color: white !important;
}
 
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     .dm-threshold { background-color: #00FF00 !important; color: black !important; }
     .dm-threshold { background-color: #00FF00 !important; color: black !important; }

Revision as of 01:41, 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;
}

@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; }
}