119 lines
2.6 KiB
CSS

body {
font-family: 'Roboto', sans-serif;
background-color: #bbd6fb; /* Fond bleu clair */
color: #333; /* Couleur du texte */
margin: 0;
padding: 0;
}
.w3-container {
margin-top: 50px;
}
h1 {
font-size: 36px;
color: #0f126b; /* Titre en bleu foncé */
text-align: center;
margin-bottom: 20px;
}
p.intro-text {
font-size: 20px;
color: #555; /* Texte d'intro en gris foncé */
text-align: center;
margin-bottom: 40px;
}
.profile-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
justify-items: center;
margin-top: 20px;
padding: 0 10px;
}
.profile-card {
background-color: #ffffff; /* Fond blanc pour les cartes */
border: 1px solid #ddd; /* Bordure grise légère */
border-radius: 8px;
width: 100%;
max-width: 300px;
padding: 25px;
text-align: center;
transition: box-shadow 0.3s;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre pour les cartes */
}
.profile-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Ombre plus marquée au survol */
opacity: 0.95; /* Légère transparence au survol */
}
.profile-card img {
width: 125px;
height: 125px;
border-radius: 50%;
margin-bottom: 15px;
}
.profile-card h3 {
font-size: 22px;
color: #0f126b; /* Couleur du texte des cartes en bleu foncé */
margin: 10px 0;
text-decoration: underline;
}
.profile-card p {
font-size: 17px;
color: #666; /* Couleur du texte en gris foncé */
}
footer {
text-align: center;
margin-top: 40px;
color: #888; /* Couleur du texte en gris clair */
font-size: 14px;
}
a {
text-decoration: none;
color: #0f126b; /* Couleur des liens en bleu foncé */
}
/* Mode sombre */
body.dark-mode {
background-color: #0d1b2a; /* Fond bleu très foncé */
color: #ffffff; /* Couleur du texte en blanc */
}
body.dark-mode h1 {
color: #ffffff; /* Titre en blanc */
}
body.dark-mode p.intro-text {
color: #e0e0e0; /* Texte d'introduction en gris clair */
}
body.dark-mode .profile-card {
background-color: #1c2b4b; /* Cartes en bleu foncé */
border: 1px solid #2a4a69; /* Bordure plus sombre en bleu */
}
body.dark-mode .profile-card h3 {
color: #ffffff; /* Couleur des titres des cartes en blanc */
}
body.dark-mode .profile-card p {
color: #d1d1d1; /* Couleur du texte en gris clair */
}
body.dark-mode footer {
color: #cccccc; /* Texte du footer en gris clair */
}
body.dark-mode a {
color: #ffffff; /* Lien en blanc */
}