mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
4389b67989
$wgResourceLoaderLESSVars is deprecated. Let's not use it anymore. Change-Id: If28ab6884668700bc46533c8e2c377f17e6be696 Depends-On: Ib9f843147db4473ce5590741e0fb490384b0007e Bug: T171365
50 lines
732 B
Plaintext
50 lines
732 B
Plaintext
@import '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 'blockquotes.less';
|
|
@import 'references.less';
|
|
@import 'footer.less';
|
|
}
|