From 23639f6985fde10d6272c1ee2c48b8a3b11de84b Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 1 Dec 2020 17:55:09 +0100 Subject: [PATCH] Add iframe shortcode --- assets/style.scss | 10 ++++++++++ layouts/shortcodes/iframe.html | 1 + 2 files changed, 11 insertions(+) create mode 100644 layouts/shortcodes/iframe.html diff --git a/assets/style.scss b/assets/style.scss index 1f22ed4..d2a8adf 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -93,6 +93,16 @@ ul { padding-left: 1.5em; } +iframe { + border: none; + + width: 100%; + height: 56.25vw; + max-height: $large * 0.5625; + display: block; + margin: 1rem 0; +} + .nav { display: flex; flex-flow: column wrap; diff --git a/layouts/shortcodes/iframe.html b/layouts/shortcodes/iframe.html new file mode 100644 index 0000000..efef76a --- /dev/null +++ b/layouts/shortcodes/iframe.html @@ -0,0 +1 @@ +