-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(wip) apply new branded layout + refactor code to re-use React compon…
…ents
- Loading branch information
Showing
23 changed files
with
1,157 additions
and
408 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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,123 @@ | ||
.Example { | ||
margin-bottom: 3rem; | ||
} | ||
|
||
.Banner { | ||
height: 200px; | ||
position: relative; | ||
|
||
.Media { | ||
background-color: white; | ||
height: 100%; | ||
overflow: hidden; | ||
|
||
position: relative; | ||
|
||
.MediaCaption { | ||
text-overflow: ellipsis; | ||
|
||
position: absolute; | ||
bottom: 0; | ||
|
||
padding: 15px; | ||
|
||
background-color: black; | ||
color: white; | ||
opacity: 0.6; | ||
|
||
width: 100%; | ||
height: 10%; | ||
|
||
font: { | ||
size: 16px; | ||
weight: 200; | ||
} | ||
|
||
transition: 300ms; | ||
cursor: pointer; | ||
&:hover { | ||
opacity: 0.8; | ||
} | ||
} | ||
|
||
transition: 300ms; | ||
cursor: pointer; | ||
&:hover { | ||
filter: brightness(115%); | ||
} | ||
} | ||
|
||
.BannerGrid { | ||
height: 100%; | ||
display: flex; /* Ensures grid items align properly */ | ||
align-items: stretch; /* Stretches items to match height */ | ||
} | ||
|
||
.Content { | ||
color: white; | ||
background-color: darkred; | ||
height: 100%; | ||
|
||
position: relative; | ||
|
||
cursor: pointer; | ||
|
||
padding: 30px; | ||
|
||
transition: 300ms; | ||
|
||
&:hover, | ||
&:active { | ||
background-color: darkgoldenrod; | ||
|
||
.ViewButton { | ||
background-color: whitesmoke; | ||
color: darkred; | ||
} | ||
} | ||
|
||
.Title { | ||
font-size: 18px; | ||
font-weight: 500; | ||
color: white; | ||
} | ||
|
||
.Caption { | ||
margin-top: 10px; | ||
font-size: 14px; | ||
color: white; | ||
} | ||
|
||
.ViewButton { | ||
color: white; | ||
|
||
font-size: 16px; | ||
border: 3px solid white; | ||
text-transform: capitalize; | ||
|
||
transition: 200ms; | ||
} | ||
} | ||
} | ||
|
||
.dappCard { | ||
margin: 1rem 0; | ||
height: 200px; /* Set a fixed height */ | ||
box-sizing: border-box; | ||
filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.12)); | ||
overflow: hidden; | ||
border-radius: 20px; | ||
-webkit-border-radius: 20px; | ||
border: 1px solid rgba(255, 255, 255, 0.05); | ||
} | ||
|
||
.dappCardImage { | ||
transition: all 300ms ease-out; | ||
height: 100%; | ||
width: 100%; | ||
object-fit: contain; | ||
} | ||
|
||
.dappCard:hover .dappCardImage { | ||
transform: scale(1.04); | ||
} |
Oops, something went wrong.