diff --git a/assets/icons/logo/midgard.webp b/assets/icons/logo/midgard.webp new file mode 100755 index 0000000..ce6ec38 Binary files /dev/null and b/assets/icons/logo/midgard.webp differ diff --git a/lang/de.json b/lang/de.json index 0dd7d25..9840f07 100644 --- a/lang/de.json +++ b/lang/de.json @@ -69,7 +69,7 @@ "midgard5.class": "Klasse", "midgard5.race": "Rasse", - "midgard5.magicUsing": "zauberkundig", + "midgard5.magicUsing": "Zauberkundig", "midgard5.gender": "Geschlecht", "midgard5.weight": "Gewicht", "midgard5.height": "Größe", diff --git a/source/style/Character-sheet.less b/source/style/Character-sheet.less index e0684ab..6042772 100644 --- a/source/style/Character-sheet.less +++ b/source/style/Character-sheet.less @@ -8,8 +8,12 @@ } h3 { - margin-top: 1rem; - } + padding: 0.5rem 0.5rem 0.5rem 0.5rem ; + text-align: left; + font-weight: bold; + background-color: dimgray; + color: white; + } .sheet.character { form { @@ -28,14 +32,33 @@ } .profile-img { - height: 64px; - width: 64px; + max-width: 128px; + height: 160px; + border: 0px solid black; } .description { flex: 0 0 100%; margin: 0; - } + } + } + + .sheet-navigation { + margin: 4px 0; + background-color: lightgrey; + border-top: 2px solid black; + border-bottom: 2px solid black; + } + + .sheet-navigation .item { + padding: 8px 12px 8px 12px; + color: black; + font-weight: bold; + font-size: large; + } + + .sheet-navigation .active { + background-color: darkgrey; } .level-display { @@ -43,8 +66,13 @@ font-weight: bold; } + table { + background-color: beige; + } + td, th { padding: 0 0.5rem 0 0.5rem; + text-align: left; &.center { text-align: center; @@ -54,8 +82,30 @@ width: 3rem; text-align: center; } - } + &.attribute{ + text-align: center; + font-weight: bold; + } + + &.attribute-value { + background: url(/icons/svg/d20-grey.svg) no-repeat; + background-size: 50px 50px; + background-position: center; + color: black; + text-align: center; + font-weight: bold; + height: 50px; + } + + &.title { + padding: 0.5rem 0.5rem 0.5rem 0.5rem ; + text-align: left; + font-weight: bold; + background-color: dimgray; + } + } + input.skill { width: 5rem; } @@ -77,6 +127,7 @@ button.roll-button { background: url(/icons/svg/d20-black.svg) no-repeat; background-size: 24px 24px; + border: #000000 solid 0px; width: 26px; height: 26px; } @@ -91,7 +142,7 @@ } .health-bar { - height: 2rem; + height: 1rem; background-color: rgba(0, 0, 0, 0.8); display: flex; flex-direction: row; @@ -100,7 +151,7 @@ //align-items: stretch; input { - flex: 0 0 3rem; + flex: 0 0 2rem; text-align: center; height: 100%; background-color: rgba(109, 108, 102, 1); @@ -112,29 +163,31 @@ .lp-bar-item-empty, .ap-bar-item-empty { flex-grow: 1; - background-color: rgb(201, 201, 201); + background-color: white; } .lp-bar-item { flex-grow: 1; - background-color: rgb(57, 234, 139); + background-color: lightgreen; } .ap-bar-item { flex-grow: 1; - background-color: rgb(57, 163, 234); + background-color: lightblue; } .negative-bar-item { flex-grow: 1; - background-color: rgb(234, 57, 57); + background-color: red; } } .attributes { + padding: 0.5rem 0.5rem 0.5rem 0.5rem ; display: flex; flex-direction: row; margin-bottom: 0.5rem; + background-color: beige; .attribute { flex: 0 0 7rem; diff --git a/templates/sheets/character/base_values.hbs b/templates/sheets/character/base_values.hbs index 43866ed..e1aeab7 100644 --- a/templates/sheets/character/base_values.hbs +++ b/templates/sheets/character/base_values.hbs @@ -1,45 +1,18 @@ -

{{localize "midgard5.actor-lp"}}

-
-
- - {{#times data.lp.max}} - {{#if (lt this ../data.lp.value)}} -
- {{else}} -
- {{/if}} - {{/times}} - -
-
- -

{{localize "midgard5.actor-ap"}}

-
-
- - {{#times data.ap.max}} - {{#if (lt this ../data.ap.value)}} -
- {{else}} -
- {{/if}} - {{/times}} - -
-
- -

Eigenschaften

-
- {{localize "midgard5.class"}} - - - - Grad {{data.calc.level}} -
- + + + + + + + + + + + + @@ -58,40 +31,56 @@ +
Eigenschaften
{{localize "midgard5.magicUsing"}}  
{{localize "midgard5.grace"}} {{localize "Bewegungsweite"}}
-

Leiteigenschaften

- -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="st" attribute=data.attributes.st calc=data.calc.attributes.st}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gs" attribute=data.attributes.gs calc=data.calc.attributes.gs}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gw" attribute=data.attributes.gw calc=data.calc.attributes.gw}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="ko" attribute=data.attributes.ko calc=data.calc.attributes.ko}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="in" attribute=data.attributes.in calc=data.calc.attributes.in}} -
- -
-
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="zt" attribute=data.attributes.zt calc=data.calc.attributes.zt}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="au" attribute=data.attributes.au calc=data.calc.attributes.au}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="pa" attribute=data.attributes.pa calc=data.calc.attributes.pa}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="wk" attribute=data.attributes.wk calc=data.calc.attributes.wk}} -
- {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="GiT" attribute=data.stats.poisonResistance calc=data.calc.stats.poisonResistance}} -
-
- -

