mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-10 05:59:41 +00:00
Improve iframe and image rendering
This commit is contained in:
parent
f7521cf3ef
commit
eb64b4122d
|
@ -147,6 +147,23 @@ table td {
|
||||||
margin-top: $headings-margin-bottom * 2.2;
|
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 {
|
table {
|
||||||
@extend .table, .table-dark, .table-striped;
|
@extend .table, .table-dark, .table-striped;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
Loading…
Reference in a new issue