From c90d8003fe085a358cbe9974f4e021a2a48e9601 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 5 Feb 2026 20:05:48 -0600 Subject: yt class optimize --- assets/stylesheets/style.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'assets/stylesheets') diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css index 4b5e403..b2489fc 100644 --- a/assets/stylesheets/style.css +++ b/assets/stylesheets/style.css @@ -208,15 +208,20 @@ ol, ul, pre code { } /* youtube iframe shortcode */ -div.yt-4x3 iframe { +div.yt iframe { display: block; - aspect-ratio: 4/3; - max-width: 600px; + aspect-ratio: 16/9; + max-width: 800px; width: 100%; margin: 2em auto; border: 0; } +div.yt.yt-4x3 iframe { + aspect-ratio: 4/3; + max-width: 600px; +} + /* utility classes */ .monodate, .monospace { font-family: monospace } .bold { font-weight: bold } -- cgit v1.2.3