From eaba024c3aa4d2c6fbe35888ef1c0687de115887 Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Wed, 27 Sep 2017 19:46:16 +0200 Subject: [PATCH] Style tweaks --- assets/style.css | 39 +++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/assets/style.css b/assets/style.css index c2be200..572a920 100644 --- a/assets/style.css +++ b/assets/style.css @@ -22,26 +22,49 @@ h1 { line-height: 54px; } -h2 { +h2, h3 { font-family: inherit; - font-weight: bold; - font-style: normal; font-size: 18px; line-height: 32px; margin-top: 32px; margin-bottom: 0; } +h2 { + font-weight: bold; + font-style: normal; +} + +h3 { + font-weight: normal; + font-style: italic; +} + +ul, ol { + padding-left: 24px; +} + +h2+*, h3+* { + margin-top: 0; +} + +hr { + border: none; + border-top: 1px solid black; + width: 70%; + margin: 20px auto; +} + header, article { box-sizing: border-box; max-width: 612px; width: 100%; - padding-left: 6px; - padding-right: 6px; + padding-left: 8px; + padding-right: 8px; } header { - margin: 60px auto 0 auto; + margin: 0 auto 0 auto; } article { @@ -204,6 +227,10 @@ h1>input { } @media (min-width: 600px) { + header { + margin-top: 60px; + } + .editor-controls { position: fixed; left: auto;