Make cards appear closer, making them easier to cut after print
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user