MediaWiki:Common.css: Difference between revisions

From Renesas.info
No edit summary
No edit summary
 
(22 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-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: "Calibri"; }
/*** Hide the main page title ***/
/* body {  font-family: "Arial", sans-serif; } */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }


/* Hide the main page title */
/*** Fonts ***/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
// 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; */


#firstHeading{
/*** Link Colors ***/
font:bold 30px Georgia, serif;
/* 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 h2 {
.mw-body-content a.external { color: #3366BB; } /* external links */
    font:italic bold 12px/30px Georgia, serif;
.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 */


#content h1 { color: #5a7425; font-size: 12px; font-family: "Courier New"; }
//.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 */