From 0424427116ca95d18adf65be1186f8ff4b7c0bc0 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 12 Feb 2017 14:53:48 +0100 Subject: [PATCH] Improve readability of articles --- _sass/base/_reset.scss | 2 +- _sass/components/_article.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/_sass/base/_reset.scss b/_sass/base/_reset.scss index f6837c5..6569fce 100755 --- a/_sass/base/_reset.scss +++ b/_sass/base/_reset.scss @@ -114,7 +114,7 @@ hr { /* Code Blocks */ -pre { overflow: auto; } +pre { overflow: auto; white-space: pre-wrap; } code, pre { diff --git a/_sass/components/_article.scss b/_sass/components/_article.scss index d300be0..aae91ca 100755 --- a/_sass/components/_article.scss +++ b/_sass/components/_article.scss @@ -37,4 +37,12 @@ padding: 2.5rem; background: $c__light-grey; } + + h1 { + margin-left: -2rem; + } + + ul { + margin-left: 2.5rem; + } }