Reduce amount of blank pages when printing in Chrome

Close #1196
This commit is contained in:
Michael Rose
2017-08-22 15:32:48 -04:00
parent 1f4f71636d
commit 20821e67b0
4 changed files with 39 additions and 11 deletions

View File

@ -15,19 +15,20 @@
}
html {
font-size: 16px;
margin: 0;
padding: 0;
min-height: auto !important;
font-size: 16px;
}
body {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
margin: 0 auto;
background: #fff !important;
color: #000 !important;
font-size: 1rem;
line-height: 1.5;
margin: 0 auto;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
@ -185,6 +186,16 @@
content: " (" attr(title) ")";
}
#main {
max-width: 100%;
}
.page {
margin: 0;
padding: 0;
width: 100%;
}
.page-break,
.page-break-before {
page-break-before: always;
@ -233,7 +244,9 @@
.author__content,
.author__urls-wrapper,
.nav__list,
.sidebar,
.adsbygoogle {
display: none !important;
height: 1px !important;
}
}
}