diff --git a/blog/src/components/PostGrid.astro b/blog/src/components/PostGrid.astro
index b476e76..b1b1101 100644
--- a/blog/src/components/PostGrid.astro
+++ b/blog/src/components/PostGrid.astro
@@ -21,6 +21,6 @@ const { posts } = Astro.props;
display: grid;
gap: 64px;
width: 100%;
- grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
+ grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
diff --git a/blog/src/components/PostPreviewLarge.astro b/blog/src/components/PostPreviewLarge.astro
index e40bd5e..ff0639b 100644
--- a/blog/src/components/PostPreviewLarge.astro
+++ b/blog/src/components/PostPreviewLarge.astro
@@ -30,10 +30,9 @@ const localeDate = formatLocalizedDateString(post.date);
Lesezeit: {post.time2read} min
- {post.title}
+ {post.title}
+ {post.subtitle}
-
{post.description}
@@ -84,9 +83,9 @@ const localeDate = formatLocalizedDateString(post.date); .top-info { justify-content: space-between; - margin: 16px 0; - font-size: 1.125rem; - color: lightslategray; + color: grey; + padding: 8px 0 0 0; + font-size: 1.2rem; } #new { @@ -101,19 +100,37 @@ const localeDate = formatLocalizedDateString(post.date); margin-right: 16px; } + #headline, + #subtitle { + font-weight: bold; + margin: 8px 0 0 0; + } + + .description { + font-size: 1.2rem; + line-height: 1.4; + margin: 8px 0 0 0; + } + @media only screen and (max-width: 800px) { .wide-container { flex-direction: column; gap: 0; min-width: auto; + padding: 32px; } - .text-col, .image-col { + .text-col, + .image-col { width: 100%; } .image-col img { position: static; } + + .top-info { + font-size: 1.1rem; + } } diff --git a/blog/src/layouts/BlogPostLayout.astro b/blog/src/layouts/BlogPostLayout.astro index 5020761..c51e46f 100644 --- a/blog/src/layouts/BlogPostLayout.astro +++ b/blog/src/layouts/BlogPostLayout.astro @@ -181,7 +181,7 @@ const localeDate = formatLocalizedDateString(postData.date); font-size: 1.25rem; line-height: 1.4; background-color: white; - border-radius: 48px; + border-radius: 48px 48px 0 0; } #hr-knast { diff --git a/blog/src/pages/index.astro b/blog/src/pages/index.astro index 12ef880..48c85d8 100644 --- a/blog/src/pages/index.astro +++ b/blog/src/pages/index.astro @@ -13,9 +13,11 @@ const [mostRecentPost, ...sortedPosts] = allPostsSorted;