Template:VideoGallery/styles.css: Difference between revisions
Created page with "→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; background-color: rgba(255, 255, 240, 0.8); border-radius: 5px; border-top: 0.5px solid grey; border-left: 0.5px solid grey; border-right: 0.5px solid grey; border-bo..." |
m changed background-color for background to grey-ish |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
.video-embed-gallery .embedvideo { | .video-embed-gallery .embedvideo { | ||
padding: 3px; | padding: 3px; | ||
border-radius: 5px; | border-radius: 5px; | ||
border-top: 0.5px solid grey; | border-top: 0.5px solid grey; | ||
Line 19: | 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 */