Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andyluss committed Jan 20, 2025
1 parent 78546dc commit cb58e09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/cards/article.astro
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ const {
<style>
.hero-image {
width: 100%;
}
.hero-image img {
display: block;
margin: 0 auto;
border-radius: 12px;
box-shadow: var(--box-shadow);
img {
display: block;
margin: 0 auto;
border-radius: 12px;
box-shadow: var(--box-shadow);
}
}
.prose {
width: 100%;
Expand Down
14 changes: 4 additions & 10 deletions src/cards/list-item.astro
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,10 @@ function star(post: Post) {
margin: 1px;
box-sizing: border-box;
background: var(--bg);
}
.post * {
text-decoration: none;
transition: 0.2s ease;
}
.post a {
display: block;
}
.post a:hover .title {
color: rgb(var(--accent));

a:hover .title {
color: rgb(var(--accent));
}
}
.title {
margin: 0;
Expand Down

0 comments on commit cb58e09

Please sign in to comment.