diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixamingata/base.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/web/cobrands/fixamingata/base.scss b/web/cobrands/fixamingata/base.scss index a231a69f2..eeba74951 100644 --- a/web/cobrands/fixamingata/base.scss +++ b/web/cobrands/fixamingata/base.scss @@ -41,3 +41,22 @@ #pc-hint { color: #444; } + +/* This together with resp-iframe below gives us a responsive + iframe for the video on the councils page that keeps the + correct width/height ratio when the page is resized. +*/ +.resp-iframe-container { + position: relative; + overflow: hidden; + padding-top: 56.25%; +} + +.resp-iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + border: 0; +} |