diff options
author | Mark Powers <mark@marks.kitchen> | 2022-10-09 14:15:10 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2022-10-09 14:15:10 -0500 |
commit | c389bfda23e516d246d5772f05d755832fcf8464 (patch) | |
tree | d9a84beb51799015cacc22f59f13253aa4b6796a /themes/markskitchen/static/css | |
parent | 648a67b056df898bfdd10033ce782aa121910a7c (diff) |
Fix scaling on mobile
Diffstat (limited to 'themes/markskitchen/static/css')
-rw-r--r-- | themes/markskitchen/static/css/common.css | 20 |
1 files changed, 20 insertions, 0 deletions
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"; } |