Show each daily tip's part of the game as a coloured badge
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 22m10s
Validate and deploy Sokko G / deploy (push) Successful in 12s

A tip now carries its part of the game (section) and an optional short topic. The part shows as a badge with one colour per part: Expéditions green, Paquets violet, Collection grey, Échanges et dons gold, Carte du jour orange. The topic sits beside it as the title, so "Expéditions · Améliorer ses cartes" becomes [Expéditions] Améliorer ses cartes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-19 11:04:39 +01:00
parent 99a438ff1d
commit 2e1d10086a
8 changed files with 65 additions and 52 deletions

View file

@ -65,6 +65,7 @@
.nds-panel.nebula-home-tip { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); padding: var(--space-4) var(--space-5); }
.nebula-home-tip-copy { display: grid; flex: 1 1 320px; gap: var(--space-1); }
.nebula-home-tip-copy .eyebrow, .nebula-home-tip-copy h3, .nebula-home-tip-text { margin: 0; }
.nebula-home-tip-heading { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.nebula-home-tip-copy h3 { font-size: var(--font-size-md); }
.nebula-home-tip-text { color: var(--color-text-secondary); }
.nebula-home-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: stretch; container: home-highlights / inline-size; }