MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
background: none !important; | background: none !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
/* | /* Logo stays in the top-left on every page */ | ||
#p-logo { | #p-logo { | ||
position: | position: fixed !important; | ||
top: | top: 8px !important; | ||
left: 8px !important; | left: 8px !important; | ||
z-index: | z-index: 1000 !important; | ||
width: | width: 420px !important; | ||
height: | height: 110px !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
| Line 27: | Line 26: | ||
#p-logo a span { | #p-logo a span { | ||
display: block !important; | display: block !important; | ||
width: | width: 420px !important; | ||
height: | height: 110px !important; | ||
background-position: left center !important; | background-position: left center !important; | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
| Line 34: | Line 33: | ||
} | } | ||
/* | /* Room for the fixed logo */ | ||
#mw-head { | #mw-head { | ||
padding-left: 430px !important; | |||
} | } | ||
| Line 44: | Line 42: | ||
#footer { | #footer { | ||
margin-left: 1em !important; | margin-left: 1em !important; | ||
padding-top: 0 !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: 420px !important;
height: 110px !important;
overflow: visible !important;
}
#p-logo a,
#p-logo a span {
display: block !important;
width: 420px !important;
height: 110px !important;
background-position: left center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
/* Room for the fixed logo */
#mw-head {
padding-left: 430px !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
padding-top: 0 !important;
}