MediaWiki:Vector.css
From MozillaWiki
Note: After saving, 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)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin */
/**
* Improve text readability.
*/
div#bodyContent {
font-size: 0.9em;
}
h1#firstHeading,
div#bodyContent h1,
div#bodyContent h2 {
font-weight: normal;
}
div#bodyContent h3,
div#bodyContent h4,
div#bodyContent h5,
div#bodyContent h6 {
font-weight: bold;
}
h1#firstHeading,
div#bodyContent h1 {
font-size: 200%;
margin-top: 1em;
}
div#bodyContent h2 {
font-size: 150%;
}
div#bodyContent h3 {
font-size: 140%;
}
div#bodyContent h4 {
font-size: 130%;
}
div#bodyContent h5 {
font-size: 120%;
}
div#bodyContent h6 {
font-size: 110%;
}
div#bodyContent table.toc h2,
div#bodyContent table#toc h2 {
font-size: 100%;
font-weight: bold;
}
/**
* Special styling for the Main Page.
*/
body.page-Main_Page div#content h1,
body.page-Main_Page div#content h2,
body.page-Main_Page div#content h3,
body.page-Main_Page div#content h4,
body.page-Main_Page div#content h5,
body.page-Main_Page div#content h6 {
margin: inherit;
font-weight: bolder;
}