diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-08 00:53:40 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-08 11:42:33 +0200 |
commit | 8677280df35ec553da2583162a3ddf3a6da0bdf5 (patch) | |
tree | a1cf781a5e8aca8c17d73eb8b831f71dbc778f23 | |
parent | 0d0cf16d1273a3906b5d6a415d026fcb95d9bfff (diff) | |
download | time-of-crisis-8677280df35ec553da2583162a3ddf3a6da0bdf5.tar.gz |
Borders.
-rw-r--r-- | play.css | 3 | ||||
-rw-r--r-- | play.js | 4 | ||||
-rw-r--r-- | rules.js | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -634,6 +634,8 @@ body.shift .zenobia { background-image: url(images/rival_back.png) } background-color: #444; max-width: min(calc(100% - 30px), 1636px); margin: 12px auto 36px auto; + box-shadow: 1px 2px 6px #0004; + border: 1px solid #0008; } .panel_header { @@ -642,6 +644,7 @@ body.shift .zenobia { background-image: url(images/rival_back.png) } font-weight: bold; text-align: center; padding: 3px 1em; + border-bottom: 1px solid #0008; } .panel_body { @@ -100,7 +100,7 @@ const CARD_MAP = [ "P3(Mobile Vulgus)", "M4(Praetorian Guard)", "S4(Damnatio Memoriae)", - "S4(Damnatio Memoriae)", + "S4(Damnatio Memoriae*)", "P4(Pretender)", "M4(Spiculum)", "S4(Triumph)", @@ -1560,6 +1560,8 @@ function sub_card_1(match) { function sub_card_x(match, p1, p2) { let x = CARD_MAP.indexOf(match) + if (p2 === "Damnatio Memoriae*") + p2 = "Damnatio Memoriae" return `<span class="tip ${match[0]}" onmouseenter="on_focus_influence_tip(${x})" onmouseleave="on_blur_tip()">${p1} ${p2}</span>` } @@ -362,7 +362,7 @@ const CARD_INFO = [ { name: "P3(Mobile Vulgus)", type: 2, value: 3, event: "Mobile Vulgus" }, { name: "M4(Praetorian Guard)", type: 0, value: 4, event: "Praetorian Guard" }, { name: "S4(Damnatio Memoriae)", type: 1, value: 4, event: "Damnatio Memoriae" }, - { name: "S4(Damnatio Memoriae)", type: 1, value: 4, event: "Damnatio Memoriae (exp)" }, + { name: "S4(Damnatio Memoriae*)", type: 1, value: 4, event: "Damnatio Memoriae (exp)" }, { name: "P4(Pretender)", type: 2, value: 4, event: "Pretender" }, { name: "M4(Spiculum)", type: 0, value: 4, event: "Spiculum" }, { name: "S4(Triumph)", type: 1, value: 4, event: "Triumph" }, |