MediaWiki:Modern.css
This is the CSS for the 'Modern' skin. 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 skin.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.
#firstHeading .mw-editsection a {
color: white;
}
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub {
display: none !important;
}
p.error {
font-weight: bold;
}
/* some headroom for #coordinates to go in without #siteSub */
#mw_contentholder {
padding-top: .4em;
}
/* position coordinates */
#coordinates {
position: absolute;
z-index: 1;
border: none;
background: none;
right: 0;
top: 0.1em;
float: right;
margin: 0;
padding: 0;
padding-right: 1.17em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* important to keep the text predictably positioned */
#coordinates img {
vertical-align: top;
}
.mw-topboxes {
margin-top: -0.4em;
}
.mw-indicators {
position: relative;
}
#mw-indicator-coordinates #coordinates {
top: 67px;
}
/* Styling for tags in changes pages */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}