« MediaWiki:Common.css » : différence entre les versions
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 6 : | Ligne 6 : | ||
font-family: 'EB Garamond', serif !important; | font-family: 'EB Garamond', serif !important; | ||
font-weight: 520 !important; | font-weight: 520 !important; | ||
} | |||
/* --- Style du bandeau d'attribution --- */ | |||
.bandeau-attribution { | |||
width: 100%; | |||
clear: both; | |||
margin: 0.5em auto; | |||
padding: 10px; | |||
display: flex; | |||
align-items: center; | |||
border-radius: 4px; | |||
border: 1px solid #FFD700; | |||
background-color: #FFF9E5; /* Jaune pâle pour le mode clair */ | |||
color: #333333; /* Texte sombre pour la lisibilité */ | |||
} | |||
/* --- Adaptation au Mode Sombre --- */ | |||
@media (prefers-color-scheme: dark) { | |||
.bandeau-attribution { | |||
background-color: #2b2510; /* Marron/jaune très sombre */ | |||
border-color: #8a6d3b; /* Bordure or assombrie */ | |||
color: #f0e68c; /* Texte jaune clair/doré */ | |||
} | |||
} | } | ||