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