MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→CSS placed here will be applied to all skins: #mw-panel { display: none; } #mw-head-base, #content, #footer { margin-left: 0 !important; } .mw-body { margin-left: 1em !important; }" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Hide sidebar sections, keep the logo */ | ||
#mw-panel > *:not(#p-logo) { | |||
display: none; | |||
} | |||
#mw-panel { | #mw-panel { | ||
width: auto; | |||
background: none; | |||
padding: 0; | |||
top: 0; | |||
} | |||
/* Pin Williams logo in the top bar */ | |||
#p-logo { | |||
position: absolute; | |||
top: 0.3em; | |||
left: 0.6em; | |||
z-index: 101; | |||
} | |||
#p-logo a, | |||
#p-logo a span { | |||
width: 160px; | |||
height: 48px; | |||
background-position: left center !important; | |||
background-size: contain !important; | |||
} | |||
/* Room for the logo so tabs/search don't overlap */ | |||
#mw-head { | |||
margin-left: 170px; | |||
} | } | ||
#content, | #content, | ||
.mw-body, | |||
#footer { | #footer { | ||
margin-left: 1em !important; | margin-left: 1em !important; | ||
} | } | ||
Revision as of 20:16, 11 September 2026
/* Hide sidebar sections, keep the logo */
#mw-panel > *:not(#p-logo) {
display: none;
}
#mw-panel {
width: auto;
background: none;
padding: 0;
top: 0;
}
/* Pin Williams logo in the top bar */
#p-logo {
position: absolute;
top: 0.3em;
left: 0.6em;
z-index: 101;
}
#p-logo a,
#p-logo a span {
width: 160px;
height: 48px;
background-position: left center !important;
background-size: contain !important;
}
/* Room for the logo so tabs/search don't overlap */
#mw-head {
margin-left: 170px;
}
#content,
.mw-body,
#footer {
margin-left: 1em !important;
}