styles for .article
body content; published: false
This commit is contained in:
parent
59c48965ea
commit
22fa36a2ab
3 changed files with 12 additions and 3 deletions
|
@ -24,12 +24,14 @@
|
||||||
<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>
|
||||||
|
<div class="article">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -21,3 +21,10 @@ body {
|
||||||
top: 2px;
|
top: 2px;
|
||||||
width: 12px;
|
width: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article {
|
||||||
|
h1, h2, h3, h4,
|
||||||
|
.highlight {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue