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;
|
max-width: 300px;
|
||||||
}
|
}
|
||||||
.videoofnow {
|
.videoofnow {
|
||||||
display: block;
|
max-width: 100%;
|
||||||
margin-left: auto;
|
position: relative;
|
||||||
margin-right: auto;
|
height: 0;
|
||||||
max-width: 500px;
|
padding-bottom: 56.25%
|
||||||
max-height: 300px;
|
}
|
||||||
|
.videoofnow iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
.quoteofnow {
|
.quoteofnow {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@@ -42,7 +42,9 @@
|
|||||||
<br>
|
<br>
|
||||||
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
|
<div class="quoteofnow">{{ settings.quoteofnow }}</div>
|
||||||
<br>
|
<br>
|
||||||
<iframe class ="videoofnow" width="560" height="315" src="{{ settings.videoofnow }}"></iframe>
|
<div class="videoofnow">
|
||||||
|
<iframe src="{{ settings.videoofnow }}" />
|
||||||
|
</div>
|
||||||
<br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<div class="ban">
|
<div class="ban">
|
||||||
|
Reference in New Issue
Block a user