Move top margin onto a wrapper div

This commit is contained in:
Oliver Davies 2021-06-30 08:00:00 +01:00
parent d560d48f68
commit f0ca1d4d79
3 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,8 @@
<div>
<h1 class="text-xl font-bold md:text-2xl">{{ page.title }}</h1>
{{ parent() }}
<div class="mt-4">
{{ parent() }}
</div>
</div>
{% endblock %}

View file

@ -4,7 +4,7 @@ use:
- posts
---
<p class="mt-4 md:text-xl">I enjoy writing articles and have written a number of them so far during my career, both to document my own learning as well to act as resources for others.</p>
<p>I enjoy writing articles and have written a number of them so far during my career, both to document my own learning as well to act as resources for others.</p>
<div class="mt-6">
<div class="space-y-6">

View file

@ -4,7 +4,7 @@ use:
- talks
---
<p class="mt-4">After giving my first talk in September 2012, I have now given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
<p>After giving my first talk in September 2012, I have now given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
<div class="mt-6">
<div class="space-y-6">