Difference between revisions of "MediaWiki:Common.css"

From Wiki
m
(igus branding)
 
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins  */
 
/* CSS placed here will be applied to all skins  */
 
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
 
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
 +
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
  
 
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
 
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
Line 6: Line 7:
 
/*  font-family: "Apex New Book", sans-serif;*/
 
/*  font-family: "Apex New Book", sans-serif;*/
 
/*}*/
 
/*}*/
 +
 +
body {
 +
  font-family: "Roboto", sans-serif;
 +
}
  
 
/* Changes the default font used for MediaWiki headings to Apex New Book Serif: */
 
/* Changes the default font used for MediaWiki headings to Apex New Book Serif: */
Line 22: Line 27:
 
}
 
}
  
/* bar under the header (under the search bar) */
+
/* bar under the header (above the content, under the search bar) */
 
.color-middle {
 
.color-middle {
 +
  background: #f07d00;
 +
}
 +
 +
/* bar under the header (above the left side bar) */
 +
.color-left {
 +
  background: #f07d00;
 +
}
 +
 +
/* bar under the header (above the right side bar) */
 +
.color-right {
 
   background: #f07d00;
 
   background: #f07d00;
 
}
 
}
Line 30: Line 45:
 
#mw-content-container {
 
#mw-content-container {
 
   border-bottom: solid 4px #f07d00;
 
   border-bottom: solid 4px #f07d00;
 +
}
 +
 +
/* background of side bars */
 +
#mw-content-container {
 +
  background-image: unset;
 +
  background: #ececec;
 +
}
 +
 +
/* line under selected tab (e.g. "Main page") */
 +
.tools-inline li.selected {
 +
  border-bottom-color: #f07d00;
 
}
 
}

Latest revision as of 15:18, 14 August 2023

/* CSS placed here will be applied to all skins  */
@import url( 'https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif ');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
/*body {*/
/*  font-family: "Apex New Book", sans-serif;*/
/*}*/

body {
  font-family: "Roboto", sans-serif;
}

/* Changes the default font used for MediaWiki headings to Apex New Book Serif: */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
  font-family: "Apex New Book", serif;
}

/* CPR/igus theme */
/* bar under the first heading */
.mw-body h1.firstHeading {
  border-bottom: solid 4px #f07d00;
}

/* bar under the header (above the content, under the search bar) */
.color-middle {
  background: #f07d00;
}

/* bar under the header (above the left side bar) */
.color-left {
  background: #f07d00;
}

/* bar under the header (above the right side bar) */
.color-right {
  background: #f07d00;
}

/* bar under above the footer */
#mw-content-container {
  border-bottom: solid 4px #f07d00;
}

/* background of side bars */
#mw-content-container {
  background-image: unset;
  background: #ececec;
}

/* line under selected tab (e.g. "Main page") */
.tools-inline li.selected {
  border-bottom-color: #f07d00;
}