comparison xsls/style.xsls @ 2261:b459b643bf5a

Added "video" element to include YouTube videos.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 29 Oct 2018 19:52:32 +0300
parents 15b49619f7fc
children 80cc4e6d3d6d
comparison
equal deleted inserted replaced
2260:4e53813fbe21 2261:b459b643bf5a
92 border-left: 1px solid #BBB; } 92 border-left: 1px solid #BBB; }
93 blockquote.example pre { 93 blockquote.example pre {
94 padding: 0; 94 padding: 0;
95 margin: 0; } 95 margin: 0; }
96 sup { font-size: 50%; } 96 sup { font-size: 50%; }
97 .video { position: relative;
98 padding-bottom: 56.25%;
99 overflow: hidden; }
100 .video iframe,
101 .video object,
102 .video embed { position: absolute;
103 top:0;
104 left:0;
105 width:100%;
106 height:100%; }
97 ') } 107 ') }
98 108
99 X:if "$lang = 'he'" { 109 X:if "$lang = 'he'" {
100 !{ normalize-space(' 110 !{ normalize-space('
101 pre { text-align: left; 111 pre { text-align: left;