mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Added a visual for scars
This commit is contained in:
parent
b947b86c50
commit
83e281665d
2 changed files with 21 additions and 0 deletions
|
|
@ -195,6 +195,22 @@
|
||||||
.hope-value {
|
.hope-value {
|
||||||
display: flex;
|
display: flex;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&.scar {
|
||||||
|
cursor: initial;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '/';
|
||||||
|
color: var(--beige);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
left: 1px;
|
||||||
|
top: -3px;
|
||||||
|
rotate: 13deg;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,11 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
{{/times}}
|
{{/times}}
|
||||||
|
{{#times document.system.scars}}
|
||||||
|
<span class='hope-value scar'>
|
||||||
|
<i class='fa-regular fa-circle'></i>
|
||||||
|
</span>
|
||||||
|
{{/times}}
|
||||||
</div>
|
</div>
|
||||||
{{#if document.system.class.value}}
|
{{#if document.system.class.value}}
|
||||||
<div class="domains-section">
|
<div class="domains-section">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue