110 lines
2.1 KiB
CSS
110 lines
2.1 KiB
CSS
/* --- Body --- */
|
|
body {
|
|
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
|
|
background-color: #f3f0f9;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* --- Header violet --- */
|
|
header {
|
|
background: linear-gradient(135deg, #6a11cb, #8e2de2);
|
|
color: #fff;
|
|
padding: 30px 0 15px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* --- Titre Tableau de bord --- */
|
|
header h1 {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* --- Conteneur boutons --- */
|
|
.header-buttons {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* --- Boutons violet --- */
|
|
.btn {
|
|
padding: 10px 20px;
|
|
background: linear-gradient(135deg, #6a11cb, #8e2de2);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: linear-gradient(135deg, #8e2de2, #6a11cb);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* --- Main contenu --- */
|
|
main {
|
|
flex: 1;
|
|
margin-top: 140px; /* hauteur du header */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* --- Tableau stylé --- */
|
|
table {
|
|
width: 90%;
|
|
max-width: 900px;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
table th, table td {
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #ddd;
|
|
text-align: left;
|
|
}
|
|
|
|
table th {
|
|
background-color: #8e2de2;
|
|
color: #fff;
|
|
}
|
|
|
|
table tr:hover {
|
|
background-color: #f5e9ff;
|
|
}
|
|
|
|
/* --- Footer violet --- */
|
|
footer {
|
|
background: #6a11cb;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 15px 0;
|
|
width: 100%;
|
|
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
|
|
font-size: 0.95rem;
|
|
position: fixed;
|
|
bottom: 0;
|
|
}
|