Skip to content
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

Feature/cross browser compatibility #932

Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 39 additions & 11 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,13 @@ h1.docTitle_node_modules-\@docusaurus-theme-classic-src-theme-DocItem- {

@media (min-width: 997px) {
.menu_SIkG {
flex-grow: 1;
padding: 1rem !important;
flex-grow: 1;
padding: 1rem !important;
}
}

/* New */


.markdown > h2 {
--ifm-h2-font-size: 1.875rem;
margin-bottom: 0.8rem;
Expand Down Expand Up @@ -534,7 +533,7 @@ a:hover {
display: flex;
align-items: center;
flex-direction: column;
margin: 0 3rem;
margin: auto;
gap: 2rem;
}

Expand Down Expand Up @@ -563,7 +562,7 @@ a:hover {
display: flex;
gap: calc(2rem + 2px);
padding: 1.5rem 0;
margin: 0 10rem;
margin: auto;
}

.card__wide ul {
Expand Down Expand Up @@ -628,11 +627,13 @@ a:hover {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
justify-content: space-between;
width: 100%;
}

.organization-feature-card {
max-width: 320px;
gap: auto;
flex: 1;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -734,9 +735,9 @@ a:hover {
.app-feature-card {
display: flex;
flex-direction: row;
padding: 4rem;
/* padding: 4rem;
gap: 5rem;
height: 60vh;
height: 60vh; */
}
.app-feature-card__image {
flex: 1;
Expand All @@ -758,7 +759,6 @@ a:hover {
align-items: center;
}


@media only screen and (max-width: 1199px) {
.app-feature-card {
flex-direction: column;
Expand Down Expand Up @@ -790,7 +790,8 @@ a:hover {
/* Section - 6 */

.SixthPanel .TwoColumns {
grid-template-columns: 2fr 3fr;
grid-template-columns: 4fr 7fr;
align-items: center;
}

.SixthPanel .left div {
Expand Down Expand Up @@ -961,6 +962,10 @@ a:hover {
padding-left: 0 !important;
}

.SixthPanel .column.right .prism-code{
margin-right: 0px !important;
}

/* Section 7 - Participation-feature-card */
.participation-feature-card__image img {
width: 50vw;
Expand Down Expand Up @@ -991,14 +996,19 @@ a:hover {
height: 50vh;
overflow: hidden;
}

.app-feature-card__image {
justify-content: end;
}
}

/* Styles for screens larger than 1440px */

@media (min-width: 1920px) {
.card__description,
.SixthPanel .left div,
.EightPanel p, .card__wide li {
.EightPanel p,
.card__wide li {
font-size: 1rem;
}
.card__wide li {
Expand All @@ -1019,4 +1029,22 @@ a:hover {
.SixthPanel {
align-items: center;
}

/* Section - 2 */

.organization-feature-cards {
height: 30vh;
}
}

@media only screen and (min-width: 961px) {
.TwoColumns,
.card__container,
.card__wide {
width: 70vw;
max-width: 1280px !important;
}
.EightPanel .column {
padding-right: 0 !important;
}
}
21 changes: 11 additions & 10 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@
.NativeDevelopment {
overflow-y: hidden;
}
.NativeDevelopment .left {
margin: auto;
}

.NativeDevelopment .dissection {
position: relative;
Expand Down Expand Up @@ -273,7 +276,7 @@

@media only screen and (min-width: 961px) {
.NativeDevelopment .dissection {
height: 300px;
height: auto;
}
}

Expand Down Expand Up @@ -313,9 +316,9 @@

/* Correct for whitespace in the image of phones */
.SixthPanel .column.left {
margin-top: -25px;
/* margin-top: -25px;
padding-top: 30px;
left: 300px;
left: 300px; */
}

/* Correction for the bottom space in section six*/
Expand Down Expand Up @@ -346,7 +349,7 @@
border-radius: 0;
font-size: 80%;
height: 450px;
width: fit-content;
width: 100%;
}

@media only screen and (max-width: 480px) {
Expand Down Expand Up @@ -387,14 +390,14 @@
@media only screen and (min-width: 961px) {
.SixthPanel .TwoColumns .column.right {
/* Make flush with top and bottom */
margin-top: -50px;
/* margin-top: -50px; */
/* Get rid of default left padding */
padding-left: 6rem;
Abhi-MS marked this conversation as resolved.
Show resolved Hide resolved
/* padding-left: 6rem; */
max-width: 100%;
padding-left: 0;
}

.SixthPanel .TwoColumns {
margin-left: 8rem;
margin-right: 8rem;
justify-content: space-between;
}

Expand Down Expand Up @@ -624,9 +627,7 @@

@media only screen and (min-width: 961px) {
.TwoColumns {
width: 80vw;
margin: 0 auto;
max-width: 900px;
grid-template-columns: repeat(2, 1fr);
grid-template-areas: "first last";
}
Expand Down
Loading