MediaWiki:Common.css
Jump to navigation
Jump to search
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 / Edge: 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 be applied to all skins */
/* body */
body {
background-color: #d3dcef;
background-image: none;
}
/* wikitable/prettytable */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em 0.4em 0.2em 0.4em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}
/* ambox */
.ambox {
border: 1px #aaa solid;
border-collapse: collapse;
background-color: #ffe;
}
.ambox td {
padding: 0.3em;
border: none;
}
/* anav */
.anav {
margin-top: 5px;
margin-bottom: 5px;
border: 1px #aaa solid;
border-collapse: collapse;
background-color: #ffe;
}
.anav td {
padding: 0.5em;
border: none;
}
.anav th {
padding: 0em;
border: none;
font-weight: bold;
background: #33CC00;
}
/* GeSHi borders */
div.mw-geshi {
padding: 1em;
margin: 1em 0;
border: 1px dashed #2fab6f;
background-color: #f9f9f9;
}
/* custom highlight for text */
.hl-orange {
color: #ff8c00;
font-weight: bold;
}
.hl-teal {
color: #008080;
font-weight: bold;
}
.hl-red {
color: #ff0000;
font-weight: bold;
}
.hl-blue {
color: #0000ff;
font-weight: bold;
}
.hl-pink {
color: #ff1493;
font-weight: bold;
}