Skip to content

Commit

Permalink
feat(documentation): mobile version
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalosard committed Oct 18, 2022
1 parent 24f59e1 commit d1bf167
Showing 1 changed file with 128 additions and 0 deletions.
128 changes: 128 additions & 0 deletions packages/documentation/src/pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
}
}

@media (max-width: 428px) {
.intro {
height: 220vh !important;
}
}

// @media (max-width: 1024px) {
// .intro {
// height: 170vh !important;
Expand All @@ -25,6 +31,12 @@
width: 100%;
}

@media (max-width: 428px) {
.container {
padding: 50px 40px 50px 40px !important;
}
}

.container {
position: relative;
display: flex;
Expand Down Expand Up @@ -53,6 +65,7 @@
&.industrial_experiance {
padding: 81px 97px 0 66px;
height: calc(100vh - var(--ifm-navbar-height));
overflow: hidden;

@media (max-width: 768px) {
.scroll_down {
Expand All @@ -61,6 +74,17 @@
}
}

@media (max-width: 428px) {
.scroll_down {
bottom: -40px !important;
left: 42% !important;
}

.headline {
margin-left: 0 !important;
}
}

.scroll_down {
position: absolute;
font-size: 5rem;
Expand All @@ -86,6 +110,13 @@
}
}


@media (max-width: 428px) {
&.devices {
height: 926px !important;
}
}

&.devices {
padding: 40px 66px;
min-height: 100vh;
Expand Down Expand Up @@ -123,6 +154,13 @@
width: 340px !important;
}
}

@media (max-width: 428px) {
.image {
top: 220px !important;
height: 80% !important;
}
}
}

&.ux,
Expand Down Expand Up @@ -189,6 +227,13 @@
width: 380px !important;
}
}

@media (max-width: 428px) {
.text_2 {
width: 348px !important;
}
}

}

&.developers {
Expand All @@ -199,6 +244,12 @@
width: 340px !important;
}
}

@media (max-width: 428px) {
.bold {
line-height: 35px !important;
}
}
}

&.features {
Expand Down Expand Up @@ -259,12 +310,34 @@
width: 340px !important;
}
}

@media (max-width: 428px) {
.images {
gap: 10px !important;
}
}
}

&.brand_design {
padding: 40px 66px;
min-height: 100vh;

@media (max-width: 428px) {
.arrow {
display: none !important;
}

.row {
position: absolute;
width: 250%;
left: -100px;
}

.carousel_indicators {
margin-top: 450px;
}
}

.row {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -307,6 +380,13 @@
}
}

@media (max-width: 428px) {
&.components {
background-image: none !important;
background-color: #000028;
}
}

&.components {
padding: 74px 66px;
min-height: 100vh;
Expand Down Expand Up @@ -337,6 +417,17 @@
position: absolute;
}
}

@media (max-width: 428px) {
.text_dark {
color: #ffffff !important;
}

.video {
padding-top: 40px !important;
height: 210% !important;
}
}
}

&.information_cards {
Expand All @@ -359,6 +450,13 @@
}
}

@media (max-width: 428px) {
.column {
flex-direction: column !important;
align-items: center !important;
}
}

.screen {
width: 100%;
}
Expand Down Expand Up @@ -575,6 +673,12 @@
}
}

@media (max-width: 428px) {
.brand_desgin_background_image {
display: none;
}
}

.brand_desgin_background_image {
position: absolute;
z-index: 0;
Expand Down Expand Up @@ -607,6 +711,16 @@
}
}

@media (max-width: 428px) {
.line {
display: none !important;
}

.text_dark {
width: 348px !important;
}
}

.line {
height: 100%;
background-image: linear-gradient(to bottom, #00ffb9, #00cccc);
Expand Down Expand Up @@ -673,6 +787,12 @@
color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 428px) {
.description {
margin: 30px 0 0 0 !important;
}
}

.description {
width: 500px;
margin: 30px 0 0 24px;
Expand Down Expand Up @@ -733,6 +853,14 @@
}
}

@media (max-width: 428px) {
.Card_Info {
position: absolute !important;
}
}



.Card_Icon {
color: var(--theme-color-primary) !important;
}
Expand Down

0 comments on commit d1bf167

Please sign in to comment.