fix index theme's yt embed

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2022-11-18 10:23:53 +05:30
parent a8d10f8bfc
commit a0791f8aec
2 changed files with 14 additions and 6 deletions

View File

@@ -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;

View File

@@ -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">