diff options
author | Sem <sembrestels@riseup.net> | 2013-11-07 03:19:39 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-07 03:19:39 +0100 |
commit | 24e097f126aee59206c7f44e2b37b915d85dfd23 (patch) | |
tree | 3bdcc75975898262d364454ef15b36a62cfb0840 /views/default/videolist/css.php | |
parent | 5a051b09c63a5d2b58e4cd7d93cdf747181a60b1 (diff) | |
download | elgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.gz elgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.bz2 |
Setting responsive dimensions.
Diffstat (limited to 'views/default/videolist/css.php')
-rw-r--r-- | views/default/videolist/css.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php index 931d80567..625935451 100644 --- a/views/default/videolist/css.php +++ b/views/default/videolist/css.php @@ -5,6 +5,19 @@ ?> .videolist-watch { - margin-top: 40px; - margin-left: 20px; + margin-top: 40px; + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; } + +.videolist-watch iframe, +.videolist-watch object, +.videolist-watch embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +}
\ No newline at end of file |