This commit is contained in:
Nikolaj
2025-08-05 10:28:11 +02:00
parent ce5c9534b4
commit a96a8adbc7
5 changed files with 31 additions and 15 deletions

View File

@@ -638,4 +638,13 @@
display: flex;
flex-direction: column;
}
.defenseTable {
border-radius: 10px;
th {
border: 2px black;
padding: 5px;
}
}
}

View File

@@ -533,3 +533,10 @@
display: flex;
flex-direction: column;
}
.pokemon.sheet.characterSheet .defenseTable {
border-radius: 10px;
}
.pokemon.sheet.characterSheet .defenseTable th {
border: 2px black;
padding: 5px;
}

View File

@@ -1,5 +1,5 @@
{
"version": "0.1.7",
"version": "0.1.8",
"id": "pokemon",
"title": "Pokémon TTRPG",
"description": "A Pokémon TTRPG",

Binary file not shown.

View File

@@ -56,19 +56,19 @@
<div class="row">
<div class="charHex statHex"><span class="charHexHead">HP</span></br><input class="charHexValue invisibleInput" type="number" name="system.stats.hp" value="{{system.stats.hp}}"></div>
</div>
</div>
<div class="defenseBox">
<table class="defenseTable">
<tr>
{{#each types}}
<th>{{this}}</th>
<th class="{{this}}">{{#short this}}</th>
{{/each}}
</tr>
<tr>
{{#each defenses}}
<th>{{this}}</th>
<th class="effectiveness{{this}}">{{this}}</th>
{{/each}}
</tr>
</table>
</div>
</div>
</div>