SiteWebAstrolabe/src/scss/components/_video-player.scss

23 lines
286 B
SCSS
Raw Normal View History

2020-06-19 23:47:44 +02:00
.video-player {
position: relative;
padding-top: 56.25%;
@include media-query('md') {
.post & {
padding-top: 66%;
}
}
> iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.post & {
padding-top: 63%;
}
}