Update sass reset and componets to use modern css and internal mixins to replace typey.

This commit is contained in:
Fredrik Jonsson 2023-01-25 10:05:44 +01:00
commit 3fdb351a8a

View file

@ -10,7 +10,7 @@
.responsive-video,
%responsive-video {
position: relative;
padding-bottom: (9 / 16) * 100%; // 16:9 aspect ratio
padding-bottom: calc(9 / 16 * 100%); // 16:9 aspect ratio
padding-top: 25px; // Height of video controls
height: 0;
@ -27,6 +27,6 @@
}
&--4-3 {
padding-bottom: (3 / 4) * 100%; // 4:3 aspect ratio
padding-bottom: calc(3 / 4 * 100%); // 4:3 aspect ratio
}
}