From 22fa36a2abc192b94fc7a1d38105b551bdd38936 Mon Sep 17 00:00:00 2001 From: Brandon Rosage Date: Mon, 4 Mar 2019 10:39:24 -0600 Subject: [PATCH] styles for `.article` body content; published: false --- _layouts/post.html | 4 +++- _posts/2019-01-29-hello-world.md | 4 ++-- assets/styles.scss | 7 +++++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 2f14fb2624..acda2f7c07 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -24,7 +24,9 @@

{{ page.title }}

{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home

{{ page.title }}

Published {{ page.date | date: "%b %d, %Y"}}

- {{ content }} +
+ {{ content }} +
diff --git a/_posts/2019-01-29-hello-world.md b/_posts/2019-01-29-hello-world.md index e2a4c93825..ff44314669 100644 --- a/_posts/2019-01-29-hello-world.md +++ b/_posts/2019-01-29-hello-world.md @@ -1,6 +1,6 @@ --- title: "Welcome to Jekyll!" -published: true +published: false --- **Hello world**, this is my first Jekyll blog post. @@ -72,4 +72,4 @@ body { one: Mark McGwire two: Sammy Sosa three: Ken Griffey -``` \ No newline at end of file +``` diff --git a/assets/styles.scss b/assets/styles.scss index edabe042af..a951e46234 100644 --- a/assets/styles.scss +++ b/assets/styles.scss @@ -21,3 +21,10 @@ body { top: 2px; width: 12px; } + +.article { + h1, h2, h3, h4, + .highlight { + margin-bottom: 16px; + } +}