82 lines
1.7 KiB
CSS
82 lines
1.7 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;
|
|
}
|
|
|
|
/* --- Bande violette en haut --- */
|
|
header {
|
|
background: linear-gradient(135deg, #6a11cb, #8e2de2);
|
|
height: 50px; /* hauteur réduite */
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* --- Main --- */
|
|
main {
|
|
flex: 1;
|
|
margin-top: 20px; /* espace sous header */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* --- Titre de l'article --- */
|
|
.article-title {
|
|
color: #5b1dbb;
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* --- Article --- */
|
|
article {
|
|
background: #fff;
|
|
padding: 25px 20px;
|
|
border-radius: 10px;
|
|
border: 1px solid #e0d4f7;
|
|
box-shadow: 0 3px 6px rgba(0,0,0,0.08);
|
|
width: 90%;
|
|
max-width: 800px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* --- Bouton Retour --- */
|
|
a.btn {
|
|
padding: 12px 25px;
|
|
background: linear-gradient(135deg, #6a11cb, #8e2de2);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: background 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
a.btn:hover {
|
|
background: linear-gradient(135deg, #8e2de2, #6a11cb);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* --- Footer --- */
|
|
footer {
|
|
background: #6a11cb;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 15px 0;
|
|
width: 100%;
|
|
font-size: 0.95rem;
|
|
box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
|
|
position: fixed;
|
|
bottom: 0;
|
|
}
|