mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-26 22:30:44 -05:00
113 lines
2 KiB
CSS
113 lines
2 KiB
CSS
:root {
|
|
--main-bg: #C4DFDF;
|
|
--light-bg: #F8F6F4;
|
|
}
|
|
|
|
|
|
.container {
|
|
justify-content: center;
|
|
display: flex;
|
|
align-items: center;
|
|
align-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
background-color: var(--light-bg);
|
|
}
|
|
|
|
/* .sidebar {
|
|
position: relative;
|
|
} */
|
|
|
|
|
|
|
|
.form {
|
|
width: 60vw;
|
|
}
|
|
|
|
.form-input {
|
|
margin-bottom: 40px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-input input[type='text'],
|
|
.form-input input[type='password'],
|
|
.form-input input[type='email'] {
|
|
background-color: #FFFFFF;
|
|
border: 1px solid #D6D9DC;
|
|
border-radius: 3px;
|
|
width: 100%;
|
|
padding: 7px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-input label {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
@media only screen and (min-width: 700px) {
|
|
.sidebar {
|
|
width: 50vw;
|
|
margin-right: 10px;
|
|
}
|
|
.form {
|
|
margin-left: 30px;
|
|
padding: 20px;
|
|
}
|
|
form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
width: 700px;
|
|
gap: 20px;
|
|
}
|
|
|
|
.form-input {
|
|
align-items: flex-start; /* To avoid stretching */
|
|
margin-bottom: 10px;
|
|
}
|
|
.form-input input[type='text'],
|
|
.form-input input[type='password'],
|
|
.form-input input[type='email'] {
|
|
width: 290px;
|
|
height: initial;
|
|
}
|
|
.form-input label {
|
|
width: 290px;
|
|
}
|
|
|
|
/* Left side of the screen */
|
|
|
|
.sidebar {
|
|
background-image: url(../static/background.jpg);
|
|
background-position: center;
|
|
background-size: auto;
|
|
background-repeat: no-repeat;
|
|
height: 100%;
|
|
}
|
|
.logo {
|
|
position: relative;
|
|
background-color: rgb(22, 72, 99, 0.7);
|
|
top: 35vh;
|
|
height: 400px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo img {
|
|
height: 14vh;
|
|
}
|
|
|
|
.logo h1 {
|
|
font-weight: 900;
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 16px;
|
|
}
|