Difference between revisions of "MediaWiki:Common.css"

From RRe36's Project Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
img { max-width: 100%; height: auto; }
 
img { max-width: 100%; height: auto; }
 +
 +
@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@300;500&display=swap');
 +
 +
/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
 +
body {
 +
  font-family: "Livvic", sans-serif;
 +
  font-weight: 200;
 +
}
 +
 +
/* Changes the default font used for MediaWiki headings to Livvic: */
 +
#content h1,
 +
#content h2 {
 +
  font-family: "Livvic", sans-serif;
 +
  font-weight: 500;
 +
}

Revision as of 14:18, 13 April 2021

/* CSS placed here will be applied to all skins */
img { max-width: 100%; height: auto; }

@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@300;500&display=swap');

/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
body {
  font-family: "Livvic", sans-serif;
  font-weight: 200;
}

/* Changes the default font used for MediaWiki headings to Livvic: */
#content h1, 
#content h2 {
  font-family: "Livvic", sans-serif;
  font-weight: 500;
}