From 5d211ace2b640ab9d205793526ec3e98ecac1149 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 7 May 2024 09:43:40 -0400 Subject: feat: give iframes nice borders and size them to HD aspect ratio --- includes/www.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'includes') diff --git a/includes/www.css b/includes/www.css index 6a78e00..0c7b47c 100644 --- a/includes/www.css +++ b/includes/www.css @@ -89,21 +89,27 @@ } p img { + border-left: var(--box-border); + border-radius: var(--box-radius); + border-right: var(--box-border); display: block; - margin-top: 1em; + height: auto; margin-left: auto; margin-right: auto; + margin-top: 1em; max-width: 75%; - height: auto; - border-radius: var(--box-radius); - border-left: var(--box-border); - border-right: var(--box-border); } iframe { + aspect-ratio: 16 / 9; + border-left: var(--box-border); + border-radius: var(--box-radius); + border-right: var(--box-border); display: block; + margin-bottom: 1em; margin-left: auto; margin-right: auto; + width: 75%; } .list { -- cgit v1.2.3