Skip to content

Commit

Permalink
Restyle newsletter section
Browse files Browse the repository at this point in the history
(+global index gap restyle)
  • Loading branch information
kubgus committed Sep 10, 2024
1 parent df93431 commit adb548c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/components/content/blog.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ posts.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontma
<div class="content-inner">
<h1>Newsletter</h1>

<!-- TODO: Make this a sticky popup -->
<section id="newsletter">
<p>
I have a newsletter, btw! I post regular updates on my work, exclusive
Expand All @@ -25,3 +26,9 @@ posts.sort((a, b) => new Date(b.frontmatter.date).valueOf() - new Date(a.frontma
))
}
</div>

<style>
#newsletter > *:not(:last-child) {
margin-bottom: 1.1rem;
}
</style>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ let tab = "tab-1", translateSelector = "0%";
.content-inner {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.5rem;
font-size: 1.2rem;
}

Expand Down

0 comments on commit adb548c

Please sign in to comment.