MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* General typeface. */ | ||
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=IM+Fell+Great+Primer:ital@0;1&display=swap'); | |||
/* | /* Load IM Fell Great Primer for poems */ | ||
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+Great+Primer:ital@0;1&display=swap'); | |||
@import url('https://fonts.googleapis.com/css2?family= | |||
/* | /* Global typography */ | ||
body, | |||
.mw-body, | |||
.mw-parser-output { | |||
font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; | |||
font-weight: 400; | |||
font-size: 1rem; | |||
line-height: 1.6; | |||
color: #222; | |||
} | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; | |||
font-weight: 700; | |||
letter-spacing: -0.01em; | |||
} | |||
/* Poem styling */ | /* Poem styling */ | ||
| Line 28: | Line 40: | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
} | } | ||
| Line 53: | Line 58: | ||
/* Covers some headers */ | /* Covers some headers */ | ||
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5 { | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5 { | ||
font-family: " | font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
font-weight: 300; | font-weight: 300; | ||
} | } | ||
.firstHeading h1 { | .firstHeading h1 { | ||
font-family: " | font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
font-size: 2.6em; | font-size: 2.6em; | ||
font-weight: 300; | font-weight: 300; | ||