Template:VideoGallery/styles.css: Difference between revisions

Test css to enforced darkmode on video
Add Gorasuhl solution to darkmode, lightmode and automode
Line 21: Line 21:


.embedvideo-consent {
.embedvideo-consent {
z-index: 1;
    z-index: 1;
background-color:#27292d !important;
    background-color: rgba(255, 255, 240, 0.8) !important;
}
 
@media screen {
    html.skin-theme-clientpref-night .embedvideo-consent {
        background-color:#27292d !important;
    }
}
 
/* automatic mode */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .embedvideo-consent {
        background-color:#27292d !important;
    }
}
}
/* END Embeded Video Gallery */
/* END Embeded Video Gallery */