Berechnete Werte

- +
+ + + + + + + + + + + + +
Leiteigenschaften
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="st" attribute=data.attributes.st calc=data.calc.attributes.st}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gs" attribute=data.attributes.gs calc=data.calc.attributes.gs}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gw" attribute=data.attributes.gw calc=data.calc.attributes.gw}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="ko" attribute=data.attributes.ko calc=data.calc.attributes.ko}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="in" attribute=data.attributes.in calc=data.calc.attributes.in}} +
+
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="zt" attribute=data.attributes.zt calc=data.calc.attributes.zt}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="au" attribute=data.attributes.au calc=data.calc.attributes.au}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="pa" attribute=data.attributes.pa calc=data.calc.attributes.pa}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="wk" attribute=data.attributes.wk calc=data.calc.attributes.wk}} +
+ {{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="GiT" attribute=data.stats.poisonResistance calc=data.calc.stats.poisonResistance}} +
+
+ + + + + + + + + @@ -122,24 +111,21 @@ +
Berechnete Werte
{{localize "midgard5.brawl"}} {{data.calc.stats.brawl.value}}{{localize "midgard5.resistanceBody"}} {{data.calc.stats.resistanceBody.value}}
-

Beschreibung

- + - - + + + + + + + + @@ -158,15 +144,10 @@ - - - - - - +
{{localize "midgard5.race"}} - - - - Beschreibung
{{localize "midgard5.origin"}} {{localize "midgard5.gender"}}
{{localize "midgard5.caste"}} {{localize "midgard5.occupation"}}
{{localize "midgard5.origin"}} {{localize "midgard5.faith"}}
diff --git a/templates/sheets/character/effects.hbs b/templates/sheets/character/effects.hbs index cf85118..3666f93 100644 --- a/templates/sheets/character/effects.hbs +++ b/templates/sheets/character/effects.hbs @@ -1,8 +1,8 @@ - - + + diff --git a/templates/sheets/character/gear.hbs b/templates/sheets/character/gear.hbs index 25015f1..efc5363 100644 --- a/templates/sheets/character/gear.hbs +++ b/templates/sheets/character/gear.hbs @@ -1,10 +1,10 @@
{{localize "TYPES.Item.effect"}}{{localize "TYPES.Item.effect"}}
- - - - + + + + @@ -29,10 +29,10 @@
{{localize "TYPES.Item.weapon"}}{{localize "midgard5.ew"}}{{localize "TYPES.Item.weapon"}}{{localize "midgard5.ew"}}
- - - - + + + + @@ -71,14 +71,14 @@
{{localize "ITEM.TypeDefensiveWeapon"}}{{localize "midgard5.ew"}}{{localize "ITEM.TypeDefensiveWeapon"}}{{localize "midgard5.ew"}}
- - - - - - - - + + + + + + + + @@ -105,8 +105,8 @@
{{localize "TYPES.Item.armor"}}{{localize "midgard5.actor-lp-short"}}{{localize "midgard5.actor-ap-short"}}{{localize "midgard5.attackBonus-short"}}{{localize "midgard5.defenseBonus-short"}}BGw{{localize "TYPES.Item.armor"}}{{localize "midgard5.actor-lp-short"}}{{localize "midgard5.actor-ap-short"}}{{localize "midgard5.attackBonus-short"}}{{localize "midgard5.defenseBonus-short"}}BGw
- - + + diff --git a/templates/sheets/character/kampfkuenste.hbs b/templates/sheets/character/kampfkuenste.hbs index aca42af..e2b9ce0 100644 --- a/templates/sheets/character/kampfkuenste.hbs +++ b/templates/sheets/character/kampfkuenste.hbs @@ -1,10 +1,10 @@
{{localize "TYPES.Item.item"}}{{localize "TYPES.Item.item"}}
- - - - + + + + diff --git a/templates/sheets/character/main.hbs b/templates/sheets/character/main.hbs index 9f7f508..16b76fe 100644 --- a/templates/sheets/character/main.hbs +++ b/templates/sheets/character/main.hbs @@ -1,7 +1,95 @@
- -

