MediaWiki:Common.css: Difference between revisions
Appearance
imported>Admin No edit summary |
imported>Admin No edit summary |
||
| Line 8: | Line 8: | ||
/* side-by-side layout */ | /* side-by-side layout */ | ||
#toc { float: left; width: 280px; margin: 0 16px 16px 0; } | #toc { | ||
.model-box { float: right; width: 340px; margin: 0 0 16px 16px; | float: left; | ||
width: 280px; | |||
margin: 0 16px 16px 0; | |||
} | |||
.model-box { | |||
float: right; /* stick to the right margin */ | |||
width: 340px; /* adjust as needed */ | |||
margin: 0 0 16px 16px; /* space on the left so text doesn’t crash into it */ | |||
} | |||
.clear { clear: both; } | .clear { clear: both; } | ||
Revision as of 16:03, 16 September 2025
/* CSS placed here will be applied to all skins */
#p-logo a {
background-size: 160px auto !important;
width: 160px !important;
height: 160px !important;
}
/* side-by-side layout */
#toc {
float: left;
width: 280px;
margin: 0 16px 16px 0;
}
.model-box {
float: right; /* stick to the right margin */
width: 340px; /* adjust as needed */
margin: 0 0 16px 16px; /* space on the left so text doesn’t crash into it */
}
.clear { clear: both; }