Make cards appear closer, making them easier to cut after print
This commit is contained in:
@@ -4,22 +4,32 @@
|
|||||||
|
|
||||||
@page {
|
@page {
|
||||||
size: A4;
|
size: A4;
|
||||||
margin: 1.2cm;
|
|
||||||
}
|
}
|
||||||
@media print {
|
@media print {
|
||||||
body {
|
body {
|
||||||
width: 21cm;
|
width: 21cm;
|
||||||
height: 29.7cm;
|
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 {
|
:root {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 3mm;
|
font-size: 3mm;
|
||||||
font-weight: 300;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
article {
|
article {
|
||||||
margin: 3mm 5mm;
|
margin: 0.1mm 0.1mm;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
width: 5.6cm;
|
width: 5.6cm;
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
#end
|
#end
|
||||||
|
|
||||||
#if($was_saved)
|
#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
|
#end
|
||||||
#if($was_deleted)
|
#if($was_deleted)
|
||||||
<center style="position: absolute; bottom:0; width: 100%;">The card has been removed from storage</center>
|
<center style="position: absolute; bottom:0; width: 100%;">The card has been removed from storage</center>
|
||||||
|
|||||||
Reference in New Issue
Block a user