Ajout du style pour la page de connexion

This commit is contained in:
2023-05-15 05:15:34 +02:00
parent e97b1d1659
commit 38f24a3ec3
8 changed files with 96 additions and 21 deletions

44
app/static/login.css Normal file
View File

@ -0,0 +1,44 @@
body {
width: clamp(400px, 65%, 800px);
margin: 50px auto;
font-family: "Montserrat", sans-serif;
text-align: center;
}
form table {
margin: 30px auto;
}
form input[type=text], form input[type=password] {
padding: 10px;
border: none;
background-color: #eee;
transition: 200ms background-color;
}
form input[type=text]:hover, form input[type=password]:hover {
background-color: #ddd;
}
input[type=submit] {
border: none;
background-color: dodgerblue;
color: white;
padding: 5px 10px;
border-radius: 3px;
transition: 200ms background-color, 200ms color;
}
input[type=submit]:hover {
background-color: #ddd;
color: black;
}
input[type=submit]:active {
background-color: #bbb;
}
p.error-box {
padding: 10px;
background-color: #ef9a9a;
}

View File

@ -90,7 +90,13 @@ body {
background-color: var(--theme-color-light);
}
main {
margin: 10px;
}
.grade-report td, .grade-report th {
padding: 5px;
}
footer {
background-color: #46484d;