MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
#p-logo { | #p-logo { | ||
position: fixed !important; | position: fixed !important; | ||
top: | top: -12px !important; | ||
left: 8px !important; | left: 8px !important; | ||
z-index: 1000 !important; | z-index: 1000 !important; | ||
Revision as of 20:36, 11 September 2026
/* Hide sidebar sections, keep the logo */
#mw-panel > *:not(#p-logo) {
display: none;
}
#mw-panel {
width: auto !important;
height: auto !important;
background: none !important;
padding: 0 !important;
overflow: visible !important;
}
/* Logo stays in the top-left on every page */
#p-logo {
position: fixed !important;
top: -12px !important;
left: 8px !important;
z-index: 1000 !important;
width: 672px !important;
height: 176px !important;
overflow: visible !important;
}
#p-logo a,
#p-logo a span {
display: block !important;
width: 672px !important;
height: 176px !important;
background-position: left center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
#p-logo img {
width: 672px !important;
height: auto !important;
max-width: none !important;
max-height: none !important;
}
/* Room for the fixed logo */
#mw-head {
padding-left: 690px !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
}