MediaWiki:Vector.css

From vwiki
Revision as of 09:55, 26 September 2016 by Sstrutt (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, 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: Press Ctrl-F5.
/* Change default content text */
html, body {
        font-family: Verdana, sans-serif;
}
 
/* Change default code etc text */
pre, code, tt, kbd, samp {
        /*
         * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
         * too small otherwise, namely Firefox, Chrome and Safari
         */
        font-family: monospace, "Courier New";
}

/* Increase space before section headings  */
h1, h2 {
        padding-top: 1.2em;
        font-family: Verdana, sans-serif;
}

h3, h4, h5, h6 {
        padding-top: .8em;

}


/* Improve contrast between h4 and h3  */
h4 { 
       font-size: 110%;                /* 116% in skin */
       font-style: italic; 
}

/* Increase space around paragraphs */
p {
        margin: .6em 0 .7em 0;
}

 
/* Move SideBar up (reduce size that would be taken by logo) */
div#mw-panel { top: 40px; }
/* #p-logo,
#p-logo a,
#p-logo a:hover {
   height: 20px;
} */
 
/* Remove "Main Page" text from front page */
body.page-Main_Page h1.firstHeading { display:none; }
 
/* Change sidebar font colours */
div#mw-panel div.portal div.body ul li a {
    color: #274515;
}
div#mw-panel.collapsible-nav .portal.collapsed a {
    color: #274515;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #313C1A;
}

/* Make SideBar larger to accommodate wider ads */
div#content {
    margin-left: 13em;
}

#left-navigation {
    left: 13em;
}

div#footer {
    margin-left: 13em;
}

div#mw-panel {
    width: 13em;
}

/* Change head font colour */
div.vectorTabs li a {
    color: #274515;
}
 
/* Change ToC font colour */
#preftoc a:active {
    color: #274515;
}
 
/* Change links font colour */
a {
    color: #36601D;
}
a:visited {
    color: #274515;
}

div#content a.external {
        color: #36601D;
}
div#content a.external:visited {
        color: #274515; 
}

p.a {
    color: #274515;
    white-space: nowrap;
    border-bottom: solid;
    border-color: #DDEDDD;
    border-width: 1px;
}
p.a:visited {
    color: #274515;
    white-space: nowrap;
    border-bottom: solid;
    border-color: #FAFFFA;
    border-width: 1px;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #313C1A;
}
div#content a.external {
    color: #4F602A;
}

/* Change PRE box border colour */
pre {
    border: 1px dashed #A6CC52;
}