Add page hero video for vimeo/youtube using embedresponsively.com code (#788)

This commit is contained in:
Justin Too
2017-01-24 06:29:34 -08:00
committed by Michael Rose
parent 22a4b3d0b7
commit 65a6654582
10 changed files with 146 additions and 5 deletions

View File

@@ -479,4 +479,27 @@ a.reversefootnote {
table, tr, td {
border: 0; /* remove table borders widget */
}
}
}
/*
Responsive Video Embed
========================================================================== */
.responsive-video-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
iframe,
object,
embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}