diff --git a/prosopopee/themes/exposure/static/css/style-page.css b/prosopopee/themes/exposure/static/css/style-page.css index 6567993..036c89e 100644 --- a/prosopopee/themes/exposure/static/css/style-page.css +++ b/prosopopee/themes/exposure/static/css/style-page.css @@ -472,3 +472,26 @@ blockquote:after { blockquote p { display: inline; } + +video.responsive-video { + max-width: 100%; + height: auto; +} + +.youtube-container { + position: relative; + padding-bottom: 56.25%; + height: 0; + overflow: hidden; +} + + +.youtube-container iframe, .youtube-container object, .youtube-container embed { + position: absolute; + top: 0; + left: 0; + height: 77%; + width: 77%; + margin-left: 11.5%; + margin-right: 11.5%; +} diff --git a/prosopopee/themes/exposure/templates/sections/bordered-picture.html b/prosopopee/themes/exposure/templates/sections/bordered-picture.html index 7f7e446..c88f415 100644 --- a/prosopopee/themes/exposure/templates/sections/bordered-picture.html +++ b/prosopopee/themes/exposure/templates/sections/bordered-picture.html @@ -9,7 +9,7 @@
-
{% else %} diff --git a/prosopopee/themes/exposure/templates/sections/pictures-group.html b/prosopopee/themes/exposure/templates/sections/pictures-group.html index 1a0fa42..8f2ebe9 100644 --- a/prosopopee/themes/exposure/templates/sections/pictures-group.html +++ b/prosopopee/themes/exposure/templates/sections/pictures-group.html @@ -12,7 +12,7 @@ {% set format = settings.ffmpeg.extension %} {{ video.copy() }} -