MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
EruIluvatar (talk | contribs) No edit summary Tag: Manual revert |
EruIluvatar (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* 1. Force the Sidebar to the far left and lock width */ | |||
#mw-panel { | |||
/* 1. | |||
#mw-panel { | |||
position: absolute !important; | position: absolute !important; | ||
left: 0 !important; | |||
width: 120px !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
text-align: left !important; | |||
margin-left | |||
} | } | ||
/* | /* 2. Lock the content gap so it doesn't expand on Special Pages */ | ||
# | body.skin-vector-legacy #content, | ||
margin-left: 120px !important; | body.skin-vector-legacy #mw-head-base, | ||
body.skin-vector-legacy #mw-page-base, | |||
body.skin-vector-legacy #footer { | |||
margin-left: 120px !important; | |||
} | } | ||
/* | /* 3. Align the Logo to the left of the new 120px space */ | ||
#p-logo { | #p-logo { | ||
width: 120px !important; | width: 120px !important; | ||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
.mw-wiki-logo { | .mw-wiki-logo { | ||
width: 100px !important; | width: 100px !important; | ||
height: 100px !important; | height: 100px !important; | ||
margin-left: 10px !important; /* Margin from the screen edge */ | |||
background-size: contain !important; | |||
background- | background-position: left center !important; | ||
} | } | ||
/* | /* 4. Fix Link alignment inside the sidebar */ | ||
#mw-panel .portal { | #mw-panel .portal { | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 0 0 10px !important; /* | padding: 0 0 0 10px !important; /* Indent links slightly from edge */ | ||
} | } | ||
#mw-panel .portal .body | #mw-panel .portal .body { | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
Revision as of 08:38, 7 January 2026
/* 1. Force the Sidebar to the far left and lock width */
#mw-panel {
position: absolute !important;
left: 0 !important;
width: 120px !important;
padding: 0 !important;
margin: 0 !important;
text-align: left !important;
}
/* 2. Lock the content gap so it doesn't expand on Special Pages */
body.skin-vector-legacy #content,
body.skin-vector-legacy #mw-head-base,
body.skin-vector-legacy #mw-page-base,
body.skin-vector-legacy #footer {
margin-left: 120px !important;
}
/* 3. Align the Logo to the left of the new 120px space */
#p-logo {
width: 120px !important;
padding: 0 !important;
margin: 0 !important;
}
.mw-wiki-logo {
width: 100px !important;
height: 100px !important;
margin-left: 10px !important; /* Margin from the screen edge */
background-size: contain !important;
background-position: left center !important;
}
/* 4. Fix Link alignment inside the sidebar */
#mw-panel .portal {
margin: 0 !important;
padding: 0 0 0 10px !important; /* Indent links slightly from edge */
}
#mw-panel .portal .body {
margin: 0 !important;
}