diff options
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 { |