diff options
author | Tim Keller <tjkeller.xyz> | 2025-04-29 21:14:16 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-04-29 21:14:16 -0500 |
commit | b8ba7eb9a095929b21b2a9986378290611e6b59c (patch) | |
tree | 4ba8ba18c0795c03c227bc8b99295e8cc37312d8 | |
parent | a21cd7fb21c498bb0864c077889ff2aa42dfe5f6 (diff) | |
download | hugo-theme-tjkbasic-b8ba7eb9a095929b21b2a9986378290611e6b59c.tar.xz hugo-theme-tjkbasic-b8ba7eb9a095929b21b2a9986378290611e6b59c.zip |
-rw-r--r-- | assets/stylesheets/style.css | 10 |
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 } |