Update sass reset and componets to use modern css and internal mixins to replace typey.
This commit is contained in:
parent
4b4234df6f
commit
3fdb351a8a
1 changed files with 285 additions and 361 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue