MediaWiki:Monobook.css
From Proteopedia
(Difference between revisions)
Line 15: | Line 15: | ||
div.thumb div a img { | div.thumb div a img { | ||
background-color: #fff; | background-color: #fff; | ||
+ | } | ||
+ | |||
+ | /* JP avoid navigation being pushed down */ | ||
+ | /* Ensure the sidebar floats left */ | ||
+ | #column-one { | ||
+ | float: left; | ||
+ | } | ||
+ | /* Ensure the main content floats correctly beside it and clears any previous floats if necessary */ | ||
+ | #content { | ||
+ | margin-left: 11em; /* Adjust to match the sidebar's width */ | ||
+ | overflow: hidden; /* Contains floats */ | ||
} | } |
Revision as of 05:06, 3 October 2025
/* CSS placed here will affect users of the Monobook skin */
/* Don't display some stuff on the main page */ body.page-Main_Page h1.firstHeading {
display: none !important;
}
/* Bold 'edit this page' link to encourage newcomers */
- ca-edit a { font-weight: bold !important; }
.editButtons { display: block;}
/* Makes the background of a framed image white instead of gray. */ /* Only visible with transparent images. */ div.thumb div a img {
background-color: #fff;
}
/* JP avoid navigation being pushed down */ /* Ensure the sidebar floats left */
- column-one {
float: left;
} /* Ensure the main content floats correctly beside it and clears any previous floats if necessary */
- content {
margin-left: 11em; /* Adjust to match the sidebar's width */ overflow: hidden; /* Contains floats */
}