133 lines
2.2 KiB
CSS
133 lines
2.2 KiB
CSS
/* Reset et styles de base */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Merienda', cursive;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
/* Décor de fond */
|
|
.river {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 60vw;
|
|
opacity: 0.15;
|
|
pointer-events: none;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Container principal */
|
|
.login-container {
|
|
width: 100%;
|
|
max-width: 480px;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
/* Logo */
|
|
.logo {
|
|
max-width: 220px;
|
|
height: auto;
|
|
}
|
|
|
|
/* Slogan */
|
|
.slogan {
|
|
font-family: 'Merienda', cursive;
|
|
text-align: center;
|
|
color: #3a3a3a;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
/* Formulaire */
|
|
.login-form {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Labels */
|
|
label {
|
|
color: #3a3a3a;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Champs de saisie */
|
|
input {
|
|
height: 80px;
|
|
border: none;
|
|
border-radius: 30px;
|
|
padding: 0 1.2rem;
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
background-size: cover;
|
|
}
|
|
|
|
input[type="email"] {
|
|
background-image: url('assets/field_email.png');
|
|
color: #fff;
|
|
}
|
|
|
|
input[type="password"] {
|
|
background-image: url('assets/field_password.png');
|
|
color: #000;
|
|
}
|
|
|
|
/* Bouton de connexion */
|
|
.login-button {
|
|
height: 80px;
|
|
background-image: url('assets/btn_green.png');
|
|
background-size: cover;
|
|
border: none;
|
|
border-radius: 40px;
|
|
color: #ffffff;
|
|
font-family: "Merienda", cursive;
|
|
font-size: 1.1rem;
|
|
cursor: pointer;
|
|
transition: filter 0.2s ease;
|
|
}
|
|
|
|
.login-button:hover {
|
|
filter: brightness(1.08);
|
|
}
|
|
|
|
/* Media queries pour mobile */
|
|
@media (max-width: 480px) {
|
|
.river {
|
|
width: 40vw;
|
|
opacity: 0.10;
|
|
clip-path: inset(0 0 20% 0);
|
|
}
|
|
|
|
.logo {
|
|
max-width: 120px;
|
|
}
|
|
|
|
.login-container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.slogan {
|
|
font-size: 1.2rem;
|
|
}
|
|
} |