Skip to content

Commit

Permalink
adding styles to index.module.css
Browse files Browse the repository at this point in the history
  • Loading branch information
webrdaniel committed Mar 22, 2024
1 parent 1aaae3b commit 2c0a5d1
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@
margin: 0;
}

.card {
[class^="cardTitle"] {
font-size: 1.6rem !important;
}

[class^="cardDescription"] {
font-size: 1.2rem !important;
}
}

.cardContentWrapper {
display: flex;
padding-top: 1.6rem;
Expand Down Expand Up @@ -113,12 +123,12 @@
.bannerContentActions { width: 38.4rem; }
.bannerContentDescription { width: 25rem; margin-bottom: 0; }
.actionCards { grid-template-columns: repeat(2, 1fr); }
.smallBannerContent {
.smallBannerContent {
flex-direction: row;
justify-content: space-between;
align-items: center;
align-self: stretch;
text-align: left;
text-align: left;
}
.smallBannerContent h2 { align-self: flex-start; }
.smallBannerContentText { width: 41.8rem; }
Expand All @@ -132,7 +142,7 @@
@media (min-width: 1024px) {
.cards { grid-template-columns: repeat(3, 1fr); }
.actionCards { width: 896px; }
.bannerContentActions { width: 41.8rem; }
.bannerContentActions { width: 41.8rem; }
.bannerContentDescription { width: 38.4rem; }
.bannerContentImage {
width: 38.4rem;
Expand All @@ -149,4 +159,4 @@
margin-top: 14.2rem;
}

}
}

0 comments on commit 2c0a5d1

Please sign in to comment.