Skip to content

Commit

Permalink
update cards css
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakshmishri committed Jun 10, 2024
1 parent b1bd517 commit 80193d3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(278px, 1fr));
display: flex;
grid-gap: 16px;
}

.cards > ul > li {
border: 1px solid var(--dark-color);
flex: 1;
background-color: var(--background-color);
}

.cards .cards-card-body {
margin: 16px;
margin: 16px 0;
}

.cards .cards-card-image {
Expand All @@ -29,3 +28,13 @@
aspect-ratio: 4 / 3;
object-fit: cover;
}

.cards > ul > li p {
font-size: 16px;
}

.cards > ul > li h3 {
font-size: 20px;
font-weight: 600;
line-height: 26px;
}
2 changes: 1 addition & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ button {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-radius: 30px;
border-radius: 5px;
}

a.button:hover,
Expand Down

0 comments on commit 80193d3

Please sign in to comment.