Some more styling work

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

No files matched your search

+4 -2
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>
+11 -8
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>
<author class="wrapper-lg">
{% image metadata.author.avatar, "My face", "box circle", "150px", [150] %}
</author>
<div class="h-card">
<h2>About Lewis</h2>
{% image metadata.author.avatar, "My face", "u-photo box circle", "150px", [150] %}
</div>
</main>
+1 -1
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">
+1
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 {