quelque amelioration
This commit is contained in:
@@ -1,35 +1,42 @@
|
||||
/* Styles globaux */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background-color: #ececec; /* gris clair */
|
||||
background: linear-gradient(to right, #f0f2f5, #e2e8f0);
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
header {
|
||||
background-color: #555; /* gris foncé */
|
||||
background-color: #2d3748; /* gris foncé doux */
|
||||
color: #fff;
|
||||
padding: 15px;
|
||||
border-radius: 6px;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 25px;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
header h1 {
|
||||
margin: 0;
|
||||
font-size: 1.8rem;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
header p {
|
||||
margin: 5px 0 0 0;
|
||||
margin: 8px 0 0 0;
|
||||
}
|
||||
|
||||
header a {
|
||||
color: #cfcfcf;
|
||||
color: #a0aec0;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
header a:hover {
|
||||
@@ -39,53 +46,47 @@ header a:hover {
|
||||
|
||||
/* Titres */
|
||||
h1, h2, h3 {
|
||||
color: #333;
|
||||
margin-top: 20px;
|
||||
color: #1a202c;
|
||||
margin-top: 25px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Formulaire de modification */
|
||||
/* Formulaire de confirmation de suppression */
|
||||
form {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
max-width: 600px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
textarea {
|
||||
padding: 30px 25px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
|
||||
max-width: 400px;
|
||||
width: 100%;
|
||||
padding: 8px;
|
||||
border: 1px solid #bfc9d6;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Boutons */
|
||||
button {
|
||||
background-color: #555; /* gris foncé uniforme */
|
||||
background-color: #e53e3e; /* rouge pour danger */
|
||||
color: #fff;
|
||||
padding: 10px 15px;
|
||||
padding: 12px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
margin: 0 10px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #333;
|
||||
background-color: #c53030;
|
||||
}
|
||||
|
||||
/* Liens annuler */
|
||||
a {
|
||||
color: #555;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
color: #3182ce;
|
||||
font-weight: 500;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
@@ -95,17 +96,34 @@ a:hover {
|
||||
|
||||
/* Messages d'erreur */
|
||||
.error {
|
||||
color: #721c24;
|
||||
background-color: #f8d7da;
|
||||
border: 1px solid #f5c6cb;
|
||||
color: #c53030;
|
||||
background-color: #fed7d7;
|
||||
border: 1px solid #f56565;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Séparateurs */
|
||||
hr {
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
margin: 20px 0;
|
||||
border-top: 1px solid #cbd5e0;
|
||||
margin: 25px 0;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 480px) {
|
||||
body {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user