+
{{localize "ITEM.type.kampfkunst"}}{{localize "midgard5.ew"}}{{localize "ITEM.type.kampfkunst"}}{{localize "midgard5.ew"}}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Midgard
{{data.calc.level}}
NameGrad
+ + + +
{{localize "midgard5.race"}}{{localize "midgard5.class"}}{{localize "midgard5.occupation"}}
{{localize "midgard5.actor-lp-short"}} +
+ + {{#times data.lp.max}} + {{#if (lt this ../data.lp.value)}} +
+ {{else}} +
+ {{/if}} + {{/times}} + +
+
{{localize "midgard5.actor-ap-short"}} +
+ + {{#times data.ap.max}} + {{#if (lt this ../data.ap.value)}} +
+ {{else}} +
+ {{/if}} + {{/times}} + +
+
{{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-gw"}}{{localize "midgard5.actor-zt"}}{{localize "midgard5.actor-wk"}}
{{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}}
{{!-- Character Sheet Navigation --}} diff --git a/templates/sheets/character/skills.hbs b/templates/sheets/character/skills.hbs index 115dd3e..e740565 100644 --- a/templates/sheets/character/skills.hbs +++ b/templates/sheets/character/skills.hbs @@ -1,13 +1,13 @@ - - - - - - - + + + + + + + @@ -28,13 +28,13 @@
{{localize "midgard5.learned-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}{{localize "midgard5.learned-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}
- - - - - - - + + + + + + + @@ -55,12 +55,12 @@
{{localize "midgard5.language"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}{{localize "midgard5.language"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}
- - - - - - + + + + + + @@ -80,13 +80,13 @@
{{localize "midgard5.innate-ability"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.innate-ability"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}
- - - - - - - + + + + + + + @@ -107,14 +107,14 @@
{{localize "midgard5.weapon-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}{{localize "midgard5.weapon-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}
- - - - - - - - + + + + + + + + diff --git a/templates/sheets/character/spells.hbs b/templates/sheets/character/spells.hbs index 715016b..2bf55a7 100644 --- a/templates/sheets/character/spells.hbs +++ b/templates/sheets/character/spells.hbs @@ -1,10 +1,10 @@
{{localize "midgard5.unlearned-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}{{localize "midgard5.unlearned-skill"}}{{localize "midgard5.fw"}}{{localize "midgard5.bonus"}}{{localize "midgard5.ew"}}{{localize "midgard5.pp-short"}}
- - - - + + + +
{{localize "TYPES.Item.spell"}}{{localize "midgard5.ew"}}{{localize "TYPES.Item.spell"}}{{localize "midgard5.ew"}}