MediaWiki:Vector.css: Difference between revisions
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 */ | ||
font- | /** | ||
* 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; | |||
} | } | ||
div# | /** | ||
* 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; | |||
} | } | ||
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;
}