From b0bfaef7d2ff5fb83a63a8a6aa9db139c0b7bc37 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 1 Dec 2020 19:29:21 +0000 Subject: [PATCH] Add private youtube embed shortcode --- layouts/shortcodes/youtube.html | 7 +++++++ static/src/scss/style.scss | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 layouts/shortcodes/youtube.html diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html new file mode 100644 index 0000000..1dc78db --- /dev/null +++ b/layouts/shortcodes/youtube.html @@ -0,0 +1,7 @@ + diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 2984fd3..36f3169 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -194,6 +194,11 @@ pre.chroma { iframe { width: 100%; height: 75vh; + + &.youtube-embed { + margin-bottom: $paragraph-margin-bottom; + height: 50vh; + } } figure {