MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
@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=IM+Fell+Great+Primer:ital@0;1&display=swap'); | ||
/* | /* Poem styling */ | ||
div.poem, pre.poem { | div.poem, | ||
pre.poem { | |||
font-family: "IM Fell Great Primer", Georgia, "Times New Roman", serif; | font-family: "IM Fell Great Primer", Georgia, "Times New Roman", serif; | ||
font-size: 1. | font-size: 1.35rem; /* slightly larger than default for readability */ | ||
line-height: 1. | line-height: 1.6; /* add breathing room */ | ||
letter-spacing: 0.015em; /* improves flow of this rugged face */ | |||
-webkit-font-smoothing: antialiased; | -webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | -moz-osx-font-smoothing: grayscale; | ||
margin: 1.25em 0; | |||
color: #222; | |||
} | |||
/* Optional: center poems for visual isolation */ | |||
div.poem { | |||
max-width: 40em; | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||