Template:VideoGallery/styles.css: Difference between revisions
m removed background color |
m changed background-color for background to grey-ish |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
border-right: 0.5px solid grey; | border-right: 0.5px solid grey; | ||
border-bottom: 1px solid grey; | border-bottom: 1px solid grey; | ||
} | |||
.embedvideo-consent { | |||
z-index: 1; | |||
background-color: rgba(200, 200, 200, 0.8) !important; | |||
} | |||
/* forced nightmode */ | |||
@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 */ |
Latest revision as of 00:13, 12 March 2025
/* START Embeded Video Gallery */
/* whole gallery */
.video-embed-gallery {
position: relative;
padding: 5px;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
gap: 5px;
}
.video-embed-gallery .embedvideo {
padding: 3px;
border-radius: 5px;
border-top: 0.5px solid grey;
border-left: 0.5px solid grey;
border-right: 0.5px solid grey;
border-bottom: 1px solid grey;
}
.embedvideo-consent {
z-index: 1;
background-color: rgba(200, 200, 200, 0.8) !important;
}
/* forced nightmode */
@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 */