Minor updates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user