summaryrefslogtreecommitdiff
path: root/cards.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-15 14:00:05 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit0659b78aa31e23c8feb6d4ff57a1cd349021b28f (patch)
treeda1bba07a9c82e1336939a1c1e0802a5a20be333 /cards.css
parent9b856bb5d402aa5f97e1c9c133dddbc6251e889d (diff)
downloadtable-battles-0659b78aa31e23c8feb6d4ff57a1cd349021b28f.tar.gz
x
Diffstat (limited to 'cards.css')
-rw-r--r--cards.css16
1 files changed, 12 insertions, 4 deletions
diff --git a/cards.css b/cards.css
index b105627..bf1cd56 100644
--- a/cards.css
+++ b/cards.css
@@ -139,12 +139,15 @@
.action_row {
font-style: italic;
display: grid;
- margin: 12px 0;
padding: 0 8px;
grid-template-columns: 1fr 1fr;
gap: 4px;
}
+.action_row + .action_row {
+ margin-top: 12px;
+}
+
.action_row > div {
border: 1px solid black;
padding: 2px 4px;
@@ -185,7 +188,7 @@
min-height: 18px;
}
-.lore_text, .rule_text {
+.lore_text, .rule_text, .action_rule {
font-family: "Source Serif SmText";
margin: 6px 0;
padding: 0 12px;
@@ -194,6 +197,10 @@
text-indent: 12px;
}
+.action_rule {
+ margin: 4px 0 8px 0;
+}
+
.lore_text {
font-style: italic;
}
@@ -276,10 +283,11 @@
/* SQUEEZE CARDS WITH TOO MUCH INFO */
+.action_effect.short { min-height: 18px; }
.squeeze1 .action_effect { min-height: 18px; }
-.squeeze2 .action_row { margin: 12px 0 0 0 }
+.squeeze2 .action_row + .action_row { margin-top: 0px }
.squeeze3 .action_effect { min-height: 18px; }
-.squeeze3 .action_row { margin: 6px 0 0 0 }
+.squeeze3 .action_row + .action_row { margin-top: 0px }
/* PRINT STYLE */