1
0
forked from noxious/client
Colin Kallemein b4797365f5 Crisis averted
Also changed the styling for Login
2024-05-03 20:47:37 +02:00

100 lines
1.9 KiB
SCSS

#bg-img {
height: 100vh;
position: absolute;
z-index: -1;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.content-wrapper {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: column;
.content-elements {
margin: 5rem 0;
width: inherit;
display: flex;
flex-direction: column;
gap: 1.5rem;
.login-form {
width: inherit;
form {
display: grid;
gap: 1rem;
width: inherit;
.form-field {
display: flex;
flex-direction: column;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 3px;
min-width: 25rem;
margin: 0 auto;
label {
color: #000;
background-color: rgba(255, 255, 255, 0.5);
padding: 0.25rem 0.5rem;
font-weight: 600;
font-size: 0.875rem;
}
input {
background-color: transparent;
border: none;
padding: 0.3rem 0.25rem;
font-size: 0.875rem;
&:focus-visible {
outline: none;
}
}
}
}
}
.row-buttons {
display: flex;
justify-content: center;
gap: 0.5rem;
.button {
padding: 0.875rem 0;
min-width: 6.25rem;
text-align: center;
position: relative;
font-size: 0.875rem;
p {
margin: auto;
}
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: -1;
}
&:hover {
filter: brightness(60%);
cursor: pointer;
}
}
}
}
}
.main-title {
margin-top: 7rem;
text-align: center;
font-size: 3rem;
color: #FFF;
text-shadow: -1px -1px 0 gray, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray;
}