diff --git a/client/public/assets/styling/general.css b/client/public/assets/styling/general.css index 578adba..c1376ef 100644 --- a/client/public/assets/styling/general.css +++ b/client/public/assets/styling/general.css @@ -21,6 +21,11 @@ nav { font-style: italic; } +h2 { + font-size: 0.6em; + margin: auto 0; +} + @media (prefers-color-scheme: light) { :root { --primary-color: #ffffeb; diff --git a/client/public/posts.mjs b/client/public/posts.mjs index ff27c4b..e6fb25d 100644 --- a/client/public/posts.mjs +++ b/client/public/posts.mjs @@ -36,7 +36,7 @@ async function updatePosts() { month_DOM.textContent = month month_lists[i].forEach((post, i) => { - const post_DOM = document.createElement("h6") + const post_DOM = document.createElement("h2") post_DOM.textContent = `${post.date.substring(0, 10)} - ` const post_link = document.createElement("a")