Prep work for theming

This commit is contained in:
Sam Potts
2016-05-01 19:27:53 +10:00
parent 39a0a38d07
commit fad3f41ca7
16 changed files with 699 additions and 679 deletions
+31
View File
@@ -0,0 +1,31 @@
// Embedded videos
// --------------------------------------------------------------
// Container for embeds
.plyr__video-embed {
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
border-radius: inherit;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
user-select: none;
}
// Vimeo hack
> div {
position: relative;
padding-bottom: 200%;
transform: translateY(-35.95%);
}
}
// To allow mouse events to be captured if full support
.plyr .plyr__video-embed iframe {
pointer-events: none;
}