88 lines
1.5 KiB
SCSS
88 lines
1.5 KiB
SCSS
@use "./../../../../assets/style/colors.scss" as *;
|
|
@use "./../../../../assets/style/form.scss" as *;
|
|
@use "./../../../../assets/style/auth-layout.scss" as *;
|
|
|
|
section {
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
|
|
url(./../../../../assets/img/backgrounds/home.png);
|
|
}
|
|
|
|
.headline {
|
|
p:nth-child(1) {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
padding: 12px;
|
|
}
|
|
p:nth-child(2) {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
padding: 12px;
|
|
}
|
|
p:nth-child(3) {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
form {
|
|
flex-direction: row;
|
|
position: relative;
|
|
width: 500px;
|
|
padding: 24px;
|
|
input {
|
|
width: 65%;
|
|
padding: 12px 18px;
|
|
margin: 8px 0;
|
|
color: $white;
|
|
border: 2px solid $white;
|
|
border-radius: 24px;
|
|
font-size: 18px;
|
|
&::placeholder {
|
|
color: rgba($white, 0.6);
|
|
}
|
|
}
|
|
.error-border {
|
|
border: 2px solid $red;
|
|
}
|
|
}
|
|
|
|
.error-msg {
|
|
position: absolute;
|
|
bottom: 0;
|
|
padding: 6px;
|
|
width: 57%;
|
|
}
|
|
|
|
/*------------- RESPONSIVE -------------*/
|
|
|
|
@media screen and (max-width: 550px) {
|
|
form {
|
|
flex-direction: column;
|
|
width: 90%;
|
|
input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.error-msg {
|
|
position: relative;
|
|
padding: 0;
|
|
height: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
.headline {
|
|
p:nth-child(1) {
|
|
font-size: 36px;
|
|
}
|
|
p:nth-child(2) {
|
|
font-size: 20px;
|
|
}
|
|
p:nth-child(3) {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|