MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
#mw-panel { | #mw-panel { | ||
width: auto; | width: auto !important; | ||
background: none; | height: auto !important; | ||
padding: 0; | background: none !important; | ||
top: 0; | padding: 0 !important; | ||
top: 0 !important; | |||
overflow: visible !important; | |||
} | } | ||
/* Pin Williams logo in the header */ | /* Pin Williams logo in the header */ | ||
#p-logo { | #p-logo { | ||
position: absolute; | position: absolute !important; | ||
top: | top: 0 !important; | ||
left: 8px; | left: 8px !important; | ||
z-index: 101; | z-index: 101 !important; | ||
width: 480px !important; | |||
height: 140px !important; | |||
overflow: visible !important; | |||
} | } | ||
#p-logo a, | #p-logo a, | ||
#p-logo a span { | #p-logo a span { | ||
width: | display: block !important; | ||
height: | width: 480px !important; | ||
height: 140px !important; | |||
background-position: left center !important; | background-position: left center !important; | ||
background-repeat: no-repeat !important; | |||
background-size: contain !important; | background-size: contain !important; | ||
} | } | ||
| Line 29: | Line 36: | ||
/* Keep Page/search clear of the logo */ | /* Keep Page/search clear of the logo */ | ||
#mw-head { | #mw-head { | ||
margin-left: | margin-left: 500px !important; | ||
min-height: | min-height: 80px !important; | ||
} | } | ||
Revision as of 20:31, 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;
top: 0 !important;
overflow: visible !important;
}
/* Pin Williams logo in the header */
#p-logo {
position: absolute !important;
top: 0 !important;
left: 8px !important;
z-index: 101 !important;
width: 480px !important;
height: 140px !important;
overflow: visible !important;
}
#p-logo a,
#p-logo a span {
display: block !important;
width: 480px !important;
height: 140px !important;
background-position: left center !important;
background-repeat: no-repeat !important;
background-size: contain !important;
}
/* Keep Page/search clear of the logo */
#mw-head {
margin-left: 500px !important;
min-height: 80px !important;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
}