update responsive design

This commit is contained in:
Chneemann 2024-05-16 19:33:46 +02:00
parent 599466f97a
commit 0a3d6fa355
2 changed files with 42 additions and 17 deletions

View file

@ -37,3 +37,11 @@
margin-bottom: 12px; margin-bottom: 12px;
} }
} }
@media screen and (max-width: 380px) {
.footer {
a {
font-size: 14px;
}
}
}

View file

@ -14,12 +14,12 @@ section {
top: 50%; top: 50%;
right: 50%; right: 50%;
transform: translate(50%, -50%); transform: translate(50%, -50%);
width: 422px; width: 482px;
height: fit-content; height: fit-content;
background: var(--white); background: var(--white);
box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.05);
border-radius: 30px; border-radius: 30px;
padding: 48px 96px; padding: 48px 64px;
p { p {
font-size: 61px; font-size: 61px;
font-weight: 700; font-weight: 700;
@ -46,7 +46,7 @@ section {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: relative; position: relative;
width: 100%; width: 90%;
.custom-input::-webkit-contacts-auto-fill-button { .custom-input::-webkit-contacts-auto-fill-button {
visibility: hidden; visibility: hidden;
} }
@ -157,11 +157,17 @@ section {
/*------------- RESPONSIVE -------------*/ /*------------- RESPONSIVE -------------*/
@media (max-height: 800px) {
.content {
top: 45%;
}
}
@media screen and (max-width: 650px) { @media screen and (max-width: 650px) {
.content { .content {
width: 322px; width: 352px;
height: fit-content; height: fit-content;
padding: 24px 48px; padding: 24px 36px;
p { p {
font-size: 47px; font-size: 47px;
} }
@ -180,19 +186,34 @@ section {
} }
} }
@media (max-height: 800px) { @media screen and (max-width: 450px) {
.content { .content {
top: 45%; width: calc(100vw - 84px);
padding: 24px 36px;
p {
font-size: 36px;
}
.line {
img {
width: 112px;
}
}
}
.headline {
app-btn-back {
top: 30px;
left: 25px;
}
} }
} }
@media screen and (max-width: 450px) { @media screen and (max-width: 380px) {
.content { .content {
width: 252px; width: calc(100vw - 60px);
height: fit-content;
padding: 12px 24px; padding: 12px 24px;
p { p {
font-size: 36px; font-size: 32px;
} }
.line { .line {
img { img {
@ -203,8 +224,8 @@ section {
.headline { .headline {
app-btn-back { app-btn-back {
top: 15px; left: 15px;
left: 20px; top: 12.5px;
} }
} }
@ -235,10 +256,6 @@ section {
} }
} }
.input-fields {
width: 80%;
}
.error-msg { .error-msg {
height: 18px; height: 18px;
p { p {