MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
background-repeat: no-repeat !important; | background-repeat: no-repeat !important; | ||
background-size: contain !important; | background-size: contain !important; | ||
} | |||
#p-logo img { | |||
width: 672px !important; | |||
height: auto !important; | |||
max-width: none !important; | |||
max-height: none !important; | |||
} | } | ||
| Line 42: | Line 49: | ||
#footer { | #footer { | ||
margin-left: 1em !important; | margin-left: 1em !important; | ||
} | } | ||
Revision as of 20:33, 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;
}
#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;
}