-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include team card and info card components
- Loading branch information
1 parent
3351c20
commit 09a4336
Showing
8 changed files
with
766 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,107 @@ | ||
@import url('../../styles/fonts.css'); | ||
|
||
:root { | ||
--soda-red-900: oklch(55% 0.2 12); | ||
--soda-red-775: oklch(55% 0.2 12); | ||
--soda-red-675: oklch(55% 0.2 12); | ||
--soda-red-550: oklch(55% 0.2 12); | ||
--soda-red-450: oklch(55% 0.2 12); | ||
--soda-red-325: oklch(55% 0.2 12); | ||
--soda-red-225: oklch(55% 0.2 12); | ||
--soda-red-100: oklch(55% 0.2 12); | ||
} | ||
|
||
.infocards { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.infocards #title { | ||
font-family: 'Apfel-Fett'; | ||
font-size: 2em; | ||
text-align: center; | ||
padding: 7vw; | ||
padding-bottom: 0vw; | ||
} | ||
|
||
/* | ||
#cards { | ||
max-width: 1000px; | ||
margin: 3vh auto 5vh auto; | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
#cards .Card { | ||
padding-top: 3px; | ||
margin: 5px 10px 5px 10px; | ||
justify-content: center; | ||
} | ||
*/ | ||
|
||
|
||
/*Card styling*/ | ||
|
||
.rounded-card { | ||
border-radius: 15px; | ||
overflow: hidden; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow for better appearance */ | ||
background-color: white; | ||
color: black; | ||
font-family: 'Apfel-Regular'; | ||
} | ||
|
||
.card-content { | ||
padding: 16px; | ||
} | ||
|
||
.card-header { | ||
color: black; | ||
padding-bottom: 8px; | ||
font-weight: bold; | ||
font-size:1.2em; | ||
} | ||
|
||
.card-description { | ||
color: black; | ||
padding-bottom: 8px; | ||
font-size:0.8em; | ||
} | ||
|
||
|
||
#cards { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 20px; | ||
justify-content: center; | ||
} | ||
|
||
.Card { | ||
width: 300px; | ||
} | ||
|
||
|
||
/* Card button */ | ||
.card-button{ | ||
background-color: var(--soda-red-550); | ||
color: white; | ||
border: none; /* Remove default border */ | ||
border-radius: 25px; | ||
padding: 10px 20px; | ||
font-size: 16px; | ||
cursor: pointer; /* Change cursor to pointer on hover */ | ||
display: flex; | ||
align-items: center; | ||
transition: background-color 0.6s ease; /* Add transition for smooth background color change */ | ||
} | ||
|
||
.card-button::after { | ||
content: '→'; /* Unicode character for right arrow */ | ||
margin-left: 10px; | ||
} | ||
|
||
.card-button:hover { | ||
background-color: darkred; /* Change background color on hover */ | ||
} |
Oops, something went wrong.