diff --git a/src/_includes/layouts/post-layout.njk b/src/_includes/layouts/post-layout.njk index f035e2d..630de99 100644 --- a/src/_includes/layouts/post-layout.njk +++ b/src/_includes/layouts/post-layout.njk @@ -2,8 +2,8 @@ layout: layouts/layout.njk --- -
-
+ -
+
+ +
@@ -26,7 +27,7 @@ layout: layouts/layout.njk
{{ tag }}
{% endif %} {% endfor %} - -
+ + {{ content | safe }} diff --git a/src/_includes/posts-list.njk b/src/_includes/posts-list.njk index 0af3bf7..4688aa4 100644 --- a/src/_includes/posts-list.njk +++ b/src/_includes/posts-list.njk @@ -2,8 +2,8 @@ {% for post in postsList | filterDrafts | reverse %}

{{ post.data.title }}

-
-
+ +
@@ -26,8 +27,8 @@
{{ tag }}
{% endif %} {% endfor %} - -
+ +

{{ post.data.description }}

{% endfor %} diff --git a/src/css/Components/_base.scss b/src/css/Components/_base.scss index 49fdc97..5d76582 100644 --- a/src/css/Components/_base.scss +++ b/src/css/Components/_base.scss @@ -24,7 +24,7 @@ body { @media (min-width: #{variables.$sidebar-breakpoint}) { display: flex; - gap: 2rem; + gap: 1rem; justify-content: center; } } diff --git a/src/css/Components/_posts.scss b/src/css/Components/_posts.scss index 510cb63..d919a19 100644 --- a/src/css/Components/_posts.scss +++ b/src/css/Components/_posts.scss @@ -2,21 +2,25 @@ margin-bottom: 2rem; } +h2 { + margin-bottom: 0.15em; +} + .postMetadata { display: flex; flex-direction: row; flex-wrap: wrap; - column-gap: 2em; + align-items: center; + column-gap: 2rem; font-size: 0.8rem; -} -dl.postDate, dl.tags { - display: flex; - flex-direction: row; - align-items: center; - - margin: 0; + div { + display: flex; + flex-direction: row; + flex-wrap: wrap; + column-gap: 1em; + } dt { display: inline-flex; @@ -33,4 +37,8 @@ dl.postDate, dl.tags { content: ":"; } } + + dd { + margin: 0; + } }