Skip to content

Commit

Permalink
๐Ÿ’„Design: Card ์ปดํฌ๋„ŒํŠธ ์Šคํƒ€์ผ ์ˆ˜์ • (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: bogyeong.lee <dlqhrud303@naver.com>
Co-authored-by: ์‹ ์€์ˆ˜ <ShinEun9@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 22, 2023
1 parent c0bd1c8 commit 7ef68f9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/styles/Main/Card.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@
width: 100%;
}

/* .card:hover {
background-color: #686868;
} */

.card__cover {
position: relative;

aspect-ratio: 16/9;
border-radius: 0.5rem;
overflow: hidden;
cursor: pointer;
margin-bottom: 12px;
}

.card__cover__img {
Expand All @@ -27,11 +33,16 @@

.card__channel-title {
font-size: 0.875rem;
color: #686868;
}
.card__channel-title:hover {
color: black;
}

.card__title {
font-size: 1rem;
font-weight: bold;
cursor: pointer;
}

.card__description {
Expand All @@ -40,7 +51,5 @@

.card__published-at {
font-size: 0.75rem;
}
.card__published-at {
font-size: 0.75rem;
color: #686868;
}

0 comments on commit 7ef68f9

Please sign in to comment.