Difference between revisions of "MediaWiki:Vector.css"

From Sim Settlements
Jump to: navigation, search
Line 92: Line 92:
 
     text-align: center;
 
     text-align: center;
 
     color: rgb(79,121,171);
 
     color: rgb(79,121,171);
 +
    background: #f2f2f2;
 
}
 
}
  

Revision as of 17:28, 29 December 2017

/* 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: #f2f2f2;
}

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