From 8677280df35ec553da2583162a3ddf3a6da0bdf5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 8 Jul 2023 00:53:40 +0200 Subject: Borders. --- play.css | 3 +++ play.js | 4 +++- rules.js | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/play.css b/play.css index 7e4b52f..eb0d5f7 100644 --- a/play.css +++ b/play.css @@ -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 { diff --git a/play.js b/play.js index 1c3e18a..9814cba 100644 --- a/play.js +++ b/play.js @@ -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 `${p1} ${p2}` } diff --git a/rules.js b/rules.js index 3b06b4f..c96a839 100644 --- a/rules.js +++ b/rules.js @@ -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" }, -- cgit v1.2.3