Some more styling work
This commit is contained in:
parent
d0a681c927
commit
95d4e45ef0
@ -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>
|
||||
|
||||
|
@ -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>
|
@ -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">
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user