mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/print/styles.less
Volker E 4496292268 Hygiene: Remove 'blockquotes.less' in print and screen
There's no reason to have this as separate style file in content.styles
as common text styles are taken care of in 'text.less' and
'print/articles.less' for print. Moving contents rule there.

Change-Id: Ie613d95488e9b5a814b6be8f0c856e9e92ab5aed
2018-10-17 08:25:30 -07:00

49 lines
725 B
Plaintext

@import '../../../minerva.less/minerva.variables';
@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%;
}
}
@media print and ( max-device-width: @width-breakpoint-tablet ) {
// 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 'references.less';
@import 'footer.less';
}