mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/print/header.less
jdlrobson b3b50ce854 Fix Minerva print mode to correctly show top of document
When we built the new main menu we started using a `nav` element.
Update selectors to hide the `nav` element when printing from
mobile.

When printing from tablet or desktop make sure the header is displayed.

Bug: T244181
Change-Id: I7f60fd11d969a48e1c7926ad8acc4213f9affed4
2020-02-18 17:50:30 +00:00

49 lines
747 B
Plaintext

// FIXME: Ensure resources/skins.minerva.base.styles/print.less is removed when promoting
.header-container,
.header-container.header-chrome {
background: @skinContentBgColor;
box-shadow: none !important;
}
.header {
border-top: 0;
display: block;
height: auto;
padding: 0 @contentPadding;
.branding-box {
padding-left: 0 !important;
// Beta indication is hidden in print mode
sup {
display: none !important;
}
}
> nav,
> div {
display: none !important;
}
> .branding-box {
height: auto;
display: block !important;
padding: 0 0 51px 50px;
h1 {
font-size: inherit;
> * {
float: none;
}
// assumes SVG...
img {
height: 41px;
width: auto;
vertical-align: inherit;
}
}
}
}