Finished blog post styling

Light & Dark mode; on sizes <sm to 2xl+
This commit is contained in:
Blboun3
2024-05-31 07:49:15 +02:00
parent ea25e69277
commit 1f06060124
7 changed files with 38 additions and 23 deletions

View File

@@ -25,7 +25,7 @@ const { Content } = await page.render();
---
<BlogPost {...page.data} language={lang}>
<article class="prose prose-moi">
<article class="prose prose-moi m-[auto] sm:prose-sm md:prose-md xl:prose-lg text-justify">
<div class="text-center">
<h1 class="text-4xl">{page.data.title}</h1>
<p>{page.data.author} • {formattedDate}</p>