fix: Mobile Darstellung des Kontaktformulars gefixt.

This commit is contained in:
muli 2023-07-23 14:39:14 +02:00
parent 31331ec3e7
commit 3e1a7332a0

View File

@ -1258,6 +1258,35 @@ footer {
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
} }
.contact__box {
display: flex !important;
flex-direction: column;
}
.contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 7.5rem;
margin: 0 0 0 1.5rem;
order: 1;
}
.contact__box .contact_info__box {
margin: 0.5rem 0 0 1.5rem;
align-self: start;
order: 3;
width: 100%;
max-width: 75ch;
display: flex;
justify-content: space-between;
}
.contact__box .contact_form_box {
order: 2;
}
} }
@media screen and (max-width: 959px) and (min-width: 790px) { @media screen and (max-width: 959px) and (min-width: 790px) {
@ -1313,36 +1342,32 @@ footer {
} }
.contact__box { .contact__box {
display: block; display: flex !important;
flex-direction: column;
} }
.contact__box h1 { .contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange); color: var(--wtf-orange);
transform: unset; background-image: none;
background-image: unset; font-size: 7.5rem;
font-size: 3.5rem; margin: 0 0 0 1.5rem;
padding: 0 1.5rem; order: 1;
margin-bottom: 1.25rem;
}
.contact__box h2 {
margin-bottom: 1.75rem;
} }
.contact__box .contact_info__box { .contact__box .contact_info__box {
width: 100%; margin: 0.5rem 0 0 1.5rem;
margin: 0; align-self: start;
padding: 0 1.5rem; order: 3;
width: 90%;
max-width: 75ch;
display: flex; display: flex;
box-sizing: border-box; justify-content: space-between;
} }
.contact__box .contact_info__box p { .contact__box .contact_form_box {
margin-right: 1.5rem; order: 2;
}
.card_grid {
grid-template-columns: 1fr;
} }
} }
@ -1579,32 +1604,32 @@ footer {
} }
.contact__box { .contact__box {
display: block; display: flex !important;
flex-direction: column;
} }
.contact__box h1 { .contact__box h1 {
transform: translateX(0) rotate(0);
color: var(--wtf-orange); color: var(--wtf-orange);
transform: unset; background-image: none;
background-image: unset; font-size: 7.5rem;
font-size: 3.5rem; margin: 0 0 0 1.5rem;
padding: 0 1.5rem; order: 1;
margin-bottom: 1.25rem;
}
.contact__box h2 {
margin-bottom: 1.75rem;
} }
.contact__box .contact_info__box { .contact__box .contact_info__box {
width: 100%; margin: 0.5rem 0 0 1.5rem;
margin: 0; align-self: start;
padding: 0 1.5rem; order: 3;
width: 90%;
max-width: 75ch;
display: flex; display: flex;
box-sizing: border-box; justify-content: space-between;
} }
.contact__box .contact_info__box p { .contact__box .contact_form_box {
margin-right: 1.5rem; order: 2;
} }
/* homepage - end */ /* homepage - end */
@ -1888,24 +1913,38 @@ footer {
display: block; display: block;
} }
.contact__box h1 { .contact__box {
color: var(--wtf-orange); display: flex !important;
transform: unset; flex-direction: column;
background-image: unset;
font-size: 3.5rem;
padding: 0 1.5rem;
margin-bottom: 1.25rem;
} }
.contact__box h2 { .contact__box h1 {
margin-bottom: 1.75rem; transform: translateX(0) rotate(0);
color: var(--wtf-orange);
background-image: none;
font-size: 7.5rem;
margin: 0 0 0 1.5rem;
order: 1;
} }
.contact__box .contact_info__box { .contact__box .contact_info__box {
width: 100%; margin: 0.5rem 0 0 1.5rem;
margin: 0; align-self: start;
padding: 0 1.5rem; order: 3;
box-sizing: border-box; width: 90%;
max-width: 75ch;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.contact__box .contact_info__box p {
margin-right: 0.5rem;
}
.contact__box .contact_form_box {
order: 2;
} }
/* homepage - end */ /* homepage - end */