Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Rre36-admin (talk | contribs) |
Rre36-admin (talk | contribs) |
||
| 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: | + | 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: | + | 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;
}