fix index theme's yt embed
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
@@ -58,11 +58,17 @@
|
||||
max-width: 300px;
|
||||
}
|
||||
.videoofnow {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 500px;
|
||||
max-height: 300px;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%
|
||||
}
|
||||
.videoofnow iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.quoteofnow {
|
||||
text-align: center;
|
||||
|
@@ -42,7 +42,9 @@
|
||||
<br>
|
||||
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
|
||||
<br>
|
||||
<iframe class ="videoofnow" width="560" height="315" src="{{ settings.videoofnow }}"></iframe>
|
||||
<div class="videoofnow">
|
||||
<iframe src="{{ settings.videoofnow }}" />
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
<div class="ban">
|
||||
|
Reference in New Issue
Block a user