Skip to content

Commit

Permalink
scope styles with class name
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan committed Sep 1, 2023
1 parent f9f234f commit 0f872b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions website/src/components/HomepageFeatures/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,29 @@
}
}

h3,
p {
.features h3,
.features p {
line-height: normal;
margin: 0;
}

h3 {
.features h3 {
font-size: 22px;
font-weight: 400;
}

p {
.features p {
font-size: var(--arbitrum-font-size);
font-weight: 500;
opacity: 50%;
}

a:hover {
.features a:hover {
text-decoration: none;
opacity: 80%;
}

a:nth-child(1) .featureCard {
.features a:nth-child(1) .featureCard {
background: var(--arbitrum-color-primary);
}

Expand Down
4 changes: 2 additions & 2 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
}

.button {
.heroBanner .button {
font-size: 14px;
font-weight: 500;
font-family: var(--arbitrum-font-family);
Expand All @@ -61,6 +61,6 @@
cursor: pointer;
}

.button:hover {
.heroBanner .button:hover {
opacity: 70%;
}

0 comments on commit 0f872b6

Please sign in to comment.