-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved code to about page folder and created basic layout for the abou…
…t page
- Loading branch information
Showing
4 changed files
with
484 additions
and
345 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
@import '@radix-ui/colors/black-alpha.css'; | ||
@import '@radix-ui/colors/mauve.css'; | ||
@import '@radix-ui/colors/violet.css'; | ||
|
||
/* reset */ | ||
button, | ||
h3 { | ||
all: unset; | ||
} | ||
|
||
* { | ||
background-color: black; | ||
color: white; | ||
} | ||
|
||
.about-page-container { | ||
max-width: fit-content; | ||
margin-left: 20%; | ||
margin-right: 20%; | ||
|
||
.info, | ||
.section-title { | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.opportunities-section { | ||
.opportunites-features { | ||
figure { | ||
position: relative; | ||
width: 200px; | ||
height: 200px; /* Adjust the height as needed */ | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
animation: sway 5s infinite alternate ease-in-out; | ||
} | ||
|
||
figure img { | ||
width: 100%; | ||
height: 100%; | ||
display: block; | ||
border: 5px solid white; /* Polaroid frame */ | ||
} | ||
|
||
figcaption { | ||
text-align: center; | ||
padding: 5px; | ||
background-color: white; | ||
font-family: Arial, sans-serif; | ||
margin-left: 10px; | ||
} | ||
|
||
.pin { | ||
position: absolute; | ||
width: 20px; | ||
height: 20px; | ||
background-color: red; | ||
margin: 0 50%; | ||
border-radius: 50%; | ||
animation: none !important; | ||
border: 5px solid black; | ||
} | ||
|
||
@keyframes sway { | ||
0% { | ||
transform: rotate(-3deg); | ||
} | ||
100% { | ||
transform: rotate(3deg); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.faq-section { | ||
/* Accordion Styling */ | ||
|
||
.AccordionRoot { | ||
border-radius: 6px; | ||
width: 100%; | ||
background-color: var(--mauve-6); | ||
box-shadow: 0 2px 10px var(--black-a4); | ||
} | ||
|
||
.AccordionItem { | ||
overflow: hidden; | ||
margin-top: 1px; | ||
} | ||
|
||
.AccordionItem:first-child { | ||
margin-top: 0; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
} | ||
|
||
.AccordionItem:last-child { | ||
border-bottom-left-radius: 4px; | ||
border-bottom-right-radius: 4px; | ||
} | ||
|
||
.AccordionItem:focus-within { | ||
position: relative; | ||
z-index: 1; | ||
box-shadow: 0 0 0 2px var(--mauve-12); | ||
} | ||
|
||
.AccordionHeader { | ||
display: flex; | ||
} | ||
|
||
.AccordionTrigger { | ||
font-family: inherit; | ||
background-color: transparent; | ||
padding: 0 20px; | ||
height: 45px; | ||
flex: 1; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
font-size: 15px; | ||
line-height: 1; | ||
color: var(--mauve-2); | ||
box-shadow: 0 1px 0 var(--mauve-6); | ||
background-color: black; | ||
} | ||
|
||
.AccordionContent { | ||
overflow: hidden; | ||
font-size: 15px; | ||
color: var(--mauve-11); | ||
background-color: var(--mauve-2); | ||
} | ||
.AccordionContent[data-state='open'] { | ||
animation: slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1); | ||
} | ||
.AccordionContent[data-state='closed'] { | ||
animation: slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1); | ||
} | ||
|
||
.AccordionContentText { | ||
padding: 15px 20px; | ||
} | ||
|
||
.AccordionChevron { | ||
color: var(--violet-10); | ||
transition: transform 300ms cubic-bezier(0.87, 0, 0.13, 1); | ||
} | ||
.AccordionTrigger[data-state='open'] > .AccordionChevron { | ||
transform: rotate(180deg); | ||
} | ||
|
||
@keyframes slideDown { | ||
from { | ||
height: 0; | ||
} | ||
to { | ||
height: var(--radix-accordion-content-height); | ||
} | ||
} | ||
|
||
@keyframes slideUp { | ||
from { | ||
height: var(--radix-accordion-content-height); | ||
} | ||
to { | ||
height: 0; | ||
} | ||
} | ||
} | ||
|
||
.register-section { | ||
margin-top: 2rem; | ||
.register-button { | ||
background: none; | ||
border: none; | ||
cursor: pointer; | ||
padding: 0; | ||
transition: transform 1s ease-in-out; | ||
|
||
&:hover { | ||
transform: scale(1); | ||
} | ||
|
||
.icon { | ||
transition: opacity 1s ease; | ||
display: block; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.