Increase margin after chapter introduction

This commit is contained in:
Philipp Oppermann
2021-01-03 15:16:07 +01:00
parent 72e4851bc7
commit 8fbdf53598
2 changed files with 7 additions and 1 deletions

View File

@@ -1027,3 +1027,7 @@ a strong {
transition: 200ms ease-out;
opacity: 1;
}
.chapter-introduction {
margin-bottom: 1.5rem;
}

View File

@@ -44,7 +44,9 @@
<div class="posts {{chapter_slug}}">
{% set chapter_page = get_page(path = "edition-3/chapters/" ~ chapter_slug ~ ".md" ) %}
<h2>{{ chapter_page.title }}</h2>
{{ chapter_page.content | safe }}
<div class="chapter-introduction">
{{ chapter_page.content | safe }}
</div>
<ul>
{%- endif -%}