Difference between revisions of "MediaWiki:Common.css"

From RRe36's Project Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
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');
+
@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@300;400;500;600&display=swap');
  
 
/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
 
/* Changes the default font used for MediaWiki to Livvic (does not include headings or monospaced text): */
 
body {
 
body {
 
   font-family: "Livvic", sans-serif;
 
   font-family: "Livvic", sans-serif;
   font-weight: 200;
+
   font-weight: 300;
 
}
 
}
  
 
/* Changes the default font used for MediaWiki headings to Livvic: */
 
/* Changes the default font used for MediaWiki headings to Livvic: */
 
#content h1,  
 
#content h1,  
#content h2 {
+
#content h2
 +
#content h3
 +
#content h4
 +
#content h5 {
 
   font-family: "Livvic", sans-serif;
 
   font-family: "Livvic", sans-serif;
   font-weight: 500;
+
   font-weight: 600;
 
}
 
}

Revision as of 14:19, 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;400;500;600&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: 300;
}

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