Proper spacing for iframe embeds and responsive videos

This commit is contained in:
John O'Nolan 2013-10-31 19:22:54 +01:00
parent 38be6803b4
commit 2dcf64a8ce
1 changed files with 10 additions and 0 deletions

View File

@ -322,6 +322,16 @@ table.plain tbody > tr:nth-child(odd) > th {
background: transparent;
}
iframe, .fluid-width-video-wrapper {
display: block;
margin: 1.6em 0;
}
/* When a video is inside the fitvids wrapper, drop the
margin on the iframe, cause it breaks stuff. */
.fluid-width-video-wrapper iframe {
margin: 0;
}
/* ==========================================================================