Combat engine: swing-by-swing fights, Frontier and expeditions, trophies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2ca90c43c0
commit
19ccab4ac3
7 changed files with 395 additions and 115 deletions
|
|
@ -229,6 +229,21 @@ select { background: var(--bg); border: 1px solid var(--line); border-radius: 8p
|
|||
.building.damaged { border-color: rgba(226, 100, 92, .6); }
|
||||
.cost { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.fund { display: flex; flex-direction: column; gap: 6px; }
|
||||
.fight .fighters { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
|
||||
.fight .vs { font-size: 22px; }
|
||||
.fighter { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
|
||||
.fighter-name { display: flex; justify-content: space-between; gap: 8px; }
|
||||
.fighter-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.fighter-name span { white-space: nowrap; }
|
||||
@media (max-width: 500px) { .fight .fighters { gap: 8px; } .fighter-name { flex-direction: column; gap: 0; } }
|
||||
.fight .bar.hp { height: 12px; }
|
||||
.fight .bar.hp.you > span { background: var(--good); }
|
||||
.fight .bar.hp.foe > span { background: var(--bad); }
|
||||
.fight .bar.swing { height: 4px; }
|
||||
.fight .bar.swing > span { background: var(--gold); transition: none; }
|
||||
.fight-log { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 2px; min-height: 7.5em; }
|
||||
.fight-log .good { color: var(--good); }
|
||||
.fight-log .bad { color: var(--bad); }
|
||||
.fund-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
|
||||
.fittings { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
|
||||
.fitting-row { display: flex; align-items: center; gap: 8px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue