diff options
Diffstat (limited to 'static/css/styles.css')
-rw-r--r-- | static/css/styles.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/static/css/styles.css b/static/css/styles.css index ca46216..8795ded 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -100,3 +100,18 @@ section#paginator #next { #post { margin: 0 0 100px 0; } + +.videoWrapper { + position: relative; + padding-bottom: 56.25%; /* 16:9 */ + padding-top: 25px; + height: 0; + margin: 10px; +} +.videoWrapper iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} |