MediaWiki:Common.css: Difference between revisions
Wiki admin (talk | contribs) No edit summary |
No edit summary |
||
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-nstab-main { display: none !important; } | ||
#ca-talk { display: none !important; } | #ca-talk { display: none !important; } | ||
Line 7: | Line 7: | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
/* Hide the main page title */ | /*** Hide the main page title ***/ | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | 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"; | // renesas.com fonts: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; | ||
// element { font-family: "Calibri"; } | // element { font-family: "Calibri"; } | ||
// body { font-family: "Arial", sans-serif; } | // body { font-family: "Arial", sans-serif; } | ||
element { font-family: font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","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"; } | 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: "Lucida Bright"; } | ||
#content h1 { color: #282A9D; font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif"; } | #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 { color: #282A9D; font-family: "Lucida Bright"; } | ||
//#content h2 { font-family: "Lucida Bright"; } | //#content h2 { font-family: "Lucida Bright"; } | ||
Line 26: | Line 23: | ||
/* font-size: 12px; */ | /* 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:link:visited { color: #0645AD; } /* visited links */ | |||
//.mw-body-content a:link:active { color: #FF0000; } /* active links */ | |||
//.mw-body-content a:link.new { color: #FF0000; } /* new links */ | |||
//.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */ | |||
//.mw-body-content a:link.external { color: #3366BB; } /* external links */ | |||
//.mw-body-content a:link.stub { color: #772233; } /* hovered links */ | |||
//.mw-body-content a:link {color: #FF0000} | |||
//.mw-body-content a:visited {color: #00FF00} | |||
//.mw-body-content a:hover {color: #FF00FF} | |||
//.mw-body-content a:active {color: #0000FF} |
Revision as of 16:32, 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:link:visited { color: #0645AD; } /* visited links */ //.mw-body-content a:link:active { color: #FF0000; } /* active links */ //.mw-body-content a:link.new { color: #FF0000; } /* new links */ //.mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */ //.mw-body-content a:link.external { color: #3366BB; } /* external links */ //.mw-body-content a:link.stub { color: #772233; } /* hovered links */ //.mw-body-content a:link {color: #FF0000} //.mw-body-content a:visited {color: #00FF00} //.mw-body-content a:hover {color: #FF00FF} //.mw-body-content a:active {color: #0000FF}