From 4320b4ea0d464d7a7c4cf01064e85dc47d20b1be Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 21 Mar 2021 18:07:37 +0100 Subject: [PATCH] Improved spacing on homepage for mobile devices. --- assets/css/style.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index fbcb928..b2864fa 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -240,6 +240,7 @@ header { .content__button { width: 70%; + margin-top: 0; } .header__bg_box { @@ -676,7 +677,7 @@ hr.-even { .content__button { display: block; - margin: 1.5rem auto 0 auto; + margin: 0 auto 0 auto; } .content__teaser { @@ -1273,7 +1274,7 @@ footer { .content__button { width: 40%; - margin: 1.5rem 0 0 auto; + margin: 0 0 0 auto; } .content__inner_third_heading { @@ -1340,6 +1341,10 @@ footer { display: block; } + header { + margin-bottom: 0; + } + header, .header__bg_box, .header__slim_box { display: flex; flex-direction: column; @@ -1498,6 +1503,10 @@ footer { /* mobile nav - Ende */ /* homepage - start */ + .body__separator { + margin: 0; + } + .content__inner_box.-logo_header { margin: -0.5rem 1.5rem 0 1.5rem; } @@ -1519,11 +1528,11 @@ footer { .content__button { width: auto; - margin: 1.5rem 0 0 auto; + margin: -0.5rem 0 0 auto; } .content__inner_third_heading { - margin-top: 3rem; + margin-top: 1.5rem; } .content__inner_box.-card_box_head {