loop/node-server/assets/styles.css
2025-05-30 15:36:48 +02:00

124 lines
2.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
@media (min-width: 768px) { /* Écran plus large (tablette, PC) */
.container {
flex-direction: row;
justify-content: space-around;
}
}
/* Par défaut, style mobile */
body {
font-size: 16px;
background: linear-gradient(to bottom, #ffa600, #dd3000);
display: grid;
place-items: center; /* Centre horizontalement et verticalement */
height: 100vh;
margin: 0;
}
/* Quand l'écran est large (ex : tablette ou ordinateur) */
@media (min-width: 768px) {
body {
font-size: 18px;
}
}
.header-container {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 30px; /* pour séparer du reste */
}
.logo {
display: block;
margin-top: 40px;
margin-right: auto;
max-width: 200px;
}
h1 {
color: #ffffff;
font-size: 70%;
margin-top: 10px; /* espace entre logo et h1 */
}
h2 {
color: #ffffff;
font-size: 60%;
}
.login-title {
color: black;
font-size: 24px;
margin-bottom: 20px;
}
.orange {
color: #ffa600;
text-decoration: none;
}
.orange:hover {
text-decoration: underline;
}
.login-container {
background: white;
padding: 20px;
border-radius: 30px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
width: 300px;
height: 400px;
text-align: center
}
.login-container input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 50px;
font-size: 16px;
}
.login-container input:focus {
border: 2px solid #ffa600; /* ou la couleur que tu veux */
outline: none; /* enlève le contour bleu par défaut */
}
.button {
display: inline-block;
width: 100%; /* pareil que les input */
padding: 12px;
margin-top: 40px; /* plus de marge */
background-color:#ffa600;
color: white;
border: none;
border-radius: 50px;
font-size: 18px;
cursor: pointer;
transition: background 0.3s ease;
text-decoration: none;
}
.button:hover {
background-color: #dd3000;
}
.error-message {
color: red;
margin-top: 15px;
font-size: 14px;
}