| 1 |
@import '../../../minerva.less/minerva.variables.less'; |
| 2 |
@import '../../../minerva.less/minerva.mixins.less'; |
| 3 |
|
| 4 |
@media print { |
| 5 |
.noprint, |
| 6 |
.banner-container, |
| 7 |
.minerva-header, |
| 8 |
.minerva-footer, |
| 9 |
.minerva__tab-container, |
| 10 |
.page-actions-menu, |
| 11 |
.post-content { |
| 12 |
display: none; |
| 13 |
} |
| 14 |
|
| 15 |
.printfooter { |
| 16 |
padding-top: 1em; |
| 17 |
} |
| 18 |
|
| 19 |
.mw-heading, |
| 20 |
h1, |
| 21 |
h2, |
| 22 |
h3, |
| 23 |
h4, |
| 24 |
h5, |
| 25 |
h6 { |
| 26 |
page-break-after: avoid; |
| 27 |
} |
| 28 |
|
| 29 |
.mw-heading, |
| 30 |
table, |
| 31 |
figure, |
| 32 |
img { |
| 33 |
page-break-inside: avoid; |
| 34 |
} |
| 35 |
|
| 36 |
img { |
| 37 |
max-width: 100%; |
| 38 |
|
| 39 |
// Disable lazy loading transition animation for print media (T220668) so they display. |
| 40 |
&.image-lazy-loaded { |
| 41 |
animation: none !important; |
| 42 |
} |
| 43 |
} |
| 44 |
} |
| 45 |
|
| 46 |
@media print and ( max-width: @max-width-breakpoint-mobile ) { |
| 47 |
// Chrome: override the default margins and reveal the footer |
| 48 |
// Experimental technology (see https://developer.mozilla.org/en-US/docs/Web/CSS/@page/size) |
| 49 |
@page { |
| 50 |
margin: 50px 0; |
| 51 |
} |
| 52 |
|
| 53 |
html { |
| 54 |
padding: 0 50px; |
| 55 |
} |
| 56 |
|
| 57 |
@import 'header.less'; |
| 58 |
@import 'article.less'; |
| 59 |
@import 'references.less'; |
| 60 |
@import 'footer.less'; |
| 61 |
} |