From 8e89ea0ff9f2b257e37c492a471a9eccfa873403 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 24 Jun 2023 11:18:40 +0200 Subject: No border on cards. --- info/cards.html | 79 ++++++++++++++++++++++++++++++++++++--------------------- play.css | 16 +++++------- play.html | 4 --- rules.js | 1 - 4 files changed, 56 insertions(+), 44 deletions(-) diff --git a/info/cards.html b/info/cards.html index f085796..beeda6e 100644 --- a/info/cards.html +++ b/info/cards.html @@ -19,9 +19,14 @@ html { background-size: 250px 350px; background-repeat: no-repeat; border-radius: 12px; - box-shadow: 0 0 0 1px #444, 0 0 4px #000; + box-shadow: 0 0 4px #000; } +.card.event.event_0 { background-color: #b73c26; } +.card.event { background-color: #f1f2f4; } +.card.influence.influence_back { background-color: #5c1d57; } +.card.influence { background-color: #ece8dc; } + .card.event_back{background-image:url(../cards.1x/event_back.jpg)} .card.event_1{background-image:url(../cards.1x/event_01.jpg)} .card.event_2{background-image:url(../cards.1x/event_02.jpg)} @@ -97,41 +102,57 @@ html {
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
-
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/play.css b/play.css index abf1651..3c7fc97 100644 --- a/play.css +++ b/play.css @@ -480,16 +480,13 @@ body.p2 #Galatia_NPG { display: block } background-size: 250px 350px; background-repeat: no-repeat; border-radius: 16px; - box-shadow: 0 0 0 1px #444, 0 0 4px #000; + box-shadow: 0 0 4px #000; } -.card.event { - background-color: #f1f2f4; -} - -.card.influence { - background-color: #ece8dc; -} +.card.event.event_0 { background-color: #b73c26 } +.card.event { background-color: #f1f2f4 } +.card.influence.influence_back { background-color: #5c1d57 } +.card.influence { background-color: #ece8dc } .card.action { transition: transform 100ms ease; @@ -497,8 +494,7 @@ body.p2 #Galatia_NPG { display: block } transform: translate(0px, 0px); } -#played .influence_m1, #played .influence_s1, #played .influence_p1, -.card.used { +#played .influence_m1, #played .influence_s1, #played .influence_p1, .card.used { filter: brightness(75%) } diff --git a/play.html b/play.html index 405da7b..5640f15 100644 --- a/play.html +++ b/play.html @@ -22,10 +22,6 @@ Rules of Play Expansion Rules Card Gallery - - - -
diff --git a/rules.js b/rules.js index f389277..d13c8a9 100644 --- a/rules.js +++ b/rules.js @@ -3072,7 +3072,6 @@ function roll_defender_dice() { n += roll_general_dice(game.battle.target) break } - return Math.max(0, n) } -- cgit v1.2.3