97 lines
1.7 KiB
CSS
97 lines
1.7 KiB
CSS
span {
|
|
font-size: 10px;
|
|
font-family: monospace;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.physical-status-track {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: end;
|
|
text-align: center;
|
|
}
|
|
|
|
.physical-status-track damage-block {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.physical-status-track damage-block[slot="block-number"] {
|
|
font-family: serif;
|
|
font-size: unset;
|
|
}
|
|
|
|
.physical-status-track damage-block span {
|
|
margin: 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
ul li {
|
|
display: inline;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
.grenades input {
|
|
display: none;
|
|
}
|
|
|
|
.grenades svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.grenades svg circle {
|
|
fill: none;
|
|
stroke: black;
|
|
stroke-width: 2px;
|
|
}
|
|
|
|
.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;
|
|
}
|