From 050821e714fa877c1e4f0b8fbb8308c2d62cef11 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 1 Jun 2018 09:42:43 +0100 Subject: [PATCH] Style support for (potential) code walkthrough pages --- style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 66ce127..e8bc281 100644 --- a/style.css +++ b/style.css @@ -82,7 +82,7 @@ h1, h2, h3, h4, h5, h6 { font-family: {{ page.headerfonts }}; } -h1, h2, h3 { +h1, h2, h3, h4 { margin-top: 1em; color: {{ page.headercolor }}; font-weight: normal; @@ -104,6 +104,13 @@ h3 { font-size: 1.4em; } +h4 { + font-size: 1.2em; +} +h4 + p { + margin-top: 0.5em; +} + p, ul, ol { margin-top: 1em; line-height: 1.3em; @@ -188,6 +195,10 @@ hr { margin-left: -3rem; } +.content h4 { + margin-left: -1rem; +} + .content .entry_footer { text-align: right; }