MediaWiki:Common.css
Revision as of 07:48, 23 April 2017 by MyraMidnight (talk | contribs)
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.
/**** Background ****/
html,body {background-color:#5eadff}
div#mw-head {background:#5eadff url(); background-repeat: no-repeat; background-position: left top}
div#mw-head div.vectorMenu h3 span, div#p-personal a, div#mw-panel div.portal div.body ul li a:link, div#mw-panel div.portal div.body ul li a:visited, div#footer a{color:#ff3f00}
div#mw-panel div.portal h3, div#footer #footer-info-lastmod {color:#CC0000;}
/* standard link colors */
.mw-body a:link { color: slateblue; } /* normal unvisited links */
.mw-body a:link:active { color: slateblue; } /* active links */
.mw-body a:link.new { color: #CC0000; } /* new links */
.mw-body a:visited.new { color: #CC0000; } /* new links */
.mw-body a:link.interwiki { color: #CC0000; } /* interwiki links */
.mw-body a:link.external { color: #ff3f00; } /* external links */
.mw-body a:link.stub { color: #772233; } /* hovered links */
.mw-body a:link {color: #CC0000}
.mw-body a:visited {color: #CC0000}
.mw-body a:hover {color: #1155e0;text-decoration:underline}
.mw-body a:active {color: #ff3f00;text-decoration:underline}
/**** Content ****/
div#content {background:#D2D7FD; color:#000;border: 1px #D2D7FD;}
div#content h1,h2,h3,h4,h5,h6 {color:#000}
div#content h1,h2{border-bottom:solid 1px #000}
pre, .mw-code, div#toc, div#catlinks, div#mw-content-text ul#filetoc {background:#989cb7;color:#000;border:#000}
div.thumbinner, div.mw-notification {background:#989cb7;color:#000;border:#000}
.mw-content-ltr ul {list-style-image:url(resources/assets/pang/bullet_ankh.png)}
/**** EDIT options ****/
code {background-color:#faf5ff;}
pre {background:#faf5ff;border:1px dashed #989cb7;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
table#toc {background:#faf5ff;border:1px solid #989cb7}
div.vectorTabs li.selected span, div.vectorTabs li.selected span a, {color:ba0000;#background:#D2D7FD;}
div#p-namespaces a, div#p-views a {background:#D2D7FD;background-repeat:no-repeat;color:#000;}
div.editOptions {background:#D2D7FD;border:none;}
#pagehistory li.selected {background:#000;}
#pagehistory span.comment, span.autocomment {}
/* ============ The TABLE CLASS section ============ */
/* DEFAULT WIKITABLE */
table.wikitable {
margin: 1em 1em 1em 0;
background-color: #faf5ff;
border: 1px #afa3bf solid;
border-collapse: collapse;
color: black;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px #afa3bf solid;
padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: #ddcef2;
text-align: center;
}
table.wikitable > caption {
font-weight: bold;
}
/* BLUE WIKITABLE */
table.bluetable {
margin: 1em 1em 1em 0;
background-color: #f5faff;
border: 1px #5eadff solid;
border-collapse: collapse;
color: black;
}
table.bluetable > tr > th,
table.bluetable > tr > td,
table.bluetable > * > tr > th,
table.bluetable > * > tr > td {
border: 1px #5eadff solid;
padding: 0.2em;
}
table.bluetable > tr > th,
table.bluetable > * > tr > th {
background-color: #bbdbfc;
text-align: center;
}
table.bluetable > caption {
font-weight: bold;
}
/* PURPLE WIKITABLE */
table.purpletable {
margin: 1em 1em 1em 0;
background-color: #faf5ff;
border: 1px #afa3bf solid;
border-collapse: collapse;
color: black;
}
table.purpletable > tr > th,
table.purpletable > tr > td,
table.purpletable > * > tr > th,
table.purpletable > * > tr > td {
border: 1px #afa3bf solid;
padding: 0.2em;
}
table.purpletable > tr > th,
table.purpletable > * > tr > th {
background-color: #ddcef2;
text-align: center;
}
table.purpletable > caption {
font-weight: bold;
}
/* PINK wikitable */
table.pinktable {
margin: 1em 1em 1em 0;
background-color: #fff5fa;
border: 1px #bfa3af solid;
border-collapse: collapse;
color: black;
}
table.pinktable > tr > th,
table.pinktable > tr > td,
table.pinktable > * > tr > th,
table.pinktable > * > tr > td {
border: 1px #bfa3af solid;
padding: 0.2em;
}
table.pinktable > tr > th,
table.pinktable > * > tr > th {
background-color: #f2cedd;
text-align: center;
}
table.pinktable > caption {
font-weight: bold;
}
/* GREEN WIKITABLE */
table.greentable {
margin: 1em 1em 1em 0;
background-color: #f5fffa;
border: 1px #a3bfb1 solid;
border-collapse: collapse;
color: black;
}
table.greentable > tr > th,
table.greentable > tr > td,
table.greentable > * > tr > th,
table.greentable > * > tr > td {
border: 1px #a3bfb1 solid;
padding: 0.2em;
}
table.greentable > tr > th,
table.greentable > * > tr > th {
background-color: #cef2e0;
text-align: center;
}
table.greentable > caption {
font-weight: bold;
}
/* NAVBOX WIKITABLE */
table.navbox { /* Navbox container style */
border: 1px solid #989cb7;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.8em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
text-align:left;
}
.navbox-odd {
background: transparent; /* Odd row striping */
text-align:left;
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
}