MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
(Release update) |
(Updated for release) |
||
Line 1: | Line 1: | ||
/* | /* 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"; | |||
} | |||
/* Move SideBar up (reduce size that would be taken by logo) */ | /* Move SideBar up (reduce size that would be taken by logo) */ | ||
div#mw-panel { top: 40px; } | div#mw-panel { top: 40px; } | ||
/* #p-logo, | |||
#p-logo a, | |||
#p-logo a:hover { | |||
height: 20px; | |||
} */ | |||
/* Remove "Main Page" text from front page */ | /* Remove "Main Page" text from front page */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | 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 div.portal div.body ul li a:visited { | |||
color: #313C1A; | |||
} | |||
/* 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: #274515; | |||
} | |||
a:visited { | |||
color: #313C1A; | |||
} | |||
div#mw-panel div.portal div.body ul li a:visited { | |||
color: #313C1A; | |||
} | |||
div#content a.external { | |||
color: #4F602A; | |||
} |
Revision as of 14:11, 21 February 2012
/* 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";
}
/* 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 div.portal div.body ul li a:visited {
color: #313C1A;
}
/* 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: #274515;
}
a:visited {
color: #313C1A;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #313C1A;
}
div#content a.external {
color: #4F602A;
}