Added system to skill category import

Initial Exhaustion Calculations
Fix for Skill Categories with two stats
Added Racial Bonuses for Resistances
This commit is contained in:
Anthony Murphy
2022-10-25 22:03:59 +11:00
parent 8bc535cf35
commit 53c5b2ee6e
33 changed files with 1432 additions and 1065 deletions

View File

@@ -1,6 +1,6 @@
.items-grid-container {
display: grid;
grid-template-columns: [name] 30% [quantity] 17% [weight] 17% [cost] 18% [controls] 18%;
grid-template-columns: [worn] 10% [name] 30% [quantity] 15% [weight] 15% [cost] 15% [controls] 15%;
}
.items-grid-container > div {
@@ -16,11 +16,12 @@
justify-content: center;
}
.items-grid-container > div:nth-child(10n+1),
.items-grid-container > div:nth-child(10n+2),
.items-grid-container > div:nth-child(10n+3),
.items-grid-container > div:nth-child(10n+4),
.items-grid-container > div:nth-child(10n+5)
.items-grid-container > div:nth-child(12n+1),
.items-grid-container > div:nth-child(12n+2),
.items-grid-container > div:nth-child(12n+3),
.items-grid-container > div:nth-child(12n+4),
.items-grid-container > div:nth-child(12n+5),
.items-grid-container > div:nth-child(12n+6)
{
font-family: Signika, sans-serif;
font-size: 12px;

View File

@@ -0,0 +1,18 @@
.resistances-grid-container {
outline: 1px solid; /* use instead of border */
margin-top: 1px;
margin-left: 1px;
padding: 5px;
display: grid;
grid-template-columns: [Name] 40% [Value] 20% [Race_Mod] 20% [Total] 20%;
}
.resistances-grid-heading {
font-weight: bold;
border-bottom: 1px solid;
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
}
.resistance-input {
width: 50%
}

View File

@@ -27,6 +27,12 @@
padding: 1px;
}
.settings-button, .playersheet-settings {
font-family: Signika, sans-serif;
font-size: 12px;
margin-right: 6px
}
// Resource Elements in Headers
.resource-container {
@@ -133,6 +139,7 @@
padding: 5px;
}
// Remove Me
.resistance-block {
outline: 1px solid; /* use instead of border */
margin-top: 1px;

View File

@@ -9,6 +9,7 @@
@import "./actor-sheet/actor-sheet-armor.less";
@import "./actor-sheet/actor-sheet-herbs.less";
@import "./actor-sheet/actor-sheet-spells.less";
@import "./actor-sheet/actor-sheet-resistances.less";
//Skill Category Sheet

View File

@@ -1,11 +1,11 @@
.skillcat-name, .skill-name, .item-name, .spell-name, .equipable-name{
.skillcat-name, .skill-name, .item-name, .spell-name, .equipable-name {
font-family: Signika, sans-serif;
font-size: 12px;
font-weight: bold;
text-align: center;
}
.skillcat-entry, .skill-entry, .item-entry, .spell-entry, .equipable-entry{
.skillcat-entry, .skill-entry, .item-entry, .spell-entry, .equipable-entry {
font-family: Signika, sans-serif;
font-size: 12px;
text-align: center;