MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* hide main page title */
body.page-Main_Page h1.firstHeading { display: none; }
/* hide lastmodified date from homepage */
body.page-Main_Page #footer-info-lastmod {
display: none;
}
/* 1. Hide sitenotice on all pages */
#siteNotice {
display: none;
}
/* 2. Show sitenotice only on Main Page */
body.page-Main_Page #siteNotice {
display: block;
}
/* Make content text size and line height match Wikipedia */
#mw-content-text {
font-size: 0.875rem; /* Standard Wikipedia font size */
line-height: 1.6; /* Standard Wikipedia line spacing */
font-family: sans-serif;
}
/* Adjust paragraph spacing (the "gap" between blocks of text) */
#mw-content-text p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
/* Optional: Make headings look more official */
.firstHeading, h1, h2 {
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
margin-bottom: 0.25em;
padding-bottom: 0;
border-bottom: 1px solid #a2a9b1;
}