This commit is contained in:
Sam Potts
2015-08-27 07:30:14 +10:00
parent b39961ec49
commit 0785ca6024
6 changed files with 750 additions and 533 deletions

File diff suppressed because it is too large Load Diff

View File

@ -170,6 +170,7 @@
&-video-embed {
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
iframe {
position: absolute;
@ -178,6 +179,14 @@
width: 100%;
height: 100%;
border: 0;
user-select: none;
}
// Vimeo hack
> div {
position: relative;
padding-bottom: 200%;
transform: translateY(-35.95%);
}
}