feat: add css print
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
import '../css/print.scss'
|
||||
Reference in New Issue
Block a user