mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
50 lines
754 B
Plaintext
50 lines
754 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 'blockquotes.less';
|
|
@import 'references.less';
|
|
@import 'footer.less';
|
|
}
|