use garamond for article content

This commit is contained in:
scoliono 2020-08-29 10:03:56 -07:00
parent 5acb57e0cd
commit b629ccf003
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,11 @@
so we have to use the :global(...) modifier to target
all elements inside .content
*/
:global(.article-content) {
font-size: 18px;
font-family: 'EB Garamond';
}
.content :global(h2) {
font-size: 1.4em;
font-weight: 500;

View File

@ -9,6 +9,7 @@
%sapper.base%
<link rel='stylesheet' href='global.css'>
<link rel='icon' type='image/png' href='favicon.png'>
<link href='https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap' rel='stylesheet'>
%sapper.styles%
%sapper.head%
<!-- Global site tag (gtag.js) - Google Analytics -->