Files
template/src/styles/styles-print.css
T
Ludwig Schubert a1800ca2b3 Design changes
2017-08-09 16:48:07 -07:00

31 lines
387 B
CSS

@media print {
@page {
size: 8in 11in;
@bottom-right {
content: counter(page) " of " counter(pages);
}
}
html {
/* no general margins -- CSS Grid takes care of those */
}
p, code {
page-break-inside: avoid;
}
h2, h3 {
page-break-after: avoid;
}
d-header {
visibility: hidden;
}
d-footer {
display: none!important;
}
}