Skip to content

Commit dc96589

Browse files
authored
Merge pull request #80 from commonknowledge/maciej/feature/cssforiframes
Update iframe CSS for embeds
2 parents e13f18e + 66cba55 commit dc96589

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

banmarchive/static/css/website.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,14 @@ p {
495495
transform: translateY(100%);
496496
}
497497

498+
iframe[src^="https://www.youtube.com"],
499+
iframe[src^="https://player.vimeo.com"]
500+
{
501+
width: 100%;
502+
aspect-ratio: 16 / 9;
503+
height: auto;
504+
}
505+
498506
@media (min-width: 768px) {
499507
.nav {
500508
display: flex;

0 commit comments

Comments
 (0)