Minor updates

This commit is contained in:
Anton Pogrebnjak
2026-05-02 12:55:45 +02:00
parent cc87dde39f
commit 26168627b4
5 changed files with 86 additions and 12443 deletions
+11 -4
View File
@@ -38,7 +38,12 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
<style>
article {
width: 100%;
}
}
h1 {
font-variant-caps: small-caps;
font-size: 2.4em;
}
h1::after {
content: "";
@@ -46,7 +51,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
/* width: 100%; */
height: 2px;
background-color: var(--primary);
margin: 0.5rem auto;
margin: 0.5rem auto;
}
h2::after {
@@ -60,12 +65,14 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
.hero-image {
width: 100%;
border-radius: 12px;
}
.hero-image img {
max-height: 40vh;
object-fit: cover;
display: block;
margin: 0 auto;
border-radius: 12px;
}
.prose {
@@ -127,7 +134,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
)
}
</div>
<h1>{title}</h1>
<h1>{title}</h1>
</div>
<slot />
</div>