Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
styles for .article body content; published: false
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrosage committed Mar 4, 2019
1 parent 59c4896 commit 22fa36a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 3 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ <h1 class="f00-light lh-condensed">{{ page.title }}</h1>
<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>
<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>
Expand Down
4 changes: 2 additions & 2 deletions _posts/2019-01-29-hello-world.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Welcome to Jekyll!"
published: true
published: false
---

**Hello world**, this is my first Jekyll blog post.
Expand Down Expand Up @@ -72,4 +72,4 @@ body {
one: Mark McGwire
two: Sammy Sosa
three: Ken Griffey
```
```
7 changes: 7 additions & 0 deletions assets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ body {
top: 2px;
width: 12px;
}

.article {
h1, h2, h3, h4,
.highlight {
margin-bottom: 16px;
}
}

0 comments on commit 22fa36a

Please sign in to comment.