From 89d9d71395a5cb501d6b6722fdf8bd7980cc1027 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Mon, 3 Aug 2026 15:59:57 +0200 Subject: [PATCH] style: ajuster la mise en page des fiches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Réduit la taille des polices d'en-tête et du logo, retravaille la disposition des totems, et double la hauteur des zones Notes et Relations dans l'onglet Histoire. --- less/actor/actor.less | 13 ++++++++++--- less/actor/totem.less | 21 ++++++++++++++++++--- templates/actor/appv2/character-main.hbs | 2 +- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/less/actor/actor.less b/less/actor/actor.less index fdaa3d0..31cc399 100644 --- a/less/actor/actor.less +++ b/less/actor/actor.less @@ -31,7 +31,7 @@ font-size: 0.9rem; } .char-name-value { - font-size: 1.5rem; + font-size: 1.1rem; } input:not([type="radio"]):not([type="checkbox"]) { font-size: 1rem; @@ -291,7 +291,7 @@ .chooseTotem { font-family: "DistressBlack", sans-serif; - font-size: 0.9rem; + font-size: 0.8rem; cursor: pointer; &:hover { @@ -377,7 +377,7 @@ } .char-vermine2047 { - font-size: 1.5rem; + font-size: 1.1rem; } } @@ -409,6 +409,13 @@ } } + // ── Onglet Histoire : doubler la hauteur des zones Notes et Relations ── + .tab.stories { + prose-mirror.editor { + min-height: 150px; + } + } + nav.tabs[data-group="sheet"] { display: inline-flex; justify-content: space-around; diff --git a/less/actor/totem.less b/less/actor/totem.less index ebe773d..d532431 100644 --- a/less/actor/totem.less +++ b/less/actor/totem.less @@ -20,16 +20,25 @@ div.minor-totems { position: relative; + height: 8.5rem; background-color: rgba(146, 156, 111, 0.5215686275); + h3 { + position: relative; + z-index: 1; + } + h5 { position: absolute; - top: 0; + top: 2.6rem; + margin: 0; + z-index: 1; img { max-width: 2rem; position: absolute; - bottom: -2rem; + top: 1.4rem; + bottom: auto; } &.human, &.adapted { @@ -53,6 +62,12 @@ } .totem-dice { + position: absolute; + left: 0; + right: 0; + bottom: 0; + z-index: 2; + .human-dice, .adapted-dice { display: flex; @@ -90,7 +105,7 @@ .adapted { right: 0; - img { right: 0; } + img { right: 0; left: auto; } } } } diff --git a/templates/actor/appv2/character-main.hbs b/templates/actor/appv2/character-main.hbs index dbbf9d9..41642dc 100644 --- a/templates/actor/appv2/character-main.hbs +++ b/templates/actor/appv2/character-main.hbs @@ -11,7 +11,7 @@ {{!-- Logo --}} + width="150" alt="logo Vermine" /> {{!-- Sidebar: Profile Image + Totem Dice --}}