MediaWiki:Vector.css: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(remove customizations now part of sandstone extension (bug 1077182))
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */
body {
 
     font-family: "Open Sans",X-LocaleSpecific,sans-serif;
/**
     color: #333;
* Improve text readability.
     background: url('http://mozilla.org/media/img/sandstone/bg-gradient-sand.png') repeat-x scroll 0% 0%, url('http://mozilla.org/media/img/sandstone/bg-sand.png') repeat scroll 0% 0%, none repeat scroll 0% 0% #F5F1E8;}
*/
#mw-page-base {
div#bodyContent {
     background-color: none;
     font-size: 0.9em;
}
h1#firstHeading,
div#bodyContent h1,
div#bodyContent h2 {
    font-weight: normal;
}
div#bodyContent h3,
div#bodyContent h4,
div#bodyContent h5,
div#bodyContent h6 {
    font-weight: bold;
}
h1#firstHeading,
div#bodyContent h1 {
     font-size: 200%;
     margin-top: 1em;
}
div#bodyContent h2 {
    font-size: 150%;
}
div#bodyContent h3 {
    font-size: 140%;
}
div#bodyContent h4 {
    font-size: 130%;
}
div#bodyContent h5 {
    font-size: 120%;
}
div#bodyContent h6 {
     font-size: 110%;
}
}
#mw-page-base {
div#bodyContent table.toc h2,
     background: none;
div#bodyContent table#toc h2 {
    font-size: 100%;
     font-weight: bold;
}
}


div#mw-head {
/**
     background-color: none;
* Special styling for the Main Page.
*/
body.page-Main_Page div#content h1,
body.page-Main_Page div#content h2,
body.page-Main_Page div#content h3,
body.page-Main_Page div#content h4,
body.page-Main_Page div#content h5,
body.page-Main_Page div#content h6 {
     margin: inherit;
    font-weight: bolder;
}
}
div#mw-panel div.portal div.body ul li a { color: #0095DD }
div#mw-panel div.portal div.body ul li a:hover, div#mw-panel div.portal div.body ul li a:visited { color: #00539F }
a, a.external, a.free { color: rgb(0,150,221); }
a:hover, a:visited, a.external:visited, a.free:visited { color: rgb(0,83,159); }
a.new, a.new:hover {color: rgb(175,50,50);}

Latest revision as of 16:03, 16 October 2014

/* CSS placed here will affect users of the Vector skin */

/**
 * Improve text readability.
 */
div#bodyContent {
    font-size: 0.9em;
}
h1#firstHeading,
div#bodyContent h1,
div#bodyContent h2 {
    font-weight: normal;
}
div#bodyContent h3,
div#bodyContent h4,
div#bodyContent h5,
div#bodyContent h6 {
    font-weight: bold;
}
h1#firstHeading,
div#bodyContent h1 {
    font-size: 200%;
    margin-top: 1em;
}
div#bodyContent h2 {
    font-size: 150%;
}
div#bodyContent h3 {
    font-size: 140%;
}
div#bodyContent h4 {
    font-size: 130%;
}
div#bodyContent h5 {
    font-size: 120%;
}
div#bodyContent h6 {
    font-size: 110%;
}
div#bodyContent table.toc h2,
div#bodyContent table#toc h2 {
    font-size: 100%;
    font-weight: bold;
}

/**
 * Special styling for the Main Page.
 */
body.page-Main_Page div#content h1,
body.page-Main_Page div#content h2,
body.page-Main_Page div#content h3,
body.page-Main_Page div#content h4,
body.page-Main_Page div#content h5,
body.page-Main_Page div#content h6 {
    margin: inherit;
    font-weight: bolder;
}