MediaWiki:Vector.css
From GersteinInfo
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */
/* Make headings sans-serif like Monobook */
/* --- Body and content --- */
body {
font: x-small sans-serif;
background: #F0F0F0;
color: black;
margin: 0;
padding: 0;
}
#content {
background: white;
color: black;
border: 1px solid #aaa;
line-height: 1.5em;
padding: 1em;
}
/* --- Headings like Monobook --- */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
font-family: sans-serif !important;
color: black;
background: none;
font-weight: normal;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 1px solid #aaa;
}
h1 { font-size: 188%; }
h2 { font-size: 150%; }
h3 { font-size: 132%; font-weight: bold; border-bottom: none; }
h4 { font-size: 116%; font-weight: bold; border-bottom: none; }
h5 { font-size: 100%; font-weight: bold; border-bottom: none; }
h6 { font-size: 80%; font-weight: bold; border-bottom: none; }
/* --- Links --- */
a { text-decoration: none; color: #002bb8; }
a:visited { color: #5a3696; }
a:hover { text-decoration: underline; color: #002bb8; }
/* --- Tables --- */
table { font-size: 100%; color: black; background: white; border-collapse: collapse; }
th, td { border: 1px solid #aaa; padding: 0.15em; }
/* --- Lists --- */
ul { list-style-type: square; margin-left: 1.5em; line-height: 1.5em; }
ol { list-style-type: decimal; margin-left: 3.2em; line-height: 1.5em; }
/* --- Monobook-like sidebar widths --- */
#mw-panel { width: 12em; }
#content { margin-left: 12em; }
/* --- Misc --- */
#footer {
background-color: white;
border-top: 1px solid #fabd23;
border-bottom: 1px solid #fabd23;
text-align: center;
font-size: 90%;
padding: .4em 0 1.2em 0;
}