Skip to content

Commit

Permalink
Adjust card spacing and border on narrow viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
LL782 committed Aug 16, 2022
1 parent 432ff25 commit e789eaf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,15 @@
}

.card {
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
color: inherit;
list-style: none;
text-align: left;
text-decoration: none;
transition: color 0.15s ease, border-color 0.15s ease;
}
@media screen and (max-width: 600px) {
.card {
padding: 4vw;
padding: 2rem 4vw 3rem;
border-bottom: 1px solid #aaa;
}
.cardImage {
margin-left: -4vw;
Expand All @@ -90,6 +87,9 @@
@media screen and (min-width: 601px) {
.card {
padding: 1.5rem;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
}

Expand Down

1 comment on commit e789eaf

@vercel
Copy link

@vercel vercel bot commented on e789eaf Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.