Some more styling work

This commit is contained in:
Lewis Dale 2023-02-14 22:12:04 +00:00
parent d0a681c927
commit 95d4e45ef0
4 changed files with 17 additions and 11 deletions

View File

@ -4,7 +4,9 @@ includeFA: true
---
<main class="wrapper-lg stack-lg">
<h1>{{ title }}</h1>
{{ content | safe }}
<h1 class="text-center">{{ title }}</h1>
<div class="wrapper-md stack-lg">
{{ content | safe }}
</div>
</main>

View File

@ -1,12 +1,15 @@
---
layout: base.njk
---
<main class="wrapper-md stack-lg">
<article class="stack-md">
<h1><a href="{{ post.url }}">{{ title }}</a></h1>
{{ content | safe }}
</article>
<article class="wrapper-lg stack-md">
<h1><a href="{{ post.url }}">{{ title }}</a></h1>
{{ content | safe }}
</article>
<div class="h-card">
<h2>About Lewis</h2>
<author class="wrapper-lg">
{% image metadata.author.avatar, "My face", "box circle", "150px", [150] %}
</author>
{% image metadata.author.avatar, "My face", "u-photo box circle", "150px", [150] %}
</div>
</main>

View File

@ -6,7 +6,7 @@ pagination:
size: 5
reverse: true
---
<main class="wrapper-lg stack-lg">
<main class="wrapper-md stack-lg">
<h1>Blog posts</h1>
<ol class="stack-xl">

View File

@ -20,6 +20,7 @@ h1 {
font-size: var(--text-size-xl);
word-wrap: normal;
text-underline-offset: var(--space-size-3xs);
text-align: center;
}
h2 {