MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tag: Reverted |
||
Line 11: | Line 11: | ||
#content, #left-navigation, #footer { | #content, #left-navigation, #footer { | ||
margin-left: 260px; /* must be >= sidebar width */ | margin-left: 260px; /* must be >= sidebar width */ | ||
} | |||
#p-logo a { | |||
background-size: contain; /* makes the image scale nicely */ | |||
width: 200px; /* adjust to your new sidebar width */ | |||
height: 100px; /* tweak height as needed */ | |||
} | } |
Revision as of 07:54, 16 September 2025
/* CSS placed here will be applied to all skins */
.mw-body-content {
max-width: 1250px;
}
.mw-panel {
width: 240px; /* default is ~160px, adjust as needed */
}
/* Adjust content area to not overlap */
#content, #left-navigation, #footer {
margin-left: 260px; /* must be >= sidebar width */
}
#p-logo a {
background-size: contain; /* makes the image scale nicely */
width: 200px; /* adjust to your new sidebar width */
height: 100px; /* tweak height as needed */
}