Skip to content

Commit

Permalink
fix: make full stop part of h1 (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xillians committed Aug 29, 2024
1 parent e634a52 commit 0cc8cc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/brief.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ const { title } = Astro.props;
---
<section class="brief">
<h1>{title}<span>.</span>
</h1>
<h1>{title}</h1>
<div class="heading">
<slot/>
</div>
Expand All @@ -22,7 +21,8 @@ const { title } = Astro.props;
display: flex;
gap: 3rem;
}
span {
h1::after {
content: '.';
font-family: 'Source Code Pro';
color: hsl(var(--blue-base) 50%);
font-weight: 800;
Expand Down

0 comments on commit 0cc8cc3

Please sign in to comment.