Todo/static/css/login.css

84 lines
1.3 KiB
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;
background-image: url(/img/login.jpg);
background-size: cover;
background-position: center;
}
#login-box {
backdrop-filter: blur(10px);
border: none;
border-radius: 25px;
background-color: #27272750;
padding: 25px;
width: 750px;
height: 500px;
box-shadow: 0px 10px 50px 2px rgba(0,0,0,0.95);
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
h1 {
text-align: center;
color: white;
}
a {
display: block;
font-size: .85rem;
}
p, a, .normal-text {
color: white;
text-decoration: none;
}
.credentials {
border: none;
padding: 10px;
border-radius: 10px;
margin: 20px;
background-color: #27272750;
color: white;
}
.login-btn {
padding: 10px 20px;
text-decoration: none;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
margin: 35px 0 25px 0;
background-color: green;
color: white;
border: none;
}
.credentials-wrapper {
display: grid;
justify-items: center;
}
.credentials-wrapper > label {
display: none;
}
input[type="text"],
input[type="password"] {
width: 267px;
}