From 95d4e45ef0ce8e0078e5dbb63eaea05eece4bf8e Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Tue, 14 Feb 2023 22:12:04 +0000 Subject: [PATCH] Some more styling work --- src/_includes/page.njk | 6 ++++-- src/_includes/post.njk | 19 +++++++++++-------- src/blog/index.html | 2 +- src/css/globals.css | 1 + 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/_includes/page.njk b/src/_includes/page.njk index 6276a46..e5d545a 100644 --- a/src/_includes/page.njk +++ b/src/_includes/page.njk @@ -4,7 +4,9 @@ includeFA: true ---
-

{{ title }}

- {{ content | safe }} +

{{ title }}

+
+ {{ content | safe }} +
diff --git a/src/_includes/post.njk b/src/_includes/post.njk index 93953ee..51f1b06 100644 --- a/src/_includes/post.njk +++ b/src/_includes/post.njk @@ -1,12 +1,15 @@ --- layout: base.njk --- +
+ - - - - {% image metadata.author.avatar, "My face", "box circle", "150px", [150] %} - \ No newline at end of file +
+

About Lewis

+ + {% image metadata.author.avatar, "My face", "u-photo box circle", "150px", [150] %} +
+
\ No newline at end of file diff --git a/src/blog/index.html b/src/blog/index.html index 2eed6e3..b27cb96 100644 --- a/src/blog/index.html +++ b/src/blog/index.html @@ -6,7 +6,7 @@ pagination: size: 5 reverse: true --- -
+

Blog posts

    diff --git a/src/css/globals.css b/src/css/globals.css index bd32c67..7251043 100644 --- a/src/css/globals.css +++ b/src/css/globals.css @@ -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 {