2017-08-28 20:51:20 +00:00
|
|
|
@media print {
|
|
|
|
.noprint,
|
|
|
|
.banner-container,
|
|
|
|
.header,
|
|
|
|
.pre-content,
|
|
|
|
.post-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
page-break-after: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
table,
|
|
|
|
figure,
|
|
|
|
img,
|
|
|
|
.lazy-image-placeholder {
|
|
|
|
page-break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
@media print and ( max-device-width: @deviceWidthTablet ) {
|
|
|
|
// Chrome: override the default margins and reveal the footer
|
|
|
|
// Experimental technology (see https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size)
|
|
|
|
@page {
|
|
|
|
margin: 50px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
padding: 0 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@import 'header.less';
|
|
|
|
@import 'article.less';
|
|
|
|
@import 'blockquotes.less';
|
|
|
|
@import 'references.less';
|
|
|
|
@import 'footer.less';
|
|
|
|
}
|