Skip to content

Commit

Permalink
Basic card styling
Browse files Browse the repository at this point in the history
  • Loading branch information
johan-t committed Apr 18, 2024
1 parent b9c3d5f commit 9e04b85
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions blocks/card/card.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
.card > div {
display: flex;
justify-content: space-between;
gap: 2.5rem;
}

.card > div > div:first-child img{
max-width: 50vw;
border-radius: 4px;
}

.card > div > div:nth-child(2) > p:first-child {
color: var(--color-gray);
font-size: var(--body-font-size-s);
}

.card > div > div:nth-child(2) h1 {
margin-top: 0;
font-size: var(--heading-font-size-l);
}

0 comments on commit 9e04b85

Please sign in to comment.