MediaWiki:Vector.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/*
Hide all top-level page elements except for the logo (#p-logo) and toolbox (#p-tb)
This ensures that only the logo and a portion of the sidebar are visible.
*/
body > *:not(#p-logo):not(#p-tb) {
display: none !important;
}
/*
Force the site logo to display.
#p-logo is the container that holds your site’s logo.
*/
#p-logo,
#p-logo * {
display: block !important;
}
/*
Make sure the toolbox container is displayed.
*/
#p-tb,
#p-tb * {
display: block !important;
}
/*
In the toolbox, hide all list items except the one with id "t-print".
By default, the print/export link is rendered as a list item with id "t-print" in the toolbox.
*/
#p-tb li:not(#t-print) {
display: none !important;
}