From eaf5258d1eb5660762c6ca92002a5924a5986d95 Mon Sep 17 00:00:00 2001 From: "Paul W." Date: Thu, 2 Nov 2023 17:09:23 -0400 Subject: [PATCH] Change post formatting Signed-off-by: Paul W. --- pages/posts/[post].tsx | 5 +++-- public/notes.json | 2 +- styles/post.module.css | 6 +++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pages/posts/[post].tsx b/pages/posts/[post].tsx index 413c7b0..4136a54 100644 --- a/pages/posts/[post].tsx +++ b/pages/posts/[post].tsx @@ -22,14 +22,15 @@ function Post({ post }: { post: Post & { content: string, cover?: string } }) { backgroundImage: post.cover ? `url(/assets/images/${post.cover})` : - 'linear-gradient(to bottom right, #565a0f, #08432c 15%, rgb(5, 39, 10) 40%, rgb(0, 22, 46) 80%)' + 'linear-gradient(to bottom right, rgb(5, 51, 11), rgb(5, 45, 13) 15%, rgb(5, 39,15) 40%, rgb(0, 30, 16) 80%)' }}>} -
+
{post.content}
+
diff --git a/public/notes.json b/public/notes.json index f583a38..60a5501 100644 --- a/public/notes.json +++ b/public/notes.json @@ -1 +1 @@ -{"mos-6502":{"title":"MOS 6502 Microprocessor","mtime":"2023-10-29T18:05:52.440Z"},"nintendo-switch":{"title":"Nintendo Switch","mtime":"2023-10-29T18:06:23.793Z"},"steam-deck":{"title":"Steam Deck","mtime":"2023-10-29T18:06:45.197Z"},"steam":{"title":"Steam Client","mtime":"2023-10-29T18:06:53.897Z"},"zilog-z80":{"title":"Zilog Z80 Microprocessor","mtime":"2023-10-29T18:07:08.580Z"}} \ No newline at end of file +{"mos-6502":{"title":"MOS 6502 Microprocessor","mtime":"2023-10-29T18:05:52.440Z"},"nintendo-switch":{"title":"Nintendo Switch","mtime":"2023-10-29T18:06:23.793Z"},"steam-deck":{"title":"Steam Deck","mtime":"2023-11-01T22:27:06.480Z"},"steam":{"title":"Steam Client","mtime":"2023-10-29T18:06:53.897Z"},"zilog-z80":{"title":"Zilog Z80 Microprocessor","mtime":"2023-10-29T18:07:08.580Z"}} \ No newline at end of file diff --git a/styles/post.module.css b/styles/post.module.css index 1a10e57..e75570b 100644 --- a/styles/post.module.css +++ b/styles/post.module.css @@ -16,7 +16,7 @@ .block { font-family: 'EB Garamond', 'Garamond', 'Times New Roman', Times, serif; - background-color: rgba(13, 17, 23, 0.99); + background-color: rgba(13, 17, 23, 0.97); margin: 0 auto; border-radius: 0; font-size: 1.25rem; @@ -25,5 +25,9 @@ } .spacer { + height: 6.25rem; +} + +.background.spacer { height: 25rem; } \ No newline at end of file