MediaWiki:Common.css: Difference between revisions
Wiki admin (talk | contribs) No edit summary |
No edit summary |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* https://www.mediawiki.org/wiki/Manual:Remove_Tabs */ | /*** https://www.mediawiki.org/wiki/Manual:Remove_Tabs ***/ | ||
#ca-nstab-main { display: none !important; } | |||
#ca-talk { display: none !important; } | #ca-talk { display: none !important; } | ||
#ca-history { display: none !important;} | //#ca-history { display: none !important;} | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
element { font-family: " | /*** Hide the main page title ***/ | ||
element { font-family: " | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
/*** Fonts ***/ | |||
// renesas.com fonts: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; | |||
// element { font-family: "Calibri"; } | |||
// body { font-family: "Arial", sans-serif; } | |||
element { font-family: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } | |||
body { font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } | |||
//#content h1 { color: #282A9D; font-family: "Lucida Bright"; } | |||
#content h1 { color: #282A9D; font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } | |||
//#content h2 { color: #282A9D; font-family: "Lucida Bright"; } | |||
//#content h2 { font-family: "Lucida Bright"; } | |||
#content h2 { font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } | |||
/* font-size: 12px; */ | |||
/*** Link Colors ***/ | |||
/* https://en.wikipedia.org/wiki/Help:Link_color */ | |||
.mw-body-content a:link { color: #0645AD; } /* normal unvisited links */ | |||
.mw-body-content a:visited {color: #0645AD; } | |||
.mw-body-content a:hover {color: #0000FF; text-decoration: underline; } /* a:hover must come after a:link and a:visited */ | |||
.mw-body-content a.external { color: #3366BB; } /* external links */ | |||
.mw-body-content a.external:visited { color: #3366BB; } | |||
.mw-body-content a.external:hover {color: #0000FF; text-decoration: underline; } /* a:hover must come after a:link and a:visited */ | |||
//.mw-body-content a:link.stub { color: #772233; } /* hovered links */ | |||
//.mw-body-content a:active {color: #0000FF} /* a:active must come after a:hover */ |
Latest revision as of 17:16, 15 January 2023
/* CSS placed here will be applied to all skins */ /*** https://www.mediawiki.org/wiki/Manual:Remove_Tabs ***/ #ca-nstab-main { display: none !important; } #ca-talk { display: none !important; } //#ca-history { display: none !important;} #ca-viewsource { display: none !important; } /*** Hide the main page title ***/ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } /*** Fonts ***/ // renesas.com fonts: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; // element { font-family: "Calibri"; } // body { font-family: "Arial", sans-serif; } element { font-family: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } body { font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } //#content h1 { color: #282A9D; font-family: "Lucida Bright"; } #content h1 { color: #282A9D; font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } //#content h2 { color: #282A9D; font-family: "Lucida Bright"; } //#content h2 { font-family: "Lucida Bright"; } #content h2 { font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } /* font-size: 12px; */ /*** Link Colors ***/ /* https://en.wikipedia.org/wiki/Help:Link_color */ .mw-body-content a:link { color: #0645AD; } /* normal unvisited links */ .mw-body-content a:visited {color: #0645AD; } .mw-body-content a:hover {color: #0000FF; text-decoration: underline; } /* a:hover must come after a:link and a:visited */ .mw-body-content a.external { color: #3366BB; } /* external links */ .mw-body-content a.external:visited { color: #3366BB; } .mw-body-content a.external:hover {color: #0000FF; text-decoration: underline; } /* a:hover must come after a:link and a:visited */ //.mw-body-content a:link.stub { color: #772233; } /* hovered links */ //.mw-body-content a:active {color: #0000FF} /* a:active must come after a:hover */