MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Hide | /* 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: 1040px; | |||
height: 320px; | |||
background-position: left center !important; | |||
background-size: contain !important; | |||
} | } | ||
/* | /* Room for the logo so tabs/search don't overlap */ | ||
#mw-head { | #mw-head { | ||
margin-left: 170px; | |||
} | } | ||
# | #content, | ||
.mw-body, | |||
#footer { | |||
margin-left: 1em !important; | |||
} | } | ||
Revision as of 20:26, 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: 1040px;
height: 320px;
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;
}