diff --git a/module/rdd-calendrier.js b/module/rdd-calendrier.js index c77c4324..40cb16c3 100644 --- a/module/rdd-calendrier.js +++ b/module/rdd-calendrier.js @@ -428,9 +428,9 @@ export class RdDCalendrier extends Application { updateDisplay() { let calendrier = this.fillCalendrierData(); // Rebuild text du calendrier - let dateHTML = `${calendrier.jourDuMois} ${calendrier.mois.label} ${calendrier.annee} (${calendrier.mois.saison})` + let dateHTML = `${calendrier.jourDuMois} ${calendrier.mois.label} (${calendrier.mois.saison}) de l'année ${calendrier.annee}` if (game.user.isGM) { - dateHTML = dateHTML + " - NA: " + (this.getCurrentNombreAstral() ?? "?"); + dateHTML = dateHTML + "
Nombre Astral: " + (this.getCurrentNombreAstral() ?? "?"); } for (let handle of document.getElementsByClassName("calendar-date-rdd")) { handle.innerHTML = dateHTML; diff --git a/styles/simple.css b/styles/simple.css index f22bda8a..cc7f9a5c 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -1518,7 +1518,7 @@ div.competence-column div.categorie-competence{ grid-row: 1; grid-column: 1; width: fit-content; - height: 84px; + height: 6rem; margin: 0; padding: 0; border: 1px solid #000; @@ -1530,9 +1530,9 @@ div.competence-column div.categorie-competence{ .calendar-hdr{ display: grid; font-size: 1rem; - margin: 3px; - padding: 4px; - height: 25px; + margin: 0.1rem; + padding: 0.2rem; + height: fit-content; width: fit-content; min-width: 200px; border-bottom: 1px solid #111; @@ -1544,7 +1544,6 @@ div.competence-column div.categorie-competence{ color: #CCC; opacity: 90; font-size: 0.9rem; - line-height: 1px; text-align: center; padding: 0; margin: 0; @@ -1692,17 +1691,16 @@ div.competence-column div.categorie-competence{ margin: auto; color: #CCC; } -.calendar-weekday{ +.calendar-weekday { grid-column: 1; grid-row: 1; text-align: center; + font-size: 1.1rem; margin: auto; - border-bottom: 1px solid #111; } .calendar-time{ grid-column: 1; grid-row: 2; - font-size: 1.1rem; text-align: center; margin: auto; cursor: pointer;