MediaWiki:Common.css: Difference between revisions

No edit summary
mNo edit summary
 
Line 89: Line 89:
   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);
}
/* forced nightmode */
@media screen {
    /* DarkMode for MSUpload */
    html.skin-theme-clientpref-night #msupload-div{
        background: none;
    }
    html.skin-theme-clientpref-night #msupload-list > li{
        background: none;
    }
}
/* automatic mode */
@media screen and (prefers-color-scheme: dark) {
    /* DarkMode for MSUpload */
    html.skin-theme-clientpref-os  #msupload-div{
        background: none;
    }
    html.skin-theme-clientpref-os  #msupload-list > li{
        background: none;
    }
}
}