summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-01-12 14:08:38 +0100
committerWynn Wolf Arbor2020-01-12 14:08:38 +0100
commit80f85ea59e4b45eedcc4820255c1cbd29e13874e (patch)
tree43fc054db647f08c805fc24308fdeb36886e1de5
parent1d36e7c6ac2828053d5c6a0e7cb4590baf9fb763 (diff)
downloadsite-80f85ea59e4b45eedcc4820255c1cbd29e13874e.tar.gz
css: Improve readability by increasing the line height
Add a bit more space to paragraphs, whilst contracting pre-formatted content (which mostly is code and uses a different font which does not need this kind of space).
-rw-r--r--scss/style.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/style.scss b/scss/style.scss
index f12c1d4..b7da8df 100644
--- a/scss/style.scss
+++ b/scss/style.scss
@@ -12,7 +12,7 @@ $canary-text: #191900;
body {
background-color: white;
color: black;
- line-height: 1.4;
+ line-height: 1.6;
margin: 0;
}
@@ -31,6 +31,7 @@ code {
pre {
background-color: $canary;
color: $canary-text;
+ line-height: 1.3;
overflow: auto;
padding: .7rem;
}