MediaWiki:Vector.css
Jump to navigation
Jump to search
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.
/* Update to ensure compatibility with newer MediaWiki versions */
/* Generic styles for Vector skin */
html {
font-size: 100%;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #2a2a2a;
}
.mw-body {
margin-left: 10em;
padding: 1em;
border: 1px solid #250b2d;
border-right-width: 0;
margin-top: -1px;
background-color: #333;
color: #c1c1c1;
direction: ltr;
}
.mw-body p {
line-height: inherit;
margin: 0.5em 0;
}
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6 {
color: #c1c1c1;
line-height: 1.3;
margin-bottom: 0.25em;
padding: 0;
}
.mw-body h1 {
font-size: 1.8em;
}
.mw-body h2 {
font-size: 1.5em;
margin-top: 1em;
}
.mw-body h3 {
font-size: 1.17em;
font-weight: bold;
}
.mw-body ul {
list-style-type: disc;
}
.mw-body table {
color: #c1c1c1;
background-color: #4c4c4c;
border-color: #666;
}
.mw-body a {
color: #e69710;
}
.mw-body a:visited {
color: #8a7f6c;
}
.mw-body a.new {
color: #d44;
}
/* Sidebar panel */
#mw-panel {
position: absolute;
top: 160px;
padding-top: 1em;
width: 10em;
left: 0;
background-color: #4c4c4c;
border-top: 1px solid #4c4c4c;
}
#mw-panel h3 {
color: #4d4d4d;
font-weight: normal;
padding: 0.25em;
font-size: 0.75em;
}
#mw-panel a {
color: #e69710;
}
#mw-panel a:visited {
color: #8a7f6c;
}
/* Top navigation */
#mw-head {
width: 100%;
background-color: #250b2d;
color: #e69710;
}
#left-navigation div.vectorTabs ul li {
background-color: #222;
background-image: linear-gradient(#2e2e2e 20%, #222 100%);
}
#left-navigation div.vectorTabs li.selected {
background-color: #333;
background-image: linear-gradient(#e69710 0, #333 10%);
}
#left-navigation div.vectorTabs li.selected a {
color: #8a7f6c;
}
/* Footer styles */
div#footer {
margin-left: 10em;
padding: 0.75em;
color: #333;
font-size: 0.7em;
background-color: #333;
}
#footer a {
color: #e69710;
}
/* Forms and inputs */
input, textarea {
background-color: #4c4c4c;
border-color: #4c4c4c;
color: #c1c1c1;
}
/* Other UI elements */
.editOptions {
background-color: #333;
color: #c1c1c1;
border-color: #4c4c4c;
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
.mw-body {
margin-left: 0;
padding: 0.5em;
}
#mw-panel {
position: relative;
width: auto;
}
}