|
|
| (One intermediate revision by the same user not shown) |
| Line 1: |
Line 1: |
| /* 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;
| |
| }
| |