This commit is contained in:
2026-02-18 22:14:59 +04:00
parent 432917bba2
commit ad3230d924
2 changed files with 26 additions and 3 deletions

View File

@@ -92,9 +92,16 @@ const { eras } = Astro.props;
} }
/* Autre exemple pour une ère future */ /* Autre exemple pour une ère future */
.era-chip.active[data-era="foret-sombre"] { .era-chip.active[data-era="prelude"] {
background-color: #2d4a22; /* Vert sombre */ background-color: #3c86c8; /* Vert sombre */
border-color: #2d4a22; border-color: #3c86c8;
}
/* Changement au survol pour cette ère spécifique si non active */
.era-chip[data-era="prelude"]:hover:not(.active) {
border-color: #3c86c8;
background: #fffafa;
color: #3c86c8;
} }
.scribe-icon { .scribe-icon {

View File

@@ -140,6 +140,22 @@ const allTags = [
background-color: #722f37 !important; background-color: #722f37 !important;
color: #f3ece0 !important; color: #f3ece0 !important;
} }
/* On cible l'identifiant "prelude" */
.gold-button[data-era="prelude"] {
border-color: #3c86c8 !important; /* Une bordure lie-de-vin */
}
/* On cible l'identifiant "prelude" */
.gold-button[data-era="prelude"] .title {
color: #3c86c8 !important; /* Une bordure lie-de-vin */
}
/* On change aussi la couleur du petit tag pour cette ère */
.gold-button[data-era="prelude"]::before {
background-color: #3c86c8 !important;
color: #f3ece0 !important;
}
</style> </style>
<script> <script>