diff --git a/styles/character.less b/styles/character.less index 23ca57f..121a367 100644 --- a/styles/character.less +++ b/styles/character.less @@ -4,44 +4,53 @@ .fvtt-celestopol.character { - // Attributs perso (Entregent, Fortune, Rêve, Vision) - .perso-attributs { + // ── header-stats-row : initiative + attributs sur une seule ligne ────────── + .header-stats-row { display: flex; - gap: 8px; flex-wrap: wrap; + gap: 6px; margin-top: 4px; + align-items: flex-end; + } - .perso-attr { - display: flex; - flex-direction: column; - align-items: center; - background: rgba(0,0,0,0.25); - border: 1px solid var(--cel-orange); - border-radius: 4px; - padding: 4px 8px; - min-width: 60px; + .header-stat { + display: flex; + flex-direction: column; + align-items: center; + background: rgba(0,0,0,0.25); + border: 1px solid var(--cel-orange); + border-radius: 4px; + padding: 3px 8px; + min-width: 54px; - label { - font-size: 0.6em; - text-transform: uppercase; - color: var(--cel-orange-light); - } + label { + font-size: 0.58em; + text-transform: uppercase; + letter-spacing: 0.04em; + color: var(--cel-orange-light); + white-space: nowrap; + } - .attr-display, .attr-val, .attr-max { - color: var(--cel-orange); - font-family: var(--cel-font-title); - font-size: 1em; - font-weight: bold; - } + .stat-value, .attr-display { + color: var(--cel-orange); + font-family: var(--cel-font-title); + font-size: 1.05em; + font-weight: bold; + line-height: 1.2; + } - input.attr-val, input.attr-max { - width: 28px; - text-align: center; - background: transparent; - border: none; - border-bottom: 1px solid var(--cel-orange-light); - color: var(--cel-orange); - } + .attr-sep { color: rgba(196,154,26,0.5); margin: 0 1px; font-size: 0.85em; } + + input.attr-val, input.attr-max { + width: 24px; + text-align: center; + background: transparent; + border: none; + border-bottom: 1px solid var(--cel-orange-light); + color: var(--cel-orange); + font-family: var(--cel-font-title); + font-size: 1em; + font-weight: bold; } } diff --git a/templates/character-main.hbs b/templates/character-main.hbs index 50e7c61..74a4f6c 100644 --- a/templates/character-main.hbs +++ b/templates/character-main.hbs @@ -23,32 +23,16 @@ {{system.initiative}} -