mirror of
https://github.com/Nezumi-2711/loi-phan-internship.git
synced 2026-09-22 20:01:33 +00:00
Merge pull request #23 from Nez27/feature/platform-style
Implement style for platform UI.
This commit is contained in:
@@ -16,8 +16,9 @@ $fs-sm: 17px;
|
||||
$fs-md: 18px;
|
||||
$fs-x-md: 20px;
|
||||
$fs-lg: 24px;
|
||||
$fs-x-lg: 48px;
|
||||
$fs-xx-lg: 58px;
|
||||
$fs-x-lg: 32px;
|
||||
$fs-xx-lg: 48px;
|
||||
$fs-xxx-lg: 58px;
|
||||
|
||||
// Size
|
||||
$max-width: 1440px;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
&__heading {
|
||||
@extend %mr-inline-auto;
|
||||
|
||||
font-size: $fs-x-lg;
|
||||
font-size: $fs-xx-lg;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
max-width: 363px;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
&__heading {
|
||||
font-size: $fs-x-lg;
|
||||
font-size: $fs-xx-lg;
|
||||
text-align: center;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
.platform {
|
||||
&__container {
|
||||
max-width: 428px;
|
||||
margin-inline: auto;
|
||||
padding-top: 26px;
|
||||
padding-bottom: 58px;
|
||||
|
||||
background: linear-gradient(
|
||||
0,
|
||||
rgba(253, 197, 94, 0.15) 0%,
|
||||
rgba(253, 197, 94, 0.05) 50%,
|
||||
rgba(253, 197, 94, 0) 100%
|
||||
);
|
||||
}
|
||||
|
||||
&__image-container {
|
||||
@include size(auto, 502px);
|
||||
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
&__main-image {
|
||||
@extend %absolute;
|
||||
@include set-absolute-and-location($top: 0, $right: 0);
|
||||
}
|
||||
|
||||
&__content {
|
||||
padding-top: 52px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
&__heading {
|
||||
font-size: $fs-xx-lg;
|
||||
font-weight: 700;
|
||||
max-width: 371px;
|
||||
}
|
||||
|
||||
&__description {
|
||||
font-size: $fs-md;
|
||||
color: $black;
|
||||
margin-top: 23px;
|
||||
max-width: 366px;
|
||||
}
|
||||
|
||||
&__store-container {
|
||||
@extend %d-flex;
|
||||
@include flex-layout($gap: 27px);
|
||||
|
||||
margin-top: 43px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 840px) {
|
||||
.platform {
|
||||
&__container {
|
||||
@include flex-layout($direction: row-reverse, $align: center);
|
||||
|
||||
display: flex;
|
||||
max-width: 1440px;
|
||||
max-height: 632px;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
&__image-container {
|
||||
@include size(704px, 786px);
|
||||
}
|
||||
|
||||
&__main-image {
|
||||
@include set-absolute-and-location($top: 160px, $right: 0);
|
||||
}
|
||||
|
||||
&__heading {
|
||||
max-width: 643px;
|
||||
}
|
||||
|
||||
&__description {
|
||||
max-width: 550px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.platform {
|
||||
&__container {
|
||||
padding-top: 170px;
|
||||
}
|
||||
|
||||
&__main-image {
|
||||
@include set-absolute-and-location($top: 70px, $right: 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,7 @@
|
||||
&__heading {
|
||||
margin-top: 30px;
|
||||
margin-inline: auto;
|
||||
font-size: $fs-x-lg;
|
||||
font-size: $fs-xx-lg;
|
||||
line-height: 129.9%;
|
||||
font-weight: 700;
|
||||
max-width: 380px;
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
&__heading {
|
||||
margin-top: 20px;
|
||||
font-size: $fs-x-lg;
|
||||
font-size: $fs-xx-lg;
|
||||
text-transform: capitalize;
|
||||
font-weight: 900;
|
||||
max-width: 530px;
|
||||
@@ -292,7 +292,7 @@
|
||||
}
|
||||
|
||||
&__heading {
|
||||
font-size: $fs-xx-lg;
|
||||
font-size: $fs-xxx-lg;
|
||||
line-height: 125%;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,3 +20,4 @@
|
||||
@import "./layouts/offer";
|
||||
@import "./layouts/service";
|
||||
@import "./layouts/menu";
|
||||
@import "./layouts/platform";
|
||||
|
||||
Reference in New Issue
Block a user