From 0cb64d0ca3746734fce8b431b3f520c27d81fd7e Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 25 Mar 2020 23:29:25 -0700 Subject: [PATCH] Replace html padding with body margin, reduce min width. This looks better on my phone which was starting off in a slightly zoomed in state. --- voussoir.net/writing/css/dark.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/voussoir.net/writing/css/dark.css b/voussoir.net/writing/css/dark.css index 55c5845..26a974e 100644 --- a/voussoir.net/writing/css/dark.css +++ b/voussoir.net/writing/css/dark.css @@ -42,8 +42,6 @@ html height: 100vh; box-sizing: border-box; - padding-top: 30px; - padding-bottom: 30px; background-color: var(--color_htmlbg); color: var(--color_maintext); @@ -64,12 +62,14 @@ a body { - width: 80%; - min-width: 30em; + width: 90%; + min-width: 10em; max-width: 70em; - margin: auto; + margin-left: auto; + margin-right: auto; + margin-top: 64px; + margin-bottom: 64px; padding: 16px; - padding-bottom: 64px; box-shadow: #000 0px 0px 40px -10px; background-color: var(--color_bodybg); }