summaryrefslogtreecommitdiff
path: root/cards.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-08 16:51:54 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:47 +0100
commit7c6d64086fac989ad7ede51d017b05da5796facd (patch)
tree8627f15840fb9059453dc7d34e762bee00fc2281 /cards.css
parent5605104117cb0eb8b8630e18a6c89b743fd9dca4 (diff)
downloadtable-battles-7c6d64086fac989ad7ede51d017b05da5796facd.tar.gz
low ink print style
Diffstat (limited to 'cards.css')
-rw-r--r--cards.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/cards.css b/cards.css
index e629c05..70139ec 100644
--- a/cards.css
+++ b/cards.css
@@ -249,3 +249,16 @@
}
.scenario_line { padding-left: 24px; }
+
+/* PRINT STYLE */
+
+@media print {
+ html,body{margin:0;padding:0!important;background-image:none!important;background-color:white!important;}
+ h1,h2{display:none}
+ .card{break-inside:avoid}
+ .list{margin:4px;gap:4px!important;}
+ .card{box-shadow:none!important;border-radius:0!important;}
+ .card,.scenario_title,.scenario_player,.strength,.action_row *{background-color:white!important}
+ .number,.extra{opacity:1!important}
+ .extra{display:block}
+}