X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/c42685eb41e003f7702d473c739564d64f1a133f..af380ed734795855fb40fbb311c3a85d052d3a83:/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;