MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
(Updates for MediaWiki v1.21) |
(Updated mw-body font) |
||
Line 1: | Line 1: | ||
/* Change default content text */ | /* Change default content text */ | ||
html, | html, body, mw-body { | ||
body { | |||
font-family: Verdana, sans-serif; | font-family: Verdana, sans-serif; | ||
} | } |
Revision as of 08:57, 26 September 2016
/* Change default content text */
html, body, mw-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;
}
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;
}