From d7b7c053de75772365fa56acb32c9ebd7945ce9f Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 20 Jul 2018 18:23:22 +0100 Subject: [PATCH] Improve CSS for readability --- _sass/_code.scss | 2 +- _sass/_main.scss | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/_sass/_code.scss b/_sass/_code.scss index f023237..236c864 100644 --- a/_sass/_code.scss +++ b/_sass/_code.scss @@ -1,6 +1,6 @@ code { display: inline-block; - padding: 3px; + padding: 0 0.25em; margin: 2px; background: #f9f9f9; border: 1px solid #e0e0e0; diff --git a/_sass/_main.scss b/_sass/_main.scss index 517f180..f544109 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -4,7 +4,7 @@ html, body { padding: 0; font-size: 17px; background: #333; - color: black; + color: #222; } #container { @@ -74,6 +74,13 @@ main { article { background: white; padding: 0 20px 20px 20px; + line-height: 1.4; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased !important; + -moz-font-smoothing: antialiased !important; + text-rendering: optimizeLegibility !important; + letter-spacing: .01em; + // text-align: justify; } footer {