diff options
| author | Jakob L. Kreuze | 2019-04-28 19:33:39 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-04-28 19:33:39 -0400 |
| commit | e2815b238c73d765c5d9492806e4fa88c47e1051 (patch) | |
| tree | 2a39d7d3985a577cb1d20598095d373118760412 /css/jakob.css | |
| parent | 936509a4a5be6032a06323b6dd8994cf4e62aa6b (diff) | |
Use Iosevka instead of Inconsolata
Diffstat (limited to 'css/jakob.css')
| -rw-r--r-- | css/jakob.css | 28 |
1 files changed, 21 insertions, 7 deletions
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 { |