diff --git a/src/ActorSheet.hbs b/src/ActorSheet.hbs index 7f083fd..c111be3 100644 --- a/src/ActorSheet.hbs +++ b/src/ActorSheet.hbs @@ -63,30 +63,23 @@
-
- {{localize "DSA41.attributes.label"}} -
+
+
- {{#each actor.system.attributes}} - {{localize (concat "DSA41.attributes.short." @key)}} - {{/each}} - {{localize "DSA41.attributes.initial"}} - {{#each actor.system.attributes}} - {{>editable-input type="number" name=(concat "system.attributes." @key ".initial") value=(lookup this "initial")}} - {{/each}} - {{localize "DSA41.attributes.advancement"}} - {{#each actor.system.attributes}} - {{>editable-input type="number" name=(concat "system.attributes." @key ".advancement") value=(lookup this "advancement")}} - {{/each}} - {{localize "DSA41.attributes.modifier"}} - {{#each actor.system.attributes}} - {{>editable-input type="number" name=(concat "system.attributes." @key ".modifier") value=(lookup this "modifier")}} - {{/each}}
-
+ + {{#each actor.system.attributes}} +
+ {{localize (concat "DSA41.attributes.long." @key)}} + {{>editable-input type="number" name=(concat "system.attributes." @key ".initial") value=(lookup this "initial")}} + {{>editable-input type="number" name=(concat "system.attributes." @key ".advancement") value=(lookup this "advancement")}} + {{>editable-input type="number" name=(concat "system.attributes." @key ".modifier") value=(lookup this "modifier")}} +
+ {{/each}} +
diff --git a/src/main.css b/src/main.css index 9416b1c..bf4258c 100644 --- a/src/main.css +++ b/src/main.css @@ -284,7 +284,7 @@ html { padding: 0.5rem; border-radius: 5px 5px 0px 0px; - background: linear-gradient(90deg, rgb(36, 133, 44) 0%, rgb(0, 79, 7) 40%, rgb(0, 51, 5) 100%); + background: linear-gradient(90deg, rgb(25, 92, 30) 0%, rgb(0, 79, 7) 40%, rgb(0, 51, 5) 100%); } & .list-item { @@ -337,15 +337,20 @@ html { &[data-tab="tab1"] { & .Eigenschaften { display: grid; - grid-template-columns: minmax(0, max-content) repeat(8, minmax(0, 1fr)); + grid-template-columns: minmax(0, max-content) repeat(3, minmax(0, 1fr)); align-items: center; - gap: 0.5rem; + column-gap: 0.5rem; + + & .list-header :not(:nth-child(1)), .list-item :not(:nth-child(1)) { + text-align: center; + } } & .Basiswerte { display: grid; grid-template-columns: minmax(0, max-content) repeat(5, minmax(0, 1fr)); align-items: center; + column-gap: 0.5rem; & .list-header :not(:nth-child(1)), .list-item :not(:nth-child(1)) { text-align: center;