X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/85fe5bf672260a88151fa02d1d6d224762edd6a2..9a60ead9e861fcb9c8fb252e4b27aa36d28b7954:/public/design/css/style.css?ds=inline diff --git a/public/design/css/style.css b/public/design/css/style.css index a09110f..27e627b 100644 --- a/public/design/css/style.css +++ b/public/design/css/style.css @@ -145,12 +145,19 @@ article + article { article img { display: block; width: 100%; - min-height: 20rem; - max-height: 40vh; + aspect-ratio: 640 / 360; + /*min-height: 20rem; + max-height: 40vh;*/ object-fit: cover; margin: 0 auto 1rem !important; } +article iframe { + display: block; + width: 100%; + aspect-ratio: 640 / 360; +} + /*@supports (aspect-ratio: 1) { article img { max-height: unset;