From c389bfda23e516d246d5772f05d755832fcf8464 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 9 Oct 2022 14:15:10 -0500 Subject: Fix scaling on mobile --- themes/markskitchen/static/css/common.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'themes/markskitchen/static/css') diff --git a/themes/markskitchen/static/css/common.css b/themes/markskitchen/static/css/common.css index b52a0d7..0a248e5 100644 --- a/themes/markskitchen/static/css/common.css +++ b/themes/markskitchen/static/css/common.css @@ -1,3 +1,11 @@ +html { + max-width: 70ch; + padding: 3em 1em; + margin: auto; + line-height: 1.75; + font-size: 1.25em; +} + #main > .post + .post { margin-top: 2rem; } @@ -97,6 +105,12 @@ body { } } +@media screen and (max-width: 512px) { + .item-date { + display: none; + } +} + #header > nav { display: flex; flex-direction: row; @@ -104,6 +118,7 @@ body { flex-wrap: wrap; max-width: 768px; width: 100%; + margin: 1rem; } #header > nav > span > a { @@ -258,11 +273,16 @@ footer { dl > dt { font-weight: bold; } + dd { padding-left: 2em; padding-bottom: 1em; } +li { + margin-bottom: 0.5rem; +} + .email::after { content: "@marks.kitchen"; } -- cgit v1.2.3