aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-04-29 21:14:16 -0500
committerTim Keller <tjkeller.xyz>2025-04-29 21:14:16 -0500
commitb8ba7eb9a095929b21b2a9986378290611e6b59c (patch)
tree4ba8ba18c0795c03c227bc8b99295e8cc37312d8
parenta21cd7fb21c498bb0864c077889ff2aa42dfe5f6 (diff)
downloadhugo-theme-tjkbasic-b8ba7eb9a095929b21b2a9986378290611e6b59c.tar.xz
hugo-theme-tjkbasic-b8ba7eb9a095929b21b2a9986378290611e6b59c.zip
add 4:3 youtube embed styleHEADmaster
-rw-r--r--assets/stylesheets/style.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/stylesheets/style.css b/assets/stylesheets/style.css
index db782e8..2253b65 100644
--- a/assets/stylesheets/style.css
+++ b/assets/stylesheets/style.css
@@ -169,6 +169,16 @@ ol, ul, pre code {
max-width: 100%;
}
+/* youtube iframe shortcode */
+div.yt-4x3 iframe {
+ display: block;
+ aspect-ratio: 4/3;
+ max-width: 600px;
+ width: 100%;
+ margin: 2em auto;
+ border: 0;
+}
+
/* utility classes */
.monodate, .monospace { font-family: monospace }
.bold { font-weight: bold }