117 lines
1.8 KiB
CSS
117 lines
1.8 KiB
CSS
/* Styles globaux */
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background: linear-gradient(to right, #f0f2f5, #e2e8f0);
|
|
color: #333;
|
|
}
|
|
|
|
/* En-tête */
|
|
header {
|
|
background-color: #2d3748; /* gris foncé plus doux */
|
|
color: #fff;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
margin-bottom: 25px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
header p {
|
|
margin: 8px 0 0 0;
|
|
}
|
|
|
|
header a {
|
|
color: #a0aec0;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
header a:hover {
|
|
color: #fff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Titres */
|
|
h2, h3 {
|
|
color: #1a202c;
|
|
margin-top: 25px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Lien Ajouter un article */
|
|
a {
|
|
color: #3182ce;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Tableau */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
background-color: #fff;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
table th, table td {
|
|
padding: 12px;
|
|
border: 1px solid #e2e8f0;
|
|
text-align: left;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
table th {
|
|
background-color: #4a5568; /* gris foncé pour header */
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Lignes alternées */
|
|
table tr:nth-child(even) {
|
|
background-color: #f7fafc;
|
|
}
|
|
|
|
/* Actions */
|
|
table a {
|
|
color: #3182ce;
|
|
font-weight: 500;
|
|
}
|
|
|
|
table a:hover {
|
|
color: #2b6cb0;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Séparateurs */
|
|
hr {
|
|
border: 0;
|
|
border-top: 1px solid #cbd5e0;
|
|
margin: 25px 0;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 640px) {
|
|
body {
|
|
padding: 10px;
|
|
}
|
|
table th, table td {
|
|
padding: 8px;
|
|
}
|
|
}
|