From 4de58b31dd41b43bdda8f2c252c17fb52b0e9d0f Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 11 Nov 2020 11:29:41 +0000 Subject: [PATCH] Remove web fonts; tweak typography --- layouts/partials/header.html | 3 +-- static/css/main.css | 18 +++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index afcc61c..1a13adb 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,8 +5,7 @@ {{ hugo.Generator }} - - + {{- template "_internal/opengraph.html" . -}} diff --git a/static/css/main.css b/static/css/main.css index d8ce0bc..577aba0 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -3,9 +3,9 @@ body { color: #000; width: 600px; margin: 120px auto; - font-family: "PT Serif", serif; - line-height: 1.0rem; - font-size: 1.3em; + font-family: Georgia, Times, "Times New Roman", serif; + line-height: 1.2rem; + font-size: 1.7em; -webkit-font-smoothing: antialiased; } @@ -29,7 +29,7 @@ a:visited { padding: 0; margin: 60px 0; border-radius: 10px; - line-height: 1.8rem; + line-height: 1.9rem; } #articles p { @@ -43,8 +43,10 @@ a:visited { } #articles h2 { + font-weight: normal; + font-size: 1.7rem; line-height: 2.5rem; - margin: 0 0 15px 0; + margin: 0 0 5px 0; } .postmeta, .listmeta { @@ -102,10 +104,11 @@ h1 { } article h1 { - font-size: 2.9rem; - line-height: 3.8rem; + font-size: 2.4rem; + line-height: 3.0rem; margin: 0 0 50px 0; color: #6b0000; + font-weight: 500; } article #description { @@ -150,6 +153,7 @@ sup { margin: 0; font-size: 3.5rem; line-height: 4.0rem; + font-weight: 500; color: #6b0000; font-variant-caps: petite-caps; }