MediaWiki:Common.css: Difference between revisions

From Renesas.info
No edit summary
No edit summary
 
(31 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 ***/
#ca-nstab-main { display: none !important; }
#ca-talk { display: none !important; }
//#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }


/* https://www.mediawiki.org/wiki/Manual:Remove_Tabs */
/*** Hide the main page title ***/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }


#ca-talk { display: none !important; }
/*** Fonts ***/
#ca-history { display: none !important;}
// renesas.com fonts:  font-family: "Open Sans",Helvetica,Arial,"Lucida Grande","Nimbus Sans L","sans-serif";
#ca-viewsource { display: none !important; }
// 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; */


@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
/*** 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 */


/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
.mw-body-content a.external { color: #3366BB; } /* external links */
body {
.mw-body-content a.external:visited { color: #3366BB; }
  font-family: "Noto Sans", sans-serif;
.mw-body-content a.external:hover {color: #0000FF; text-decoration: underline; } /* a:hover must come after a:link and a:visited */
}


/* Changes the default font used for MediaWiki headings to Noto Serif: */
//.mw-body-content a:link.stub { color: #772233; } /* hovered links */
#content h1,
//.mw-body-content a:active {color: #0000FF} /* a:active must come after a:hover */
#content h2 {
  font-family: "Noto Serif", serif;
}

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 */