Improved spacing on homepage for mobile devices.

This commit is contained in:
Stephan 2021-03-21 18:07:37 +01:00
parent d83b0288eb
commit 4320b4ea0d

View File

@ -240,6 +240,7 @@ header {
.content__button { .content__button {
width: 70%; width: 70%;
margin-top: 0;
} }
.header__bg_box { .header__bg_box {
@ -676,7 +677,7 @@ hr.-even {
.content__button { .content__button {
display: block; display: block;
margin: 1.5rem auto 0 auto; margin: 0 auto 0 auto;
} }
.content__teaser { .content__teaser {
@ -1273,7 +1274,7 @@ footer {
.content__button { .content__button {
width: 40%; width: 40%;
margin: 1.5rem 0 0 auto; margin: 0 0 0 auto;
} }
.content__inner_third_heading { .content__inner_third_heading {
@ -1340,6 +1341,10 @@ footer {
display: block; display: block;
} }
header {
margin-bottom: 0;
}
header, .header__bg_box, .header__slim_box { header, .header__bg_box, .header__slim_box {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -1498,6 +1503,10 @@ footer {
/* mobile nav - Ende */ /* mobile nav - Ende */
/* homepage - start */ /* homepage - start */
.body__separator {
margin: 0;
}
.content__inner_box.-logo_header { .content__inner_box.-logo_header {
margin: -0.5rem 1.5rem 0 1.5rem; margin: -0.5rem 1.5rem 0 1.5rem;
} }
@ -1519,11 +1528,11 @@ footer {
.content__button { .content__button {
width: auto; width: auto;
margin: 1.5rem 0 0 auto; margin: -0.5rem 0 0 auto;
} }
.content__inner_third_heading { .content__inner_third_heading {
margin-top: 3rem; margin-top: 1.5rem;
} }
.content__inner_box.-card_box_head { .content__inner_box.-card_box_head {