Difference between revisions of "Template:VideoBox"
From ALttP Speedrunning Wiki
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
.videobox { | .videobox { | ||
− | + | display: inline-block; | |
− | + | vertical-align: top; | |
− | + | margin-right: 12px; | |
− | + | margin-top: 12px; | |
− | + | border: 1px solid #eaeaea; | |
− | + | background: #f8f9fa; | |
} | } | ||
.videobox .title { | .videobox .title { | ||
− | + | font-weight: bold; | |
− | + | padding-left: 8px; | |
− | + | padding-right: 8px; | |
+ | } | ||
+ | |||
+ | .videobox video { | ||
+ | width: 100%; | ||
} | } | ||
.videobox .description { | .videobox .description { | ||
− | + | font-size: 0.85em; | |
− | + | padding-left: 8px; | |
− | + | padding-right: 8px; | |
} | } | ||
Line 25: | Line 29: | ||
text-align: right; | text-align: right; | ||
} | } | ||
− | + | }}<div class="videobox" style="width: {{{width|380}}}px; float:{{{float|none}}};"> | |
− | }} | + | <p class="title">{{{title|}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time}}}</span> }}</p> |
− | + | <html5media loop muted>{{{file}}}</html5media> | |
− | <div class="videobox"> | + | <p class="description">{{{description|{{{caption|}}}}}} |
− | <p class="title">{{{title| | + | <span style="float:right;">[[:{{{file}}}|File]]</span> |
− | <html5media | + | <span style="display:none;">[[{{{file}}}|link=|0x0px]]</span><!--- to have file usage working ---> |
− | <p class="description">{{{description| | + | </p> |
</div> | </div> |
Latest revision as of 10:52, 16 May 2019
Html5mediator: not a valid URL
[[:{{{file}}}|File]]