WIP: very rough armor

This commit is contained in:
2025-06-16 22:41:33 -07:00
parent 56bbbd9361
commit 75e0b7758e
9 changed files with 250 additions and 56 deletions

View File

@@ -5,6 +5,9 @@ span {
}
.physical-status-track {
display: flex;
justify-content: space-between;
align-items: end;
text-align: center;
}
@@ -57,3 +60,37 @@ p {
.grenades input:checked + svg circle {
fill: gray;
}
[slot="block-number"]:not(:last-of-type) {
display: inline-block;
width: 1.3em;
}
damage-block.armor span[slot="block-number"] {
border: 1px solid black;
padding: 2px;
border-radius: 50%;
position: relative;
}
.physical-status-track damage-block:nth-child(1 of .armor) span[slot="block-number"]:hover {
border: 1px solid orangered;
cursor: pointer;
}
.physical-status-track damage-block:nth-child(1 of .armor) span[slot="block-number"]:hover::before {
content: '🡄'; /*<⇽⭠⮈🠈 🠜 🡄*/
position: absolute;
margin-left: -1.5em;
}
.physical-status-track damage-block:nth-last-child(1 of .armor) span[slot="block-number"]:hover {
border: 1px solid orangered;
cursor: pointer;
}
.physical-status-track damage-block:nth-last-child(1 of .armor) span[slot="block-number"]:hover::after {
content: '🡆'; /* 🠊 🡆 */
position: absolute;
margin-left: 1em;
}