Fixed showcase and home page

This commit is contained in:
Anton Pogrebnjak
2026-04-06 20:37:32 +02:00
parent 120ce7726f
commit d03478f81a
3 changed files with 6 additions and 5 deletions

View File

@@ -44,4 +44,4 @@ const { title, description, image = '/logo.png' } = Astro.props;
<meta property="twitter:url" content={Astro.url} />
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />

View File

@@ -78,6 +78,7 @@ const color = Astro.props.color || 'var(--text)';
margin: 0;
color: var(--color);
line-height: 1;
font-size: 1em;
font-variant-caps: small-caps;
}
.date {
@@ -102,8 +103,8 @@ const color = Astro.props.color || 'var(--text)';
ul li:first-child {
margin-bottom: 0;
}
ul li:first-child .title {
font-size: 1.563em;
ul li:first-child .title, ul li .title {
font-size: 1.2em;
}
}
</style>