From e2815b238c73d765c5d9492806e4fa88c47e1051 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 28 Apr 2019 19:33:39 -0400 Subject: Use Iosevka instead of Inconsolata --- css/jakob.css | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'css/jakob.css') diff --git a/css/jakob.css b/css/jakob.css index c6a7b4f..473747f 100644 --- a/css/jakob.css +++ b/css/jakob.css @@ -1,14 +1,28 @@ +/* Use smaller fonts and line-height on smaller screens. */ +@media (max-width: 54rem) { + body { + font-size: 14px; + line-height: 160%; + } +} + +@media (max-width: 26rem) { + body { + font-size: 12px; + line-height: 150%; + } +} + body { - color: #000; - background-color: #fbfbfb; - font-size: 24px; - font-family: 'Concrete Roman',serif; + color: #4D4D4D; + background-color: #eee; + font-family: 'Concrete Roman', serif; line-height: 140%; text-rendering: optimizeLegibility; } h1, h2, h3 { - font-family: 'Concrete Roman',sans; + font-family: 'Concrete Roman', sans; } h1 { @@ -39,7 +53,7 @@ a:visited { } pre { - font-family: "Inconsolata",monospace; + font-family: "Iosevka", monospace; line-height: 110%; min-width: 100%; padding: 1rem; @@ -50,7 +64,7 @@ pre { } code { - font-family: "Inconsolata",monospace; + font-family: "Iosevka", monospace; } blockquote { -- cgit v1.3