video embed

This commit is contained in:
Diego Najar 2017-11-05 15:41:52 +01:00
parent 3f3fde21e9
commit 96bb193c00

View File

@ -113,3 +113,19 @@ div.plugin-pages li.parent h3 {
div.plugin-pages ul.child {
margin-left: 5px;
}
/* VIDEO EMBED RESPONSIVE */
.video-embed {
overflow:hidden;
padding-bottom: 56.25%; /* 16:9 */
position:relative;
height:0;
}
.video-embed iframe{
left:0;
top:0;
height:100%;
width:100%;
position:absolute;
}