prélude
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user