MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
left: 8px !important; | left: 8px !important; | ||
z-index: 1000 !important; | z-index: 1000 !important; | ||
width: | width: 672px !important; | ||
height: | height: 176px !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
| Line 26: | Line 26: | ||
#p-logo a span { | #p-logo a span { | ||
display: block !important; | display: block !important; | ||
width: | width: 672px !important; | ||
height: | height: 176px !important; | ||
background-position: left center !important; | background-position: left center !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
| Line 35: | Line 35: | ||
/* Room for the fixed logo */ | /* Room for the fixed logo */ | ||
#mw-head { | #mw-head { | ||
padding-left: | padding-left: 690px !important; | ||
} | } | ||
Revision as of 20:32, 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: 8px !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;
}
/* Room for the fixed logo */
#mw-head {
padding-left: 690px !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
padding-top: 0 !important;
}