From 372d696eec07d9171a116a85d5e46ec3c7218a05 Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 24 Feb 2023 14:48:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20center=20and=20enlarge?= =?UTF-8?q?=20iframes=20(embeds)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_misc.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index 509ecbf8b..02743d2f5 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -20,6 +20,16 @@ line-height: 2.4rem; } +iframe { + border: none; + display:block; + aspect-ratio: 16/9; + width: 100vmin; + max-width: 80%; + margin-left: 10%; + margin-right: 10%; +} + ul { margin-top: 0; }