Fix about

This commit is contained in:
Bartłomiej Pluta (PGS Software)
2018-05-17 12:52:33 +02:00
parent 0bb3fb7d8e
commit dc0542d0cc
8 changed files with 46 additions and 12 deletions

2
gulpfile.js Normal file → Executable file
View File

@@ -46,7 +46,7 @@ gulp.task('serve', function() {
}); });
gulp.watch(config.htmlIn, function() { sequence('html', 'reload') }); gulp.watch(config.htmlIn, function() { sequence('html', 'reload') });
gulp.watch(config.scssIn, function() { sequence('sass', 'css', 'reload') }); gulp.watch(config.scssIn, function() { sequence('sass', 'css' ) });
gulp.watch(config.jsIn, function() { sequence('js', 'reload') }); gulp.watch(config.jsIn, function() { sequence('js', 'reload') });
gulp.watch(config.imgIn, function() { sequence('img', 'reload') }); gulp.watch(config.imgIn, function() { sequence('img', 'reload') });
gulp.watch(config.svgIn, function() { sequence('svg', 'reload') }); gulp.watch(config.svgIn, function() { sequence('svg', 'reload') });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -1,14 +1,7 @@
.about { .about {
background-color: $background-light; background-color: $background-light;
width: 100%; min-width: 320px;
overflow-x: hidden; padding: 50px 0 0;
@media all and (max-width: $desktop-xl) {
.about {
padding: 75px 0 0 30px;
height: 710px;
}
}
} }
.about__title { .about__title {
@@ -16,6 +9,19 @@
font-weight: bold; font-weight: bold;
font-size: 48px; font-size: 48px;
color: $primary; color: $primary;
margin: 0;
@media all and (max-width: $tablet) {
font-size: 38px;
}
@media all and (max-width: $phone) {
font-size: 25px;
}
@media all and (max-width: $small-phone) {
font-size: 23px;
}
&--no-wrap { &--no-wrap {
white-space: nowrap; white-space: nowrap;
@@ -40,3 +46,16 @@
} }
} }
} }
.about__what-you-get {
img {
position: relative;
margin-top: -50px;
top: 70px;
@media all and (max-width: $phone) {
height: 400px;
}
}
}

17
src/scss/_feature.scss Normal file → Executable file
View File

@@ -3,7 +3,14 @@
} }
.feature__icon { .feature__icon {
text-align: left; text-align: right;
@media all and (max-width: $phone) {
img {
width: 90px;
}
}
} }
.feature__title { .feature__title {
@@ -12,10 +19,18 @@
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
color: $dark-text; color: $dark-text;
@media all and (max-width: $phone) {
font-size: 14px;
}
} }
.feature__description { .feature__description {
font-family: Montserrat, sans-serif; font-family: Montserrat, sans-serif;
font-size: 14px; font-size: 14px;
color: $regular-text; color: $regular-text;
@media all and (max-width: $phone) {
font-size: 12px;
}
} }

View File

@@ -1,4 +1,4 @@
body { .wrapper {
overflow-x: hidden; overflow-x: hidden;
max-width: 100%; max-width: 100%;
} }