overhaul style of blog posts a bit

This commit is contained in:
nelle 2024-07-10 02:35:12 -06:00
parent 5b4577add1
commit 89ecce6f99

View file

@ -10,12 +10,13 @@ const { title, description, pubDate, updatedDate } = Astro.props;
<Layout title="Minecraft 88x31 Badges">
<main>
<div class="content">
<div class="wrapper">
<center>
<article>
<div class="prose">
<div class="content" style="text-align: center;">
<div class="title">
<h1>{title}</h1>
<h2 style="font-size: smaller;">{description}</h2>
<div class="date">
<FormattedDate date={pubDate} />
{
@ -26,14 +27,13 @@ const { title, description, pubDate, updatedDate } = Astro.props;
)
}
</div>
<h1>{title}</h1>
<h2 style="font-size: smaller;">{description}</h2>
<hr />
</div>
</div>
<div class="content">
<slot />
</div>
</article>
</center>
</div>
</div>
</main>