feat: add css print

This commit is contained in:
2022-11-02 11:57:45 +01:00
parent 5bdd717ceb
commit 8d053a29d8
6 changed files with 42 additions and 7 deletions
+34
View File
@@ -0,0 +1,34 @@
header,
.right-side,
.main-footer,
.post-nav {
display: none;
}
main {
padding: 0;
}
p {
orphans: 3;
widows: 3;
font-size: 12px;
}
h1, h2, h3, h4 {
page-break-after:avoid;
break-after: avoid;
}
h1 {
font-size: 22px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 16px;
}
h4 {
font-size: 14px;
}
+1
View File
@@ -0,0 +1 @@
import '../css/print.scss'