index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'public/assets/css/soldier_record_block.css')
-rw-r--r-- | public/assets/css/soldier_record_block.css | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/public/assets/css/soldier_record_block.css b/public/assets/css/soldier_record_block.css index 5fb8c7c..096a1b2 100644 --- a/public/assets/css/soldier_record_block.css +++ b/public/assets/css/soldier_record_block.css @@ -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; +} |