diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/stylesheets/style.css | 11 |
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 } |
