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"> <main class="wrapper-lg stack-lg">
<h1>{{ title }}</h1> <h1 class="text-center">{{ title }}</h1>
{{ content | safe }} <div class="wrapper-md stack-lg">
{{ content | safe }}
</div>
</main> </main>

View File

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

View File

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

View File

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