Jump to content

MediaWiki:Common.css: Difference between revisions

From Year 1701
Fix dark theme fix for footer Powered by MediaWiki logo
Fix dark theme fix for footer Powered by MediaWiki logo
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Dark theme Powered by background fix */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
     #footer-poweredbyico a {
     html.skin-theme-clientpref-os #footer-poweredbyico a,
    html.skin-theme-clientpref-night #footer-poweredbyico a, {
         background-color: #2b2b2b !important;
         background-color: #2b2b2b !important;
     }
     }
}
html.skin-theme-clientpref-night #footer-poweredbyico a, {
    background-color: #2b2b2b !important;
}
}

Revision as of 17:34, 7 June 2026

/* CSS placed here will be applied to all skins */

/* Dark theme Powered by background fix */
@media (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os #footer-poweredbyico a,
    html.skin-theme-clientpref-night #footer-poweredbyico a, {
        background-color: #2b2b2b !important;
    }
}

html.skin-theme-clientpref-night #footer-poweredbyico a, {
    background-color: #2b2b2b !important;
}