MediaWiki:Monobook.css
This is the CSS for the monobook skin only. Any major changes to this page should first be proposed on its talk page or the Village pump.
Please note that changes are visible within minutes. Errors you make here can disrupt the entire encyclopedia, so make sure you know what you are doing. Always check with the W3C CSS Validation Service before and after any changes. Testing can be done on your personal monobook.css. In Mozilla Firefox and Opera, you can also test style changes dynamically with the test styles bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type. If you add or modify anything here, please update the catalogue of CSS classes. |
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
a { text-decoration: underline }
#siteNotice { padding-left: 4px; }
/* standard link colors */ a { color: #0000FF; } a:visited { color: #7F007F; } a:active, a.new { color: #FF0000; } a.interwiki, a.external { color: #3366BB; } a.stub { color: #772233; }
/* Make all non-namespace pages have a light blue content area. This is done by setting the background color for all #content areas to light blue and then overriding it for any #content enclosed in a .ns-0 (main namespace). I then do the same for the "tab" background colors. --Lupo */
#content {
background: #F8FCFF; /* a light blue */
}
.ns-0 * #content {
background: white;
}
#mytabs li {
background: #F8FCFF;
}
.ns-0 * #mytabs li {
background: white;
}
#mytabs li a {
background-color: #F8FCFF;
}
.ns-0 * #mytabs li a {
background-color: white;
}
/* For p-cactions (the top "tabs") it works only because my .js moves them into the
"ns-0" wrapper anyway. */
#p-cactions li {
background: #F8FCFF;
}
.ns-0 * #p-cactions li {
background: white;
}
#p-cactions li a {
background-color: #F8FCFF;
}
.ns-0 * #p-cactions li a {
background-color: white;
}