Resize post entries to h2 with no horizontal margin

master
Raymonzut 4 years ago
parent f3f90df38e
commit bd3782cd93
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 5
      client/public/assets/styling/general.css
  2. 2
      client/public/posts.mjs

@ -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;

@ -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")

Loading…
Cancel
Save