Make cards appear closer, making them easier to cut after print

This commit is contained in:
2017-10-17 18:56:52 +02:00
parent 2f456df8a6
commit a19fd919e1
2 changed files with 14 additions and 4 deletions
+13 -3
View File
@@ -4,22 +4,32 @@
@page {
size: A4;
margin: 1.2cm;
}
@media print {
body {
width: 21cm;
height: 29.7cm;
margin: 1.2cm;
}
/*manual alignment ftw*/
article:nth-child(9n) {
margin-bottom: 4.55cm;
margin-bottom: 1.8cm;
margin-bottom: 2.93cm;
margin-bottom: 3.5cm;
}
}
:root {
font-family: sans-serif;
font-size: 3mm;
font-weight: 300;
font-weight: 500;
}
article {
margin: 3mm 5mm;
margin: 0.1mm 0.1mm;
display: block;
float: left;
width: 5.6cm;
+1 -1
View File
@@ -83,7 +83,7 @@
#end
#if($was_saved)
<center style="position: absolute; bottom:0; width: 100%;">The card has been saved</center>
<center style="font-size: 1.3em;position: absolute; bottom:0; width: 100%;">The card has been saved</center>
#end
#if($was_deleted)
<center style="position: absolute; bottom:0; width: 100%;">The card has been removed from storage</center>