MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
left: 8px !important; | left: 8px !important; | ||
z-index: 1000 !important; | z-index: 1000 !important; | ||
width: | width: 420px !important; | ||
height: | height: 110px !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
| Line 31: | Line 31: | ||
#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 39: | Line 39: | ||
#p-logo img { | #p-logo img { | ||
width: | width: 420px !important; | ||
height: auto !important; | height: auto !important; | ||
max-width: none !important; | max-width: none !important; | ||
| Line 45: | Line 45: | ||
} | } | ||
# | /* Only move the left tabs; leave search + personal menu alone */ | ||
padding-left: | #left-navigation { | ||
margin-left: 280px !important; | |||
} | |||
#p-personal, | |||
#p-search, | |||
#right-navigation { | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
} | } | ||
Revision as of 21:16, 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;
}
#mw-head,
#mw-page-base {
position: relative !important;
}
/* Logo in the header only — scrolls away with the page */
#p-logo {
position: absolute !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;
}
#p-logo img {
width: 420px !important;
height: auto !important;
max-width: none !important;
max-height: none !important;
}
/* Only move the left tabs; leave search + personal menu alone */
#left-navigation {
margin-left: 280px !important;
}
#p-personal,
#p-search,
#right-navigation {
margin-left: 0 !important;
padding-left: 0 !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
}