From de0f42a3cd34311d1448fc0ebed901ad1260d3db Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Apr 2021 14:14:24 -0300 Subject: auto-height image banner this isn't a 100% perfect fix since loaded, upscaled banners will have a *slightly* different final height than the lazy load (about 3px), but it's relatively negligible. preferably, refined banners would be the target 1100x200 aspect ratio in the first place. --- static/site.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/site.css b/static/site.css index 241d161..ae41f88 100644 --- a/static/site.css +++ b/static/site.css @@ -72,6 +72,7 @@ body::before { #banner img { display: block; width: 100%; + height: auto; } a { -- cgit 1.3.0-6-gf8a5