You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
673 B
CSS
35 lines
673 B
CSS
@media print {
|
|
/* Define the size of the pages and layout settings */
|
|
@page {
|
|
size: 148mm 210mm;
|
|
margin: 15mm;
|
|
}
|
|
/* Custom fonts */
|
|
@font-face {
|
|
font-family: "";
|
|
src: url("");
|
|
}
|
|
/* Custom variables */
|
|
:root {}
|
|
/* Rules for everything */
|
|
body {
|
|
font-family: "courier";
|
|
font-size: 40px;
|
|
line-height: 36px;
|
|
}
|
|
/* Rules for the rest */
|
|
.contents {
|
|
break-before: right;
|
|
}
|
|
div {
|
|
box-sizing: border-box;
|
|
}
|
|
img {
|
|
margin: 0 1ch;
|
|
height: 45px;
|
|
vertical-align: middle;
|
|
}
|
|
span {
|
|
break-after: none;
|
|
}
|
|
} |