💄 small styling edits

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2023-12-25 00:35:53 +01:00
parent 7c4c6ccded
commit 2d97c25c5e
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,7 @@ const { title, description, pubDate } = Astro.props;
--- ---
<SectionContainer> <SectionContainer>
<main class="flex flex-col flex-1 mb-auto break-words mt-4"> <main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article> <article class="flex flex-col gap-1">
<h1 class="text-4xl font-extrabold">{title}</h1> <h1 class="text-4xl font-extrabold">{title}</h1>
<p class="italic">{description}</p> <p class="italic">{description}</p>
<FormattedDate date={pubDate}/> <FormattedDate date={pubDate}/>

View file

@ -77,6 +77,9 @@ p {
.blog img { .blog img {
border-radius: 10px; border-radius: 10px;
margin-top: 10px;
width: 50%;
height: 50%;
} }
.blog h1 { .blog h1 {