nindwen.blue

my home page
git clone https://git.nindwen.blue/nindwen.blue.git
README | Files | Log | Refs

commit 127bc51b07a723cc80e4a2e431f58c12f54377b8
parent bdd698bf333ce16d08636bebd283beaba367671c
Author: nindwen <me@nindwen.blue>
Date:   Mon,  4 Jun 2018 23:46:35 +0300

better typography

Diffstat:
style/notes.scss | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/style/notes.scss b/style/notes.scss @@ -1,3 +1,4 @@ +//line-height: 24pt $faint: #bbb; $front: #333333; $back: #fefefe; @@ -7,7 +8,7 @@ body { } #content, header, footer { - max-width: 700px; + max-width: 33em; margin: auto; font-size: 16pt; font-family: Helvetica, Arial, sans-serif; @@ -53,10 +54,16 @@ footer { h1 { border-bottom: 1px solid $faint; font-size: 150%; + line-height: 1; + margin-top: 1em; + margin-bottom: 1em; } h2, h3, h4, h5 { font-size: 120%; + line-height: 1.25; + margin-top: 1.25em; + margin-bottom: 1.25em; } h1:before { @@ -114,3 +121,8 @@ ul { } } +p { + line-height: 1.5; + margin-top: 1.5em; + margin-bottom: 1.5em; +}