-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into reenabling-edit-gate
- Loading branch information
Showing
12 changed files
with
378 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 73 additions & 25 deletions
98
website/src/components/HomepageFeatures/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,86 @@ | ||
.features { | ||
display: flex; | ||
align-items: center; | ||
padding: 2rem 0; | ||
width: 100%; | ||
flex-direction: column; | ||
gap: 20px; | ||
font-family: var(--arbitrum-font-family); | ||
padding: 20px 20px 150px; | ||
margin-top: 80px; | ||
} | ||
|
||
.featureSvg { | ||
height: 150px; | ||
width: 150px; | ||
.featureCardsWrapper { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
} | ||
|
||
.featureCard { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
height: 100%; | ||
color: var(--arbitrum-text); | ||
background: var(--arbitrum-background-opacity); | ||
padding: 20px 70px 20px 20px; | ||
border-radius: var(--arbitrum-border-radius); | ||
} | ||
|
||
@media screen and (min-width: 1024px) { | ||
.features { | ||
display: grid; | ||
grid-auto-flow: column; | ||
grid-template-columns: 1fr 3fr; | ||
gap: 20px; | ||
} | ||
.featureCardsWrapper { | ||
display: grid; | ||
grid-template-columns: repeat(3, calc(33.33% - 20px * 2 / 3)); | ||
} | ||
.featureCard { | ||
padding: 20px 50px 20px 20px; | ||
} | ||
} | ||
|
||
.features h3, | ||
.features p { | ||
line-height: normal; | ||
margin: 0; | ||
} | ||
|
||
.landingPageLink { | ||
background-color: black; | ||
color: black; | ||
.features h3 { | ||
font-size: 22px; | ||
font-weight: 400; | ||
} | ||
|
||
.features p { | ||
font-size: var(--arbitrum-font-size); | ||
font-weight: 500; | ||
opacity: 50%; | ||
} | ||
|
||
.features a:hover { | ||
text-decoration: none; | ||
opacity: 80%; | ||
} | ||
|
||
#animate { | ||
opacity: 0; | ||
animation-duration: 1.2s; | ||
animation-name: animate-pop; | ||
animation-timing-function: cubic-bezier(0.23, 0.53, 0.74, 2.2); | ||
animation-delay: 0.8s; | ||
animation-fill-mode: forwards; | ||
.features a:nth-child(1) .featureCard { | ||
background: var(--arbitrum-color-primary); | ||
} | ||
|
||
@keyframes animate-pop { | ||
0% { | ||
opacity: 0; | ||
transform: scale(0.1, 0.1); | ||
} | ||
.svgWrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 40px; | ||
width: 40px; | ||
background: var(--arbitrum-background-opacity); | ||
border-radius: var(--arbitrum-border-radius-sm); | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
transform: scale(1, 1); | ||
} | ||
.featureSvg { | ||
height: 24px; | ||
width: 24px; | ||
} | ||
|
||
:global([data-theme='dark']) .featureSvg { | ||
filter: invert(1); | ||
} |
Oops, something went wrong.