-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added light/dark mode
- Loading branch information
Showing
2 changed files
with
116 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,96 @@ | ||
.cardContainer { | ||
.lightAllieCardContainer { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-template-rows: auto; | ||
// border: 2px solid blue; | ||
align-items: center; | ||
background-image: linear-gradient( | ||
30deg, | ||
rgb(255, 104, 162), | ||
rgb(248, 185, 185) | ||
); | ||
} | ||
.card { | ||
|
||
.darkAllieCardContainer { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-template-rows: auto; | ||
// border: 2px solid blue; | ||
align-items: center; | ||
background-image: linear-gradient(30deg, rgb(190, 18, 196), rgb(184, 15, 80)); | ||
color: white; | ||
} | ||
|
||
.alliecard { | ||
margin: auto; | ||
//padding: 1rem 1rem 1rem 1rem; | ||
//align-items: right; | ||
text-align: center; | ||
//border: 2px solid white; | ||
} | ||
.image { | ||
|
||
.allieimage { | ||
background-image: url(./allies_headshot.JPG); | ||
} | ||
|
||
.allieImageContainer { | ||
//align-items: left; | ||
width: 120px; | ||
height: auto; | ||
margin: auto; | ||
border-radius: 50%; | ||
box-shadow: 5px 10px #00ffff44; | ||
box-shadow: 5px 10px #02272744; | ||
} | ||
|
||
.allieLinkButton { | ||
background-color: rgba(40, 42, 212, 0.781); | ||
border-radius: 2rem; | ||
width: auto; | ||
margin-left: 0.2rem; | ||
margin-right: 0.2rem; | ||
} | ||
|
||
.allieLink { | ||
color: white; | ||
font-size: 1rem; | ||
text-decoration: none; | ||
} | ||
|
||
.allieLink:hover { | ||
color: rgba(255, 255, 255, 0.705); | ||
font-size: 1rem; | ||
text-decoration: none; | ||
} | ||
|
||
.allieDarkButtonContainer { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: flex-end; | ||
} | ||
|
||
.allieDarkButton { | ||
border-radius: 2rem; | ||
font-size: 0.8rem; | ||
width: auto; | ||
height: 1.5rem; | ||
} | ||
|
||
.lightAllieDarkButton { | ||
background-color: rgb(51, 206, 226); | ||
transition: all 0.5s; | ||
} | ||
|
||
.lightAllieDarkButton:hover { | ||
background-color: rgb(29, 88, 177); | ||
color: white; | ||
} | ||
|
||
.darkAllieDarkButton { | ||
background-color: rgb(29, 88, 177); | ||
color: white; | ||
transition: all 0.5s; | ||
} | ||
|
||
.darkAllieDarkButton:hover { | ||
background-color: rgb(51, 206, 226); | ||
color: black; | ||
} |