yannstatic/_sass/components/_extensions.scss

37 lines
579 B
SCSS
Raw Normal View History

2024-10-31 20:18:37 +01:00
@use 'sass:math';
.extensions {
margin: map-get($spacers, 3) 0;
@extend .d-print-none;
}
.extensions--video, .extensions--slide, .extensions--demo {
position: relative;
width: 100%;
padding: 0;
& > iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.extensions--video {
padding-top: math.div(315, 560);
}
.extensions--slide {
padding-top: math.div(487, 599);
}
.extensions--demo {
min-height: 340px;
padding-top: math.div(315, 560);
}
.extensions--audio {
display: block;
max-width: 100% !important;
}