aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-02-05 20:05:48 -0600
committerTim Keller <tjk@tjkeller.xyz>2026-02-05 20:05:48 -0600
commitc90d8003fe085a358cbe9974f4e021a2a48e9601 (patch)
tree55de5a1212429f5d013dd5b6603e5256e3299ba6
parent10c68b6dea8798b093875779bb3c30794dfc7cf6 (diff)
downloadhugo-theme-tjkbasic-c90d8003fe085a358cbe9974f4e021a2a48e9601.tar.xz
hugo-theme-tjkbasic-c90d8003fe085a358cbe9974f4e021a2a48e9601.zip
yt class optimizeHEADmaster
-rw-r--r--assets/stylesheets/style.css11
1 files changed, 8 insertions, 3 deletions
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 }