Improve iframe and image rendering

This commit is contained in:
ItsDrike 2021-08-26 02:21:55 +02:00
parent f7521cf3ef
commit eb64b4122d
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -147,6 +147,23 @@ table td {
margin-top: $headings-margin-bottom * 2.2;
}
img {
width: 100%;
}
iframe {
width: 100%;
&:not([height]) {
height: 75vh;
}
&.youtube-embed {
margin-bottom: $paragraph-margin-bottom;
height: 50vh;
}
}
table {
@extend .table, .table-dark, .table-striped;
margin: 0 auto;