Skip to content

Commit cb58e09

Browse files
committed
update
1 parent 78546dc commit cb58e09

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

src/cards/article.astro

+6-6
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ const {
4949
<style>
5050
.hero-image {
5151
width: 100%;
52-
}
53-
.hero-image img {
54-
display: block;
55-
margin: 0 auto;
56-
border-radius: 12px;
57-
box-shadow: var(--box-shadow);
52+
img {
53+
display: block;
54+
margin: 0 auto;
55+
border-radius: 12px;
56+
box-shadow: var(--box-shadow);
57+
}
5858
}
5959
.prose {
6060
width: 100%;

src/cards/list-item.astro

+4-10
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,10 @@ function star(post: Post) {
8686
margin: 1px;
8787
box-sizing: border-box;
8888
background: var(--bg);
89-
}
90-
.post * {
91-
text-decoration: none;
92-
transition: 0.2s ease;
93-
}
94-
.post a {
95-
display: block;
96-
}
97-
.post a:hover .title {
98-
color: rgb(var(--accent));
89+
90+
a:hover .title {
91+
color: rgb(var(--accent));
92+
}
9993
}
10094
.title {
10195
margin: 0;

0 commit comments

Comments
 (0)