mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
b3b50ce854
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
49 lines
747 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|
|
}
|