-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat]: Academic programs section Added #85
Open
mohitkalme
wants to merge
7
commits into
master
Choose a base branch
from
AcademicProgramsSection
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6632211
ci: academic-section-added
mohitkalme 6beaa44
ci: academic section added
mohitkalme 0a1609e
style: button color changed
mohitkalme e0762fc
style: button font family changed to Poppins
mohitkalme d4c4a17
style: all fonts removed
mohitkalme 843b39a
refactor: changes made
mohitkalme cd5782a
refactor: using map function
mohitkalme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
191 changes: 191 additions & 0 deletions
191
components/AcademicProgramsSection/AcademicPrograms.module.scss
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,191 @@ | ||
.academicSection { | ||
padding-top: 1rem; | ||
padding-bottom: 1rem; | ||
|
||
width: 100%; | ||
padding: 20px; | ||
|
||
@media (min-width: 575px) { | ||
padding: 30px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
padding: 40px; | ||
} | ||
|
||
@media (min-width: 1280px) { | ||
padding-inline: 80px; | ||
} | ||
|
||
.sectionTitle { | ||
font-family: 'NewYork'; | ||
display: flex; | ||
align-items: center; | ||
letter-spacing: 0.075em; | ||
font-weight: 400; | ||
font-size: clamp(1.725rem, 0.73rem + 4.36vw, 5rem); | ||
|
||
@media (min-width: 1440px) { | ||
font-style: normal; | ||
font-weight: 400; | ||
font-size: 80px; | ||
line-height: 100%; | ||
letter-spacing: 0.015em; | ||
} | ||
} | ||
|
||
.academicTags { | ||
list-style: none; | ||
display: flex; | ||
margin-top: 1.8rem; | ||
margin-bottom: 1.5rem; | ||
margin-inline: 0; | ||
padding-inline: 0; | ||
font-weight: 500; | ||
|
||
& li { | ||
font-family: 'Poppins', sans-serif; | ||
cursor: pointer; | ||
font-size: 1.2rem; | ||
& button { | ||
font-family: inherit; | ||
background-color: transparent; | ||
outline: none; | ||
border: 0; | ||
margin: 0; | ||
cursor: pointer; | ||
color: #636363; | ||
} | ||
& button.highlight { | ||
color: #110909; | ||
text-decoration: underline; | ||
} | ||
} | ||
& li:not(:first-child) { | ||
margin-left: 1.9rem; | ||
} | ||
|
||
@media (min-width: 575px) { | ||
& { | ||
margin-top: 2.8rem; | ||
margin-bottom: 2.2rem; | ||
} | ||
|
||
& li { | ||
font-size: 1.3rem; | ||
} | ||
& li:not(:first-child) { | ||
margin-left: 5rem; | ||
} | ||
} | ||
|
||
@media (min-width: 1024px) { | ||
& li { | ||
font-size: 1.5rem; | ||
} | ||
} | ||
|
||
@media (min-width: 1440px) { | ||
& { | ||
margin-top: 5.1875rem; | ||
margin-bottom: 4.25rem; | ||
} | ||
|
||
& li { | ||
font-style: normal; | ||
font-size: 1.7rem; | ||
line-height: 100%; | ||
letter-spacing: 0.015em; | ||
} | ||
|
||
& li:not(:first-child) { | ||
margin-left: 9.75rem; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.Grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); | ||
gap: 1.5rem; | ||
} | ||
|
||
.card { | ||
display: grid; | ||
align-content: center; | ||
grid-template-rows: 1fr 100px; | ||
grid-template-columns: 1fr; | ||
align-items: center; | ||
padding: 11px 15px 18px; | ||
mohitkalme marked this conversation as resolved.
Show resolved
Hide resolved
|
||
background: rgba(180, 185, 188, 0); | ||
border: 1.50588px solid #110909; | ||
border-radius: 1rem; | ||
|
||
& .cardTitle { | ||
display: grid; | ||
justify-content: space-between; | ||
align-items: center; | ||
display: grid; | ||
grid-template-columns: 1fr 50px; | ||
gap: 0.75rem; | ||
|
||
& h2 { | ||
font-weight: 500; | ||
font-size: 1.5rem; | ||
font-family: 'Manrope', sans-serif; | ||
} | ||
& .arrowIcon { | ||
font-family: 'Manrope', sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
transform: rotate(-32deg); | ||
|
||
display: grid; | ||
place-items: center; | ||
width: 40px; | ||
height: 40px; | ||
margin: auto; | ||
border: 1.50588px solid #110909; | ||
border-radius: 50%; | ||
font-weight: 600; | ||
|
||
& svg { | ||
width: 26px; | ||
height: 26px; | ||
} | ||
} | ||
} | ||
|
||
& .badge { | ||
font-family: 'Inter', sans-serif; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-weight: 400; | ||
align-self: end; | ||
width: 102px; | ||
|
||
padding: 10px 14px; | ||
|
||
border: 1.50588px solid #110909; | ||
mohitkalme marked this conversation as resolved.
Show resolved
Hide resolved
|
||
border-radius: 45.1765px; | ||
mohitkalme marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
line-height: 100%; | ||
letter-spacing: 0.015em; | ||
color: #110909; | ||
// margin-top: 4.735rem; | ||
} | ||
} | ||
|
||
.phdCard { | ||
font-family: 'Manrope', sans-serif; | ||
|
||
padding: 30px 28px 37px; | ||
background: rgba(180, 185, 188, 0); | ||
border: 1.50588px solid #110909; | ||
border-radius: 1rem; | ||
font-size: 1.2rem; | ||
line-height: 2.5rem; | ||
font-weight: 500; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use so many media queries, can we reduce some breakpoints here?