diff options
Diffstat (limited to 'assets/stylesheets')
-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 } |