mediawiki-skins-Vector/resources/skins.vector.styles/layouts/print.less
Jon Robson 2c54053ba7 Print: Hide table of contents and nav menus in print
Additional change: use !important to make sure this change
is final.

Bug: T327448
Change-Id: I8bc919bd24bfa21d4a11ba3a2b2ffa55801b698f
2023-01-26 08:37:25 -08:00

23 lines
588 B
Plaintext

/* stylelint-disable no-invalid-double-slash-comments */
@import 'mediawiki.mixins.less';
// Used to be under #mw-navigation, which is hidden in common/print.less
.vector-page-toolbar,
// Hide main menu checkbox
#mw-sidebar-checkbox,
// Hide all header content except the logo
.vector-header-start > *:not( .mw-logo ),
.vector-header-end,
// T300178, T306719
#mw-panel-toc,
#vector-sticky-header,
#p-lang-btn,
.vector-menu-checkbox,
// Hide all navigation
nav,
#vector-page-titlebar-toc,
#footer {
/* stylelint-disable-next-line declaration-no-important */
display: none !important;
}