Skip to content
Snippets Groups Projects
Commit 42dbd08d authored by Aliaksandr BUDZKO's avatar Aliaksandr BUDZKO
Browse files

feat: respnsiveness tablet 768px

parent 56400917
Branches
No related tags found
No related merge requests found
...@@ -46,20 +46,16 @@ ...@@ -46,20 +46,16 @@
a:hover { a:hover {
color: $primary_pink; color: $primary_pink;
} }
a:visited {
color: $primary_black;
}
} }
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.TopLinks { .TopLinks {
justify-content: center;
.Logo { .Logo {
font-size: 5vw; font-size: 2vw;
float: left;
} }
.Links { .Links {
......
...@@ -16,7 +16,7 @@ html { ...@@ -16,7 +16,7 @@ html {
@media (max-width: 768px) { @media (max-width: 768px) {
.top-bar { .top-bar {
position: relative; position: fixed;
} }
} }
...@@ -47,7 +47,7 @@ html { ...@@ -47,7 +47,7 @@ html {
@media (max-width: 768px) { @media (max-width: 768px) {
.footer{ .footer{
a { a {
font-size: 2vw; font-size: 0.8rem;
} }
} }
} }
......
...@@ -229,11 +229,11 @@ ...@@ -229,11 +229,11 @@
background-position: bottom, 105% 48%, -5% 60%; background-position: bottom, 105% 48%, -5% 60%;
.MiddleBlock { .MiddleBlock {
max-width: 80vw; max-width: 80%;
.Title { .Title {
font-size: 3vw; font-size: 1.4rem;
line-height: 3.4vw; line-height: 1.8rem;
} }
.Caption { .Caption {
...@@ -242,14 +242,15 @@ ...@@ -242,14 +242,15 @@
.Comments { .Comments {
font-size: 0.8rem;
line-height: 1.3rem;
.FirstComment { .FirstComment {
font-size: 2.4vw;
line-height: 2.8vw;
} }
.SecondComment { .SecondComment {
font-size: 1.6vw;
line-height: 2vw;
} }
} }
...@@ -258,12 +259,8 @@ ...@@ -258,12 +259,8 @@
max-width: 60%; max-width: 60%;
align-self: center; align-self: center;
Button { a {
font-family: $primary_font; width: fit-content;
font-size: 2vw;
width: 100%;
height: 50%;
} }
} }
...@@ -277,11 +274,11 @@ ...@@ -277,11 +274,11 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
bottom: 5%; bottom: 2%;
.Logos { .Logos {
margin-right: 5%; margin-right: 5%;
max-width: 40%; max-width: 30%;
flex-direction: column; flex-direction: column;
...@@ -292,9 +289,9 @@ ...@@ -292,9 +289,9 @@
p { p {
max-width: 100%; max-width: 100%;
font-size: 0.8rem;
line-height: 1.3rem;
font-size: 1.8vw;
line-height: 2.2vw;
} }
} }
...@@ -302,21 +299,18 @@ ...@@ -302,21 +299,18 @@
max-width: 40%; max-width: 40%;
.BigCaption { .BigCaption {
font-size: 2.2vw; font-size: $mobile_section_subtitle_size;
line-height: 2.6vw; line-height: $mobile_section_subtitle_line_height;
margin-bottom: 10%; margin-bottom: 10%;
} }
Button { a {
font-size: 1.8vw; width: fit-content;
width: 100%;
height: 30%;
} }
.SmallCaption { .SmallCaption {
font-size: 2vw; font-size: 0.8rem;
line-height: 2.4vw; line-height: 1.3rem;
} }
} }
} }
......
...@@ -84,64 +84,32 @@ ...@@ -84,64 +84,32 @@
.CloudSection { .CloudSection {
min-height: 70vh; min-height: 70vh;
padding-top: 4%;
padding-bottom: 2%;
.UpperBlock { .UpperBlock {
font-size: 4vw;
max-width: 40%;
text-align: center; text-align: center;
} }
.Cloud { .Cloud {
margin-top: 10%; margin-top: 2%;
max-width: 60vw; max-width: 30%;
max-height: 70vh; max-height: 25%;
} }
.BottomBlock { .BottomBlock {
font-size: 4vw; margin-top: 0;
line-height: 4.4vw;
max-width: 40%; max-width: 40%;
.Caption { .Caption {
font-size: 2.5vw; max-width: 80%;
line-height: 2.9vw; margin: 15px auto;
max-width: 70%;
}
} }
;
} }
} }
@media (max-width: 992px) {
.CloudSection {
.UpperBlock {
font-size: 4vw;
line-height: 4.4vw;
max-width: 50%;
text-align: center;
} }
.Cloud {
margin-top: 10%;
margin-bottom: 10%;
max-width: 60vw;
max-height: 70vh;
}
.BottomBlock {
font-size: 4vw;
line-height: 4.4vw;
.Caption {
font-size: 2.5vw;
line-height: 2.9vw;
}
}
}
}
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
.CloudSection { .CloudSection {
......
...@@ -102,29 +102,19 @@ ...@@ -102,29 +102,19 @@
//ipad
@media (max-width: 768px) { @media (max-width: 768px) {
.FeatureSection { .FeatureSection {
min-height: 50vh;
.LeftSide {
.Feature {
font-size: 3vw;
line-height: 3.4vw;
}
}
.RightSide { .RightSide {
.Bubble { .Bubble {
width: 90%; width: 90%;
font-size: 2vw;
} }
.Author { .Author {
font-size: 2vw; padding: 0 0 1% 15%;
line-height: 2.5vw; margin-top: -15px;
} }
} }
} }
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: left; justify-content: left;
flex-wrap: wrap;
.LeftSide { .LeftSide {
flex-basis: 50%; flex-basis: 50%;
...@@ -84,6 +83,21 @@ ...@@ -84,6 +83,21 @@
} }
} }
@media (max-width: 768px) {
.LandingSection {
flex-direction: column;
padding-top: 15%;
.RightSide {
margin-left: 0;
}
}
}
@media (max-width: 575.98px) { @media (max-width: 575.98px) {
.LandingSection { .LandingSection {
flex-direction: column; flex-direction: column;
......
...@@ -97,18 +97,22 @@ ...@@ -97,18 +97,22 @@
} }
@media (max-width: 992px) { //@media (max-width: 992px) {
.StatsSection { // .StatsSection {
min-height: 90vh; // min-height: 90vh;
//
} // }
} //}
@media (max-width: 768px) { @media (max-width: 768px) {
.StatsSection { .StatsSection {
min-height: 80vh; min-height: 70vh;
flex-direction: column-reverse; flex-direction: column-reverse;
padding-bottom: 20%;
padding-top: 0;
position: relative;
.LeftSide { .LeftSide {
vertical-align: middle; vertical-align: middle;
...@@ -116,16 +120,17 @@ ...@@ -116,16 +120,17 @@
max-width: 80%; max-width: 80%;
margin-top: 5%; margin-top: 5%;
.Title {
font-size: 4vw;
line-height: 4.4vw;
}
.Caption { .Caption {
font-size: 2vw; position: absolute;
line-height: 2.4vw; left: 35%;
color: white; right: 5%;
max-width: 80%; bottom: 10%;
max-width: 55%;
font-size: $mobile_section_subtitle_size;
line-height: $mobile_section_subtitle_line_height;
} }
} }
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-wrap: wrap;
color: $primary_black; color: $primary_black;
font-family: $primary_font; font-family: $primary_font;
...@@ -106,32 +105,32 @@ ...@@ -106,32 +105,32 @@
@media (max-width: 768px) { @media (max-width: 768px) {
.TowerSection { .TowerSection {
min-height: 50vh; flex-direction: column;
flex-direction: row; text-align: center;
justify-content: center; min-height: 70vh;
background-position: 95% 0;
padding-top: 3%;
padding-bottom: 3%;
.LeftSide { .LeftSide {
flex-basis: 40%;
.TowerImage { .TowerImage {
max-width: 40vw; width: 70vw;
max-height: 30vh; height: 40vh;
} }
} }
.RightSide { .RightSide {
flex-basis: 40%; padding-top: 5%;
.Title { max-width: 60%;
font-size: 5vw;
line-height: 5.4vw;
}
.Caption { .Caption {
font-size: 2.7vw; padding-top: 4%;
line-height: 3.1vw; max-width: 60%;
margin: 0 auto;
} }
} }
} }
} }
@media (max-width: 375px) { @media (max-width: 375px) {
......
...@@ -86,29 +86,25 @@ ...@@ -86,29 +86,25 @@
.VscodeSection { .VscodeSection {
flex-direction: column; flex-direction: column;
text-align: center; text-align: center;
min-height: 60vh; min-height: 70vh;
background-position: 95% 0; background-position: 95% 0;
padding-top: 2%;
padding-bottom: 2%;
.LeftSide { .LeftSide {
.VscodeImage { .VscodeImage {
margin-top: 2%;
width: 70vw; width: 70vw;
height: 40vh; height: 40vh;
} }
} }
.RightSide { .RightSide {
padding-top: 5%; padding: 5% 0 0 0;
.Title {
font-size: 5vw;
line-height: 5vw;
}
.Caption { .Caption {
font-size: 2.7vw; max-width: 70%;
line-height: 2.7vw; margin: 4% auto 0 auto;
} }
} }
} }
......
...@@ -28,5 +28,5 @@ $mobile_section_subtitle_size: 1rem; ...@@ -28,5 +28,5 @@ $mobile_section_subtitle_size: 1rem;
$mobile_section_subtitle_line_height: 1.4rem; $mobile_section_subtitle_line_height: 1.4rem;
$mobile_section_caption_size: 0.6rem; $mobile_section_caption_size: 0.8rem;
$mobile_section_caption_line_height: 1.1rem; $mobile_section_caption_line_height: 1.2rem;
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment