diff --git a/src/module/sheets/character/skills.mjs b/src/module/sheets/character/skills.mjs index 58e14280..937633ba 100644 --- a/src/module/sheets/character/skills.mjs +++ b/src/module/sheets/character/skills.mjs @@ -38,7 +38,7 @@ export default { const obj = { type: "talent", gruppe: talentGruppe, - name: item.name, + name: item.name.replace(/Sprachen kennen/g, "Sprache:").replace(/Lesen\/Schreiben/g, "Schrift: "), taw: "" + item.system.taw, tawPath: `system.items.${index}.taw`, werte, diff --git a/src/style/atoms/_typography.scss b/src/style/atoms/_typography.scss index 109ead76..aa08a435 100644 --- a/src/style/atoms/_typography.scss +++ b/src/style/atoms/_typography.scss @@ -3,9 +3,24 @@ --font-body: Gentium, sans-serif; label, - .sheet-tabs.tabs a { + .sheet-tabs.tabs a, + h2 { font-family: Gentium, sans-serif; font-weight: bold; + font-size: 12pt; + } + + h2 { + height: 32px; + line-height: 32px; + padding: 0; + margin: 0; + } + + ul { + li { + margin-bottom: 16px; + } } input, diff --git a/src/style/molecules/_lists.scss b/src/style/molecules/_lists.scss index 29c868e6..790b51ca 100644 --- a/src/style/molecules/_lists.scss +++ b/src/style/molecules/_lists.scss @@ -1,22 +1,4 @@ .dsa41.sheet.actor.character { - .tab.skills { - columns: 2; - column-gap: 20px; - - .talent-group { - break-inside: avoid-column; - display: unset; - height: unset; - gap: unset; - padding: unset; - } - - ul { - list-style-type: none; - padding-left: 0; - } - - } } diff --git a/src/style/molecules/_rollable.scss b/src/style/molecules/_rollable.scss index fbeda860..a1c7cb5b 100644 --- a/src/style/molecules/_rollable.scss +++ b/src/style/molecules/_rollable.scss @@ -148,7 +148,6 @@ $rollable_colours_font: ( height: 28px; left: -1px; top: -2px; - scale: 0.8; img { position: absolute; diff --git a/src/style/organisms/_character-sheet.scss b/src/style/organisms/_character-sheet.scss index 1240a2a9..a18205f7 100644 --- a/src/style/organisms/_character-sheet.scss +++ b/src/style/organisms/_character-sheet.scss @@ -8,8 +8,7 @@ @use "./character-tabs/combat"; @use "./character-tabs/spells"; @use "./character-tabs/liturgies"; - - +@use "./character-tabs/skills"; .application.sheet.dsa41.actor.character { @@ -87,11 +86,14 @@ @include inventory.tab; } - .tab.combat.active { @include combat.tab; } + .tab.skills.active { + @include skills.tab; + } + .tab.spells { @include spells.tab; } diff --git a/src/style/organisms/character-tabs/_skills.scss b/src/style/organisms/character-tabs/_skills.scss new file mode 100644 index 00000000..ae8552b8 --- /dev/null +++ b/src/style/organisms/character-tabs/_skills.scss @@ -0,0 +1,41 @@ +@mixin tab { + + container: thisTab / inline-size; + + .collapsible { + + columns: 2; + column-gap: 20px; + padding: 8px; + display: block; + height: unset; + + .talent-group { + break-inside: avoid-column; + display: unset; + height: unset; + gap: unset; + padding: unset; + + } + + ul { + list-style-type: none; + padding-left: 0; + } + } + + + @container thisTab (inline-size <= 740px ) { + .collapsible { + columns: 1; + } + } + + @container thisTab (inline-size > 740px ) { + .collapsible { + columns: 2; + } + } + +} \ No newline at end of file diff --git a/src/templates/actor/character/tab-skills.hbs b/src/templates/actor/character/tab-skills.hbs index 526254f3..26c619c2 100644 --- a/src/templates/actor/character/tab-skills.hbs +++ b/src/templates/actor/character/tab-skills.hbs @@ -1,6 +1,7 @@
+

Kampftalente

    @@ -82,4 +83,5 @@ {{/each}}
+
\ No newline at end of file