Added three videos to documentation.

Created shortcode for YouTube videos and made the videos responsive in the
stylesheet.
This commit is contained in:
Dan Hersam
2015-01-27 17:14:19 -05:00
committed by bep
parent e52a76f559
commit 06b1a88358
5 changed files with 32 additions and 0 deletions

View File

@@ -531,3 +531,23 @@ i.freebsd-19px:before {
content: url(/img/freebsd-19px.svg);
vertical-align: -7%;
}
/* Responsive videos */
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 30px;
height: 0;
overflow: hidden;
margin: 20px 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}