From e9b53b36b4947dd244140b9410dc06a1e6b599c2 Mon Sep 17 00:00:00 2001 From: necolas Date: Wed, 1 Jun 2011 19:29:39 +0100 Subject: [PATCH] Add padding to aid readability with narrow viewports. Other minor edits --- style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index 4fa5aeb..4a0d233 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,5 @@ html { + font-size: 100%; overflow-y: scroll; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; @@ -7,7 +8,7 @@ html { body { max-width: 480px; - padding: 0 0 40px; + padding: 0 10px; margin: 0 auto; font: 1em/1.4 Calibri, sans-serif; color: #222; @@ -49,7 +50,7 @@ pre { display: block; padding: 5px; margin: 1em 0; - font-family: consolas, monospace, monospace; + font-family: consolas, monospace; font-size: 1em; color: #fff; background: #222; @@ -69,7 +70,7 @@ li { } h1 { - margin: 0.5em 0; + margin: 0.25em 0 0.5em; font-size: 3.5em; } @@ -145,7 +146,7 @@ p { } .footer { - padding: 10px 0 0; + padding: 10px 0; border-top: 1px solid #ccc; margin: 3em 0 0; font-size: 0.8125em;