MediaWiki:Common.css

From The New Prairie Universe Wiki
Revision as of 15:24, 21 February 2017 by Randombell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: 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.
.infobox {
    border: 1px solid #aaa;
    border-spacing: 3px;
    background-color: #f9f9f9;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
}

.infobox td, .infobox th {
    vertical-align: top;
    text-align: left;
}

.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;
    background-color: #ecfcf4;
    padding: 1em;
}

table.wikitable {
    margin: 1em 0;
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    border-collapse: collapse;
    color: #000;
}

table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;
}

th.mbox-text, td.mbox-text {
    border: none;
    padding: 0.25em 0.9em;
    width: 100%;
}

tr.mergedtoprow {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.2em 0.6em;
}

body.mediawiki table.mbox-small {
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}

table.ombox-notice {
    border: 1px solid #aaa;
}

.plainlist ol, .plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}

table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #f9f9f9;
}

table.ombox-content {
    border: 1px solid #f28500;
}

a, a:visited {
	color:#0645ad;
}

.mw-content-ltr a, .mw-content-ltr a:visited {
	font-weight:bold;
}

.toc a, .toc a:visited {
    font-weight: normal!important;
}

table.navbox {
    margin-top: 1em;
}
.navbox, .navbox-subgroup {
    background: #fdfdfd;
}
.navbox {
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox th, .navbox-title {
    background: #ccccff;
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
    background: #ddddff;
}
.navbox-group, .navbox-title, .navbox-abovebelow {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: center;
}
.navbox .collapseButton {
    width: 6em;
}
.collapseButton {
    float: right;
    font-weight: normal;
    margin-left: 0.5em;
    text-align: right;
    width: auto;
}
.navbox-title .navbar {
    float: left;
    text-align: left;
    margin-right: 0.5em;
    width: 6em;
}
th.navbox-group {
    white-space: nowrap;
    text-align: right;
}
.navbox-odd {
    background: transparent;
}
.navbox-list {
    line-height: 1.5em;
    border-color: #fdfdfd;
}
.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;
}
.hlist dd, .hlist dt, .hlist li {
    margin: 0;
    display: inline;
}
.hlist dd:after, .hlist li:after {
    content: " · ";
    font-weight: bold;
}
.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;
}
.hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
}
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: " (";
    font-weight: normal;
}