Mercurial > hg > nginx-site
diff xslt/style.xslt @ 2262:086e307d8b28
Regenerated.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 29 Oct 2018 19:52:32 +0300 |
parents | d66119b0c8a9 |
children | 91a2ee74ca72 |
line wrap: on
line diff
--- a/xslt/style.xslt Mon Oct 29 19:52:32 2018 +0300 +++ b/xslt/style.xslt Mon Oct 29 19:52:32 2018 +0300 @@ -95,6 +95,16 @@ padding: 0; margin: 0; } sup { font-size: 50%; } + .video { position: relative; + padding-bottom: 56.25%; + overflow: hidden; } + .video iframe, + .video object, + .video embed { position: absolute; + top:0; + left:0; + width:100%; + height:100%; } ') "/> <xsl:if test="$lang = 'he'">