Skip to content

Commit

Permalink
fix(docs): resolutions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalosard committed Oct 3, 2022
1 parent ef3e055 commit 12327ce
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
43 changes: 41 additions & 2 deletions packages/documentation/src/pages/index.module.scss
Expand Up @@ -2,13 +2,18 @@
.intro {
height: 170vh !important;
min-height: 170vh;
width: 100% !important;
position: absolute;
top: -250px !important;
}
}

@media (max-width: 1024px) {
.intro {
height: 170vh !important;
min-height: 170vh;
position: absolute;
top: -150px;
}
}

Expand Down Expand Up @@ -38,7 +43,7 @@

@media (max-width: 1024px) {
&.industrial_experiance {
height: 965px !important;
height: 1034px !important;
}
}

Expand Down Expand Up @@ -88,6 +93,7 @@
padding: 40px 66px;
min-height: 100vh;
background-image: linear-gradient(#000028, #2d3137);
overflow-x: clip;

.image {
position: absolute;
Expand All @@ -100,6 +106,13 @@
}

@media (max-width: 768px) {
.image {
max-width: none !important;
width: 150% !important;
height: 400% !important;
left: -20%;
}

.text_2 {
width: 340px !important;
}
Expand Down Expand Up @@ -294,16 +307,31 @@
padding: 74px 66px;
min-height: 100vh;
background-image: linear-gradient(to right, white 0 50%, #010021 50% 100%);
overflow: hidden;

.video {
object-fit: cover;
width: 100%;
}

@media (max-width: 768px) {
.headline {
width: 50% !important;
}

.headline .content .bold {
line-height: 35px;
}

.text_2 {
width: 290px !important;
}

.video {
width: 200%;
left: -50%;
position: absolute;
}
}
}

Expand Down Expand Up @@ -547,6 +575,13 @@
position: relative;
}

@media (max-width: 768px) {
.brand_desgin_background_image {
bottom: 0;
top: -30%;
}
}

.brand_desgin_background_image {
position: absolute;
z-index: 0;
Expand Down Expand Up @@ -618,6 +653,10 @@
.hidden {
display: none;
}

.bold {
font-weight: bold;
}
}

@media (max-width: 768px) {
Expand Down Expand Up @@ -681,7 +720,7 @@

.Card_Box {
justify-content: left !important;
margin-top: 140px;
margin-top: 50%;
}

.Card_Line {
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/src/pages/index.tsx
Expand Up @@ -59,7 +59,7 @@ function Headline({ title, subtitle, description, dark = false, size = "h2", tex
<div className={clsx(styles.line, dark ? styles.dark : "", noLine ? styles.hidden : "")}></div>
<div className={clsx(styles.content)}>
<div className={dark || text === "dark" ? styles.text_dark : ""}>{title}</div>
<div className={clsx("bold", dark || text === "dark" ? styles.text_dark : "")}>{subtitle}</div>
<div className={clsx(styles.bold, dark || text === "dark" ? styles.text_dark : "")}>{subtitle}</div>
</div>
</div>

Expand Down

0 comments on commit 12327ce

Please sign in to comment.