mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 01:06:31 +00:00
402aaad6ff
`lazy-image-placeholder` is needed only when MobileFrontend is enabled. So it makes sense to move those styles to mobile.init css. See more details here: T199351#6380240 Bug: T260406 Change-Id: I16ca734af33fb0f3c4c67f20bbca8631279d7778
55 lines
942 B
Plaintext
55 lines
942 B
Plaintext
@import '../../../minerva.less/minerva.variables.less';
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
|
|
|
@media print {
|
|
.noprint,
|
|
.banner-container,
|
|
.header,
|
|
.minerva__tab-container,
|
|
.page-actions-menu,
|
|
.post-content {
|
|
display: none;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
table,
|
|
figure,
|
|
img {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
|
|
// Disable lazy loading transition animation for print media (T220668) so they display.
|
|
&.image-lazy-loaded {
|
|
.animation( none ) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
@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';
|
|
}
|