MediaWiki:Vector.css

From Sim Settlements
Revision as of 18:02, 29 December 2017 by Bludthurst (talk | contribs)
Jump to: navigation, 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.
/* CSS placed here will affect users of the Vector skin */

body.mediawiki {
    width: 1200px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: none;
}

@media screen and (max-width: 1199px) {

body.mediawiki {
    width: 100%;
    position: initial;
    left: initial;
    transform: initial;
    background: none;
}
}

#p- {color: black; font-size:120% }

div#content a.external { color: yellow, text-decoration: underline, !important;}
.mw-body-content a:link {color: red, text-decoration: underline, !important;}
.mw-body-content a:visited {color: red, text-decoration: underline, !important;}
.mw-body-content a:link.interwiki { color: red, text-decoration: underline, !important;}
.mw-body {color: black; }
a:link {color: red, text-decoration: underline, !important;}
a:visited {color: red, text-decoration: underline, !important;}
a:link.interwiki { color: red, text-decoration: underline, !important;}

/*.editOptions{ background-color: #000000 }*/

.page-Main_Page .firstHeading { display:none; }

.toc, #toc {
    background: transparent;
    border: 1px solid #a7a7a7;
}

.toc td, #toc td {
}

#toctitle {
}

div#content #toctitle h2 {
}

.toctoggle, #toc .toctoggle {
}

.toctoggle a, #toc .toctoggle a {
}

.toctoggle a:hover, #toc .toctoggle a:hover {
}


#pagehistory li.selected {
    background-color: rgba(249, 249, 249, 0);
    border: 1px dashed #aaa;
}

div#mw-panel div.portal h3 {
    font-weight: bold;
}

.mw-body .firstHeading {
    overflow: visible;
    background: none;
    color: #111;
    padding: initial;
}

.mw-body h1 {
    font-size: 2.4em;
    font-weight: 600;
    text-align: center;
    margin-top: .25em;
    text-transform: uppercase;
    background: rgba(79, 121, 171,0.9);
    color: #f1f1f1;
    padding: 10px;
}

.mw-body h2 {
    font-size: 1.8em;
    margin-top: 1em;
    font-weight: 600;
    text-align: center;
    color: rgb(79,121,171);
    background: #f1f1f1;
    padding: 10px;
    border: 1px solid rgb(79,121,171);
}

.mw-body-content {
    line-height: 1.6;
    font-size: 1em;
}

.mw-body p {
    line-height: inherit;
    margin: 1.5em 0;
}