65 lines
982 B
CSS
65 lines
982 B
CSS
|
body {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
height: 100vh;
|
||
|
height: 100lvh;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
|
||
|
font-family: sans-serif;
|
||
|
}
|
||
|
|
||
|
#login-box {
|
||
|
padding: 0 10px;
|
||
|
width: 275px;
|
||
|
height: min(calc(100lvh - 110px), 450px);
|
||
|
border: 4px solid black;
|
||
|
border-radius: 12px;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-evenly;
|
||
|
}
|
||
|
|
||
|
label {
|
||
|
margin-left: 4px;
|
||
|
}
|
||
|
|
||
|
input[type="text"],
|
||
|
input[type="password"] {
|
||
|
width: 267px;
|
||
|
}
|
||
|
|
||
|
input::placeholder {
|
||
|
color: transparent;
|
||
|
}
|
||
|
|
||
|
button {
|
||
|
padding: 10px 20px;
|
||
|
text-decoration: none;
|
||
|
border: 2px solid;
|
||
|
border-radius: 6px;
|
||
|
box-shadow: black 2px 2px 3px 0;
|
||
|
background-color: white;
|
||
|
font-size: 1rem;
|
||
|
cursor: pointer;
|
||
|
margin: 35px 0 25px 0;
|
||
|
color: blue;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
display: block;
|
||
|
font-size: .85rem;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.gap {
|
||
|
height: 20px;
|
||
|
}
|