styles for .article body content; published: false

This commit is contained in:
Brandon Rosage 2019-03-04 10:39:24 -06:00
parent 59c48965ea
commit 22fa36a2ab
3 changed files with 12 additions and 3 deletions

View file

@ -24,7 +24,9 @@
<p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p> <p class="f5"><a href="/" class="d-flex flex-items-center {% if site.style == 'dark' %}text-white{% endif %}">{% octicon chevron-left height:16 class:"mr-2 v-align-middle" fill:{{ icon_color }} aria-label:Home %}Home</a></p>
<h1 class="f00-light lh-condensed">{{ page.title }}</h1> <h1 class="f00-light lh-condensed">{{ page.title }}</h1>
<p class="{% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %} mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p> <p class="{% if site.style == 'dark' %}text-white{% else %}text-gray{% endif %} mb-5">Published {{ page.date | date: "%b %d, %Y"}}</p>
{{ content }} <div class="article">
{{ content }}
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
--- ---
title: "Welcome to Jekyll!" title: "Welcome to Jekyll!"
published: true published: false
--- ---
**Hello world**, this is my first Jekyll blog post. **Hello world**, this is my first Jekyll blog post.
@ -72,4 +72,4 @@ body {
one: Mark McGwire one: Mark McGwire
two: Sammy Sosa two: Sammy Sosa
three: Ken Griffey three: Ken Griffey
``` ```

View file

@ -21,3 +21,10 @@ body {
top: 2px; top: 2px;
width: 12px; width: 12px;
} }
.article {
h1, h2, h3, h4,
.highlight {
margin-bottom: 16px;
}
}