From 04a30a70b980db4d2268816702779a1dfd1e32f4 Mon Sep 17 00:00:00 2001 From: Byroks Date: Wed, 6 Dec 2023 16:08:08 +0100 Subject: [PATCH] Minor Style Changes --- source/style/Character-sheet.less | 32 ++++++++++++----------- templates/sheets/character/main.hbs | 40 +++++++++++++++++------------ 2 files changed, 40 insertions(+), 32 deletions(-) diff --git a/source/style/Character-sheet.less b/source/style/Character-sheet.less index 6042772..c1a8895 100644 --- a/source/style/Character-sheet.less +++ b/source/style/Character-sheet.less @@ -8,12 +8,12 @@ } h3 { - padding: 0.5rem 0.5rem 0.5rem 0.5rem ; + padding: 0.5rem 0.5rem 0.5rem 0.5rem; text-align: left; font-weight: bold; background-color: dimgray; color: white; - } + } .sheet.character { form { @@ -40,7 +40,7 @@ .description { flex: 0 0 100%; margin: 0; - } + } } .sheet-navigation { @@ -68,9 +68,10 @@ table { background-color: beige; - } + } - td, th { + td, + th { padding: 0 0.5rem 0 0.5rem; text-align: left; @@ -83,7 +84,7 @@ text-align: center; } - &.attribute{ + &.attribute { text-align: center; font-weight: bold; } @@ -96,16 +97,17 @@ text-align: center; font-weight: bold; height: 50px; + width: 50px; } &.title { - padding: 0.5rem 0.5rem 0.5rem 0.5rem ; + padding: 0.5rem 0.5rem 0.5rem 0.5rem; text-align: left; font-weight: bold; background-color: dimgray; - } + } } - + input.skill { width: 5rem; } @@ -117,7 +119,7 @@ .new-skill { font-style: italic; background: rgba(0, 0, 0, 0.3); - color:rgba(255, 255, 255); + color: rgba(255, 255, 255); button { background: rgba(255, 255, 255, 0.5); @@ -133,7 +135,7 @@ } span.spell-process { - color:rgb(93, 93, 93); + color: rgb(93, 93, 93); font-style: italic; } @@ -183,7 +185,7 @@ } .attributes { - padding: 0.5rem 0.5rem 0.5rem 0.5rem ; + padding: 0.5rem 0.5rem 0.5rem 0.5rem; display: flex; flex-direction: row; margin-bottom: 0.5rem; @@ -195,7 +197,7 @@ border: 1px solid @attributeBorderColor; //border-bottom: none; border-radius: 10; - + display: flex; flex-direction: column; @@ -207,7 +209,7 @@ font-weight: bold; background-color: @attributeBorderColor; - color:rgba(255, 255, 255, 1); + color: rgba(255, 255, 255, 1); //font-size: 1.0rem; height: 2.5rem; @@ -244,4 +246,4 @@ } } } -} \ No newline at end of file +} diff --git a/templates/sheets/character/main.hbs b/templates/sheets/character/main.hbs index 16b76fe..3ef4ec3 100644 --- a/templates/sheets/character/main.hbs +++ b/templates/sheets/character/main.hbs @@ -4,16 +4,19 @@ Midgard +
{{data.calc.level}}
+ Name Grad + @@ -28,14 +31,15 @@ + {{localize "midgard5.race"}} {{localize "midgard5.class"}} {{localize "midgard5.occupation"}} - {{localize "midgard5.actor-lp-short"}} - + {{localize "midgard5.actor-lp-short"}} +
{{#times data.lp.max}} @@ -50,8 +54,8 @@ - {{localize "midgard5.actor-ap-short"}} - + {{localize "midgard5.actor-ap-short"}} +
{{#times data.ap.max}} @@ -68,25 +72,27 @@ {{localize "midgard5.actor-st"}} - {{localize "midgard5.actor-ko"}} - {{localize "midgard5.actor-au"}} {{localize "midgard5.actor-gs"}} - {{localize "midgard5.actor-in"}} - {{localize "midgard5.actor-pa"}} + {{localize "midgard5.actor-ko"}} {{localize "midgard5.actor-gw"}} + {{localize "midgard5.actor-in"}} {{localize "midgard5.actor-zt"}} + {{localize "midgard5.actor-au"}} + {{localize "midgard5.actor-pa"}} {{localize "midgard5.actor-wk"}} + {{localize "midgard5.actor-git"}} - {{data.calc.attributes.st.value}} - {{data.calc.attributes.ko.value}} - {{data.calc.attributes.au.value}} - {{data.calc.attributes.gs.value}} - {{data.calc.attributes.in.value}} - {{data.calc.attributes.pa.value}} - {{data.calc.attributes.gw.value}} - {{data.calc.attributes.zt.value}} - {{data.calc.attributes.wk.value}} + {{data.calc.attributes.st.value}} + {{data.calc.attributes.gs.value}} + {{data.calc.attributes.gw.value}} + {{data.calc.attributes.ko.value}} + {{data.calc.attributes.in.value}} + {{data.calc.attributes.zt.value}} + {{data.calc.attributes.au.value}} + {{data.calc.attributes.pa.value}} + {{data.calc.attributes.wk.value}} + {{data.calc.stats.poisonResistance.value}}