MediaWiki:Common.css
MediaWiki interface page
More actions
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Hide sidebar menus only */
#p-navigation,
#p-tb,
#p-interaction,
#p-coll-print_export,
#p-lang,
#p-Help_about_MediaWiki {
display: none !important;
}
#mw-panel {
background: none !important;
overflow: visible !important;
}
/* Pull logo up into the header strip */
#p-logo {
position: absolute !important;
top: -55px !important;
left: 8px !important;
z-index: 100 !important;
width: 360px !important;
height: 90px !important;
overflow: visible !important;
}
#p-logo a,
#p-logo a span {
display: block !important;
width: 360px !important;
height: 90px !important;
background-position: left center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
#p-logo img {
width: 360px !important;
height: auto !important;
max-width: none !important;
max-height: none !important;
}
/* Force the top-right menus back */
#mw-head,
#p-personal,
#p-search,
#left-navigation,
#right-navigation {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
#left-navigation {
margin-left: 280px !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
}