Add a daily tip to the Sokko TCG home that explains hidden mechanics
39 short tips cover packs, collection, trades, the daily card and Expeditions (getting cards, succeeding, groups, loot, improving cards, bag items). Each one has a topic that starts with its part of the game, such as "Expéditions · Réussir". Every figure comes from the current settings through tipValues(), so a tip follows an admin change. Expedition tips only show while Expeditions are open. The tip of the day is the same for everyone, "Astuce suivante" shows the next ones, and the card sits under the key figures so the home still fits a 1280 × 720 screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
17bec5d690
commit
e8ec657193
11 changed files with 167 additions and 2 deletions
|
|
@ -61,6 +61,12 @@
|
|||
.nebula-home-rarest-card .nebula-card { max-width: 180px; }
|
||||
/* La Guilde et le meilleur tirage à parts égales, à la même hauteur (fixée par la carte md quand il y en a une) ; les deux s'empilent sous 560 px. Les chiffres clés
|
||||
suivent sur une rangée (trois colonnes en demi-écran). */
|
||||
/* Astuce du jour : une phrase mise en avant, et l'accès aux suivantes. */
|
||||
.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-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; }
|
||||
.nebula-home-highlights .nds-panel.nebula-home-rarest { padding: var(--space-4) var(--space-5); }
|
||||
.nebula-home-highlights .nebula-home-rarest-copy { gap: var(--space-1); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue