org-theme/scss/partials/_video.scss

18 lines
290 B
SCSS
Raw Permalink Normal View History

2020-11-26 13:41:33 +01:00
// Youtube Videos
div.yt {
position: relative;
padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
2020-11-25 23:22:07 +01:00
}
2020-11-26 13:41:33 +01:00
// Other Videos
2020-11-25 23:22:07 +01:00
video {
max-width: 100%;
}