From fa86ff94f3dd0706de557d97522b820a1caeb75d Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Fri, 26 Jan 2024 21:23:49 +0100 Subject: [PATCH] remove horizontal scrolling, fix header image --- themes/hugo-theme-flat/static/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/hugo-theme-flat/static/css/style.css b/themes/hugo-theme-flat/static/css/style.css index d02d349..0b6e266 100644 --- a/themes/hugo-theme-flat/static/css/style.css +++ b/themes/hugo-theme-flat/static/css/style.css @@ -250,7 +250,7 @@ a.external:after { /* size the element who has breakpoint limitation */ /* .header, .main-wrapper, .main { width: 100vw; } */ /* .header-wrapper, .footer { width: 100vw; } */ -.header-wrapper { +.header { background-image: url("/img/banner.png"); background-size: cover; background-repeat: no-repeat; @@ -258,7 +258,7 @@ a.external:after { } .header-wrapper, .footer { - width: 100vw; + width: 90vw; } .main-wrapper { width: calc(100vw - 2 * var(--len-3));