MediaWiki:Common.css: Difference between revisions

Change the font
No edit summary
(Change the font)
Line 4: Line 4:
  */
  */


/* Regular */
@font-face {
@font-face {
   font-family: "Baloo2";
   font-family: "Baloo2";
   src: url("/resources/fonts/Baloo2-Regular.ttf") format("truetype");
   src: url(/wikiw/resources/fonts/Baloo2-Regular.ttf) format("truetype");
   font-weight: 400;
   font-weight: 500;
   font-style: normal;
   font-style: normal;
   font-display: swap;
   font-display: swap
}
}


/* Medium */
@font-face {
@font-face {
   font-family: "Baloo2";
   font-family: "Baloo2";
   src: url("/resources/fonts/Baloo2-Medium.ttf") format("truetype");
   src: url(/wikiw/resources/fonts/Baloo2-Medium.ttf) format("truetype");
   font-weight: 500;
   font-weight: 500;
   font-style: normal;
   font-style: normal;
   font-display: swap;
   font-display: swap
}
}


/* Bold */
@font-face {
@font-face {
   font-family: "Baloo2";
   font-family: "Baloo2";
   src: url("/resources/fonts/Baloo2-Bold.ttf") format("truetype");
   src: url(/wikiw/resources/fonts/Baloo2-Bold.ttf) format("truetype");
   font-weight: 700;
   font-weight: 700;
   font-style: normal;
   font-style: normal;
   font-display: swap;
   font-display: swap
}
 
html,body, .mw-body {
  font-family: "Baloo2", sans-serif;
  font-size: 19px;
}
}


html, body {
.mw-body h1, .mw-body h2 {
   font-family: "Baloo2", sans-serif;
   font-family: "Baloo2", sans-serif;
}
}