Skip to content

Commit

Permalink
Merge pull request #8 from DesignSystemsOSS/responsiveness
Browse files Browse the repository at this point in the history
update: responsiveness added to products page (#7)
  • Loading branch information
yashsehgal authored Sep 29, 2021
2 parents 05e785d + 9983417 commit 1d8d571
Show file tree
Hide file tree
Showing 13 changed files with 366 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/components/section-components/Header/style.header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ header.header {
100% {
color: #006eff;
}
}
}

// media-queries for different resolutions and screen-widths

// scss-query for screen-size: (maximum-width: 1400px)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,36 @@ div.career-opening-card {
margin-top: 0.6em;
margin-bottom: 1.4em;
}
}

// media-queries for different resolutions and screen-widths

// scss-query for screen-size: (maximum-width: 1400px)

@media screen and (max-width: 1400px) {
div.career-opening-card {
width: 80%;
margin: auto;
text-align: center;
padding: 2.4em 1.2em;
background-color: #ffffff;
border-radius: 6px;
color: black;
display: flex;
flex-direction: column;
gap: 2em;
align-items: center;
justify-content: space-between;
transition: 0.2s ease-in-out;
&:hover {
cursor: pointer;
background-color: #fefefe;
transform: translateY(-2px);
}
> p.career-role-description {
max-width: 40ch;
margin-top: 0.6em;
margin-bottom: 1.4em;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,52 @@ div.product-card {
font-weight: 600;
}
}
}

// media-queries for different resolutions and screen-widths

// scss-query for screen-size: (maximum-width: 1400px)

@media screen and (max-width: 1400px) {
div.product-card {
width: 80%;
border-radius: 8px;
margin-right: auto;
margin-left: auto;
padding: 2.4em;
display: grid;
grid-template-columns: auto;
text-align: center;
align-items: center;
justify-content: space-between;
color: black;
background-color: white;
border: 1.2px solid #f2f2f2;
box-shadow: 0 8px 32px 0 rgba(31, 135, 95, 0.250);
cursor: pointer;
transition: 0.2s ease-in-out;
&:hover {
transform: translateY(-4px);
box-shadow: 0px 4px 12px 0 rgba(31, 135, 95, 0.500);
}
> div.product-details-wrapper {
width: 80%;
margin-right: auto;
margin-left: auto;
> p.product-description {
max-width: 70ch;
}
}
> div.product-cta-button-wrapper {
margin-top: 2em;
display: flex;
flex-direction: column;
align-items: center;
gap: 36px;
> a.check-github-url {
color: black;
font-weight: 600;
}
}
}
}
40 changes: 40 additions & 0 deletions src/views/Careers/style.view-careers.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/views/Careers/style.view-careers.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions src/views/Careers/style.view-careers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,46 @@ div.careers {
row-gap: 3em;
}
}
}

// media-queries for different resolutions and screen-widths

// scss-query for screen-size: (maximum-width: 1400px)

@media screen and (max-width: 1400px) {
div.careers {
margin-right: auto;
margin-left: auto;
margin-top: 8em;
width: 90%;
> h1.careers-page-title {
font-size: 26px;
}
> p.careers-page-section-description {
text-align: center;
color: #f2f2f2;
width: 60ch;
margin-right: auto;
margin-left: auto;
margin-top: 1em;
font-size: 14px;
}
> div.volunteer-roles-section {
width: 90%;
margin-top: 3em;
margin-right: auto;
margin-left: auto;
> h3.volunteer-roles-title {
text-align: center;
}
> div.volunteer-roles-wrapper {
margin-top: 3em;
display: grid;
grid-template-columns: auto;
margin-right: auto;
margin-left: auto;
row-gap: 3em;
}
}
}
}
47 changes: 47 additions & 0 deletions src/views/Products/style.view.products.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/views/Products/style.view.products.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit 1d8d571

@vercel
Copy link

@vercel vercel bot commented on 1d8d571 Sep 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/thedesignsystems/settings/billing.

Please sign in to comment.