Compare commits
17 Commits
rwd-footer
...
review-imp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1359ee9131 | ||
|
|
5e147407c8 | ||
|
|
fcb9969cd1 | ||
|
|
52745b0535 | ||
|
|
84122d6d91 | ||
|
|
146107b31a | ||
|
|
b0d501c360 | ||
|
|
65e57ca0ce | ||
|
|
dc0542d0cc | ||
|
|
0bb3fb7d8e | ||
|
|
c18b26e613 | ||
|
|
5532b9e015 | ||
|
|
664cd80b37 | ||
|
|
3153593ea5 | ||
|
|
f15138e0e1 | ||
|
|
def66a6fd3 | ||
|
|
45f2353012 |
2
gulpfile.js
Normal file → Executable file
@@ -46,7 +46,7 @@ gulp.task('serve', function() {
|
||||
});
|
||||
|
||||
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.imgIn, function() { sequence('img', 'reload') });
|
||||
gulp.watch(config.svgIn, function() { sequence('svg', 'reload') });
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 464 KiB After Width: | Height: | Size: 400 KiB |
84
src/index.html
Normal file → Executable file
@@ -35,6 +35,7 @@
|
||||
<span class="brand__name">Fork</span>
|
||||
<span class="brand__name brand__name--emph">IO</span>
|
||||
</div>
|
||||
<button class="navbar__content__button navbar__content__button--phone rounded-button rounded-button--strong">Buy now</button>
|
||||
<button class="navbar__content__toggler navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
|
||||
aria-controls="navbarNavDropdown" aria-expanded="true" aria-label="Toggle navigation">
|
||||
<img src="img/navbar/sandwich.svg" alt="">
|
||||
@@ -53,18 +54,21 @@
|
||||
<li class="nav-item">
|
||||
<a class="navbar__link nav-link" href="#">Support</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button class="navbar__content__button navbar__content__button--desktop rounded-button rounded-button--strong">Buy now</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<button class="navbar__content__button rounded-button rounded-button--strong">Buy now</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<header class="header">
|
||||
<div>
|
||||
<div class="header__text">
|
||||
<p class="header__title">Fork app</p>
|
||||
<p class="header__subtitle">A real gamechanger in the world of web development</p>
|
||||
<p class="header__description">V. 2.8 for Mac and Windows</p>
|
||||
</div>
|
||||
<div class="header__image"> </div>
|
||||
</header>
|
||||
<div class="download">
|
||||
<a href="#" class="rounded-button rounded-button--very-strong download__rounded-button--translated">
|
||||
@@ -244,25 +248,28 @@
|
||||
<div class="row justify-content-center">
|
||||
<div class="social__content col-10">
|
||||
<div class="social__github">
|
||||
<button class="rect-button rect-button--github rect-button--fixed-width">
|
||||
<a href="https://github.com/bartlomiej-pluta/forkio" target="_blank"
|
||||
class="rect-button rect-button--github rect-button--fixed-width">
|
||||
<span class="rect-button__icon fab fa-github"></span>
|
||||
GitHub
|
||||
</button>
|
||||
<p class="social__stats">7 352 Followers</p>
|
||||
</a>
|
||||
<p id="github-watchers" class="social__stats"></p>
|
||||
</div>
|
||||
<div class="social__twitter">
|
||||
<button class="rect-button rect-button--twitter rect-button--fixed-width">
|
||||
<a href="https://twitter.com/pgssoftware" target="_blank"
|
||||
class="rect-button rect-button--twitter rect-button--fixed-width">
|
||||
<span class="rect-button__icon fab fa-twitter"></span>
|
||||
Twitter
|
||||
</button>
|
||||
<p class="social__stats">136 312 Followers</p>
|
||||
</a>
|
||||
<p class="social__stats"></p>
|
||||
</div>
|
||||
<div class="social__facebook">
|
||||
<button class="rect-button rect-button--facebook rect-button--fixed-width">
|
||||
<a href="https://www.facebook.com/pgs.software" target="_blank"
|
||||
class="rect-button rect-button--facebook rect-button--fixed-width">
|
||||
<span class="rect-button__icon fab fa-facebook-f"></span>
|
||||
Facebook
|
||||
</button>
|
||||
<p class="social__stats">218 092 Subscribers</p>
|
||||
</a>
|
||||
<p class="social__stats"></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -271,50 +278,60 @@
|
||||
<p class="testimonials__h1">People are talking about fork</p>
|
||||
<div class="testimonials__content container">
|
||||
<div class="testimonials__row row">
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/1.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/1.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
Sed vestibulum scelerisque urna, eu finibus leo facilisis sit amet. Proin id dignissim
|
||||
magna.
|
||||
Sed varius urna et pulvinar venenatis.
|
||||
</p>
|
||||
</div>
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/2.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/2.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
Donec euismod dolor ut ultricies consequat. Vivamus urna ipsum, rhoncus molestie neque ac,
|
||||
mollis eleifend nibh.
|
||||
</p>
|
||||
</div>
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/3.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/3.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
In efficitur in velit et tempus. Duis nec odio dapibus, suscipit erat fringilla, imperdiet
|
||||
nibh.
|
||||
Morbi tempus auctor felis ac vehicula.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="testimonials__row row">
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/4/1.png" alt="Smashing Magazine">
|
||||
<img class="testimonial__logo" src="img/testimonials/4/2.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/4/1.png" alt="Smashing Magazine">
|
||||
<img src="img/testimonials/4/2.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
Sed vestibulum scelerisque urna, eu finibus leo facilisis sit amet. Proin id dignissim
|
||||
magna.
|
||||
Sed varius urna et pulvinar venenatis.
|
||||
</p>
|
||||
</div>
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/5.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/5.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
Praesent ut eros tristique, malesuada lectus vel, lobortis massa. Nulla faucibus lorem id
|
||||
arcu
|
||||
consequat faucibus.
|
||||
</p>
|
||||
</div>
|
||||
<div class="testimonial col-12 col-xl-4">
|
||||
<img class="testimonial__logo" src="img/testimonials/6.png" alt="Smashing Magazine">
|
||||
<div class="testimonial col-12 col-sm-6 col-xl-4">
|
||||
<div class="testimonial__logo">
|
||||
<img src="img/testimonials/6.png" alt="Smashing Magazine">
|
||||
</div>
|
||||
<p class="testimonial__text">
|
||||
Fusce pharetra erat id odio blandit, nec
|
||||
pharetra eros venenatis. Pellentesque porttitor cursus massa et vestibulum.
|
||||
@@ -330,7 +347,7 @@
|
||||
<p class="pricing__title">Fork Subscription Pricing</p>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-8 col-xl-3">
|
||||
<div class="price-wrapper col-md-3 col-sm-6 col-7">
|
||||
<div class="price">
|
||||
<p class="price__title">Students</p>
|
||||
<p class="price__value">$29</p>
|
||||
@@ -342,7 +359,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-8 col-xl-3">
|
||||
<div class="price-wrapper col-md-3 col-sm-6 col-7">
|
||||
<div class="price">
|
||||
<p class="price__title">Professional</p>
|
||||
<p class="price__value">$59</p>
|
||||
@@ -354,7 +371,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-8 col-xl-3">
|
||||
<div class="price-wrapper col-md-3 col-sm-6 col-7">
|
||||
<div class="price">
|
||||
<p class="price__title">Agency</p>
|
||||
<p class="price__value">$99</p>
|
||||
@@ -366,7 +383,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-8 col-xl-3">
|
||||
<div class="price-wrapper col-md-3 col-sm-6 col-7">
|
||||
<div class="price">
|
||||
<p class="price__title">Enterprise</p>
|
||||
<p class="price__value">$159</p>
|
||||
@@ -400,9 +417,10 @@
|
||||
Subscribe to our newsletter
|
||||
</div>
|
||||
<div class="col-12 col-xl-6 oneline__form">
|
||||
<input class="textfield oneline__form__component--growing" title="Email" placeholder="Email...">
|
||||
<button class="rounded-button rounded-button--uppercase oneline__form__component--fixed"
|
||||
type="submit">Subscribe
|
||||
<input class="newsletter__form-element textfield oneline__form__component--growing" title="Email" placeholder="Email...">
|
||||
<button class="newsletter__form-element rounded-button rounded-button--uppercase oneline__form__component--fixed"
|
||||
type="submit">
|
||||
Subscribe
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
18
src/js/script.js
Normal file → Executable file
@@ -9,6 +9,7 @@
|
||||
|
||||
if (scrollTop >= scrollThreshold) {
|
||||
$('.navbar').addClass('navbar--shrink');
|
||||
$('#navbarNavDropdown').collapse('hide');
|
||||
} else {
|
||||
$('.navbar').removeClass('navbar--shrink');
|
||||
}
|
||||
@@ -20,4 +21,21 @@
|
||||
autoplay: true,
|
||||
autoplaySpeed: 4000,
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
$('#navbarNavDropdown').collapse('hide');
|
||||
});
|
||||
})(jQuery);
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
const p = $('#github-watchers');
|
||||
$.get({
|
||||
//url: 'https://api.github.com/repos/bartlomiej-pluta/forkio',
|
||||
url: 'https://localhost',
|
||||
success: function(data) {
|
||||
p.text((data ? data.watchers_count : 'No') + ' Watchers');
|
||||
},
|
||||
});
|
||||
})(jQuery);
|
||||
|
||||
35
src/scss/_about.scss
Normal file → Executable file
@@ -1,12 +1,7 @@
|
||||
.about {
|
||||
background-color: $background-light;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
.about {
|
||||
padding: 75px 0 0 30px;
|
||||
height: 710px;
|
||||
}
|
||||
}
|
||||
min-width: 320px;
|
||||
padding: 50px 0 0;
|
||||
}
|
||||
|
||||
.about__title {
|
||||
@@ -14,6 +9,19 @@
|
||||
font-weight: bold;
|
||||
font-size: 48px;
|
||||
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 {
|
||||
white-space: nowrap;
|
||||
@@ -38,3 +46,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.about__what-you-get {
|
||||
img {
|
||||
position: relative;
|
||||
margin-top: -50px;
|
||||
top: 70px;
|
||||
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
height: 400px;
|
||||
}
|
||||
}
|
||||
}
|
||||
34
src/scss/_author.scss
Normal file → Executable file
@@ -9,19 +9,43 @@
|
||||
width: 85px;
|
||||
height: 85px;
|
||||
border-radius: 50%;
|
||||
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
height: 65px;
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.author__details {
|
||||
margin-left: 23px;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
margin-left: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.author__name {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding: 0 5px 0 0;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: $primary-dark;
|
||||
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.nickname {
|
||||
@@ -37,5 +61,13 @@
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
7
src/scss/_brand.scss
Normal file → Executable file
@@ -5,6 +5,9 @@
|
||||
.brand__logo {
|
||||
height: 45px;
|
||||
margin-right: 17px;
|
||||
@media all and (max-width: $phone) {
|
||||
height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.brand__name {
|
||||
@@ -15,6 +18,10 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
&--emph {
|
||||
color: $primary;
|
||||
font-style: normal;
|
||||
|
||||
53
src/scss/_buttons.scss
Normal file → Executable file
@@ -7,6 +7,10 @@
|
||||
border-radius: 30px;
|
||||
transition: $hover-duration;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
padding: 7px 20px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: darken($primary, $hover-threshold);
|
||||
transition: $hover-duration;
|
||||
@@ -24,6 +28,10 @@
|
||||
@extend .rounded-button--strong;
|
||||
font-size: 21px;
|
||||
padding: 15px 60px;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
&--uppercase {
|
||||
@@ -45,10 +53,24 @@
|
||||
text-align: left;
|
||||
line-height: 30px;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
padding: 10px 15px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($primary, $hover-threshold);
|
||||
cursor: pointer;
|
||||
transition: $hover-duration;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&--github {
|
||||
@@ -57,6 +79,7 @@
|
||||
|
||||
&:hover {
|
||||
background-color: darken($github-color, $hover-threshold);
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,6 +89,7 @@
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($twitter-color, $hover-threshold);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,11 +99,24 @@
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($facebook-color, $hover-threshold);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
&--fixed-width {
|
||||
width: 240px;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
width: 180px;
|
||||
}
|
||||
}
|
||||
|
||||
&--small {
|
||||
@@ -90,6 +127,10 @@
|
||||
color: $primary;
|
||||
transition: $hover-duration;
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: darken($background-light, $hover-threshold);
|
||||
transition: $hover-duration;
|
||||
@@ -99,4 +140,16 @@
|
||||
|
||||
.rect-button__icon {
|
||||
margin-right: 35px;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
margin-right: 35px;
|
||||
}
|
||||
}
|
||||
1
src/scss/_download.scss
Normal file → Executable file
@@ -1,6 +1,7 @@
|
||||
.download {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.download__rounded-button--translated {
|
||||
|
||||
33
src/scss/_editor.scss
Normal file → Executable file
@@ -1,14 +1,35 @@
|
||||
.editor {
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.editor__description {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.editor__title {
|
||||
padding: 0 10px;
|
||||
margin-top: 60px;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 54px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: $primary-dark;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 45px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 33px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.editor__subtitle {
|
||||
@@ -17,6 +38,18 @@
|
||||
font-size: 21px;
|
||||
font-weight: 400;
|
||||
color: $dark-text;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.editor__github {
|
||||
|
||||
17
src/scss/_feature.scss
Normal file → Executable file
@@ -3,7 +3,14 @@
|
||||
}
|
||||
|
||||
.feature__icon {
|
||||
text-align: left;
|
||||
text-align: right;
|
||||
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
img {
|
||||
width: 90px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.feature__title {
|
||||
@@ -12,10 +19,18 @@
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: $dark-text;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.feature__description {
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 14px;
|
||||
color: $regular-text;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
9
src/scss/_footer.scss
Normal file → Executable file
@@ -3,6 +3,7 @@
|
||||
padding-top: 65px;
|
||||
border-top: solid 1px $background-light;
|
||||
margin-bottom: 95px;
|
||||
min-width: 320px;
|
||||
|
||||
&__about {
|
||||
&__description {
|
||||
@@ -49,6 +50,14 @@
|
||||
font-weight: bold;
|
||||
font-size: 30px;
|
||||
color: #3f3f3f;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
font-size: 27px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&__availability {
|
||||
|
||||
24
src/scss/_form.scss
Normal file → Executable file
@@ -11,6 +11,14 @@
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: $gray-text;
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,15 +26,27 @@
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.oneline__form__component--growing {
|
||||
width: 100%;
|
||||
min-width: 100px;
|
||||
margin: 0 10px;
|
||||
margin: 5px 10px;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
margin: 5px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.oneline__form__component--fixed {
|
||||
white-space: nowrap;
|
||||
margin: 0 10px;
|
||||
margin: 5px 10px;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
margin: 5px 5px;
|
||||
}
|
||||
}
|
||||
3
src/scss/_global.scss
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
body {
|
||||
.wrapper {
|
||||
overflow-x: hidden;
|
||||
max-width: 100%;
|
||||
}
|
||||
40
src/scss/_header.scss
Normal file → Executable file
@@ -1,7 +1,21 @@
|
||||
.header {
|
||||
background: black url(../img/header/img.png) no-repeat center 120px/ cover;
|
||||
height: 100vh;
|
||||
padding-top: 110px;
|
||||
width: 100%;
|
||||
display: table;
|
||||
background: $hero-background;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.header__text {
|
||||
display: table-row;
|
||||
background: $hero-background;
|
||||
}
|
||||
|
||||
.header__image {
|
||||
background: $hero-background url(../img/header/img.png) no-repeat center top / cover;
|
||||
display: table-row;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.header__title {
|
||||
@@ -19,13 +33,7 @@
|
||||
color: $primary;
|
||||
text-align: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
.header__subtitle {
|
||||
font-size: 24px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.header__description {
|
||||
@@ -37,3 +45,19 @@
|
||||
text-transform: uppercase;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
.header__title {
|
||||
font-size: 60px;
|
||||
}
|
||||
|
||||
.header__subtitle {
|
||||
font-size: 20px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
|
||||
.header__description {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
45
src/scss/_navbar.scss
Normal file → Executable file
@@ -16,27 +16,60 @@ $shrinking-duration: 0.4s;
|
||||
|
||||
.navbar {
|
||||
background-color: white;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.navbar__content {
|
||||
display: flex;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.navbar__content__header {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.navbar__content__toggler {
|
||||
order: 4;
|
||||
border: none;
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar__content__body {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
.navbar__content__button {
|
||||
order: 3;
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
&--desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&--phone {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: $desktop) {
|
||||
&--desktop {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
&--phone {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
&--desktop {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
&--phone {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar__link {
|
||||
@@ -49,7 +82,7 @@ $shrinking-duration: 0.4s;
|
||||
margin: 0 20px;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
margin: 0 5px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1
src/scss/_news.scss
Normal file → Executable file
@@ -1,5 +1,6 @@
|
||||
.news {
|
||||
padding-top: 70px;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.news__title {
|
||||
|
||||
19
src/scss/_newsletter.scss
Normal file → Executable file
@@ -1,6 +1,7 @@
|
||||
.newsletter {
|
||||
padding: 55px 0;
|
||||
background-color: #f4f4f4;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.newsletter__title {
|
||||
@@ -12,7 +13,23 @@
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
margin-bottom: 50px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.newsletter__form-element {
|
||||
font-size: 16px;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
105
src/scss/_pricing.scss
Normal file → Executable file
@@ -1,45 +1,58 @@
|
||||
.pricing {
|
||||
background: $background-violet url(../img/testimonials/pricing.png) no-repeat 50% 30%;
|
||||
background: $background-violet url(../img/testimonials/pricing.png) no-repeat center / cover;
|
||||
padding-top: 90px;
|
||||
padding-bottom: 75px;
|
||||
min-width: 320px;
|
||||
}
|
||||
|
||||
.pricing__title {
|
||||
padding: 10px;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-transform: capitalize;
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 38px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.price-wrapper {
|
||||
padding: 40px 15px;
|
||||
height: 560px;
|
||||
transition: $hover-duration;
|
||||
|
||||
&:hover {
|
||||
padding: 0 2px;
|
||||
transition: $hover-duration;
|
||||
|
||||
.price {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
transition: $hover-duration;
|
||||
|
||||
& > .price__title {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
transition: $hover-duration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
height: 470px;
|
||||
}
|
||||
}
|
||||
|
||||
.price {
|
||||
position: relative;
|
||||
margin-top: 110px;
|
||||
margin-bottom: 125px;
|
||||
height: 100%;
|
||||
background-color: rgba(255, 255, 255, 0.06);
|
||||
height: 450px;
|
||||
transition: $hover-duration;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
margin-top: 7px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@media all and (min-width: $desktop-xl) {
|
||||
margin-top: 70px;
|
||||
margin-bottom: 75px;
|
||||
height: 530px;
|
||||
}
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
transition: $hover-duration;
|
||||
|
||||
& > .price__title {
|
||||
background-color: rgba(0, 0, 0, 0.06);
|
||||
transition: $hover-duration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.price__title {
|
||||
@@ -52,6 +65,14 @@
|
||||
padding: 30px 0;
|
||||
text-align: center;
|
||||
transition: $hover-duration;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.price__value {
|
||||
@@ -60,6 +81,14 @@
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.price__period {
|
||||
@@ -82,17 +111,25 @@
|
||||
}
|
||||
|
||||
.price__description {
|
||||
padding: 0 15px;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
text-transform: capitalize;
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
.price__rounded-button--purchase {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding: 10px 0;
|
||||
background-color: rgba(255, 255, 255, 0.15);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
@@ -101,11 +138,25 @@
|
||||
bottom: 35px;
|
||||
margin: auto;
|
||||
display: block;
|
||||
width: 80%;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
text-transform: uppercase;
|
||||
width: 60%;
|
||||
|
||||
@media all and (max-width: $desktop-xl) {
|
||||
font-size: 13px;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 11px;
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
.pricing__footer {
|
||||
|
||||
17
src/scss/_reviews.scss
Normal file → Executable file
@@ -12,6 +12,14 @@
|
||||
font-size: 20px;
|
||||
color: #333333;
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.review__date {
|
||||
@@ -21,4 +29,13 @@
|
||||
font-weight: 500;
|
||||
color: $regular-text;
|
||||
text-align: center;
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
margin-top: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $small-phone) {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
2
src/scss/_social.scss
Normal file → Executable file
@@ -5,7 +5,7 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
@media all and (max-width: $phone) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
40
src/scss/_testimonials.scss
Normal file → Executable file
@@ -1,50 +1,60 @@
|
||||
.testimonials {
|
||||
position: relative;
|
||||
background: $background-violet url(../img/testimonials/testimonials.png) no-repeat 50% 0;
|
||||
background: $background-violet url(../img/testimonials/testimonials.png) no-repeat center 100% / cover;
|
||||
min-width: 320px;
|
||||
|
||||
@media all and (max-width: $tablet) {
|
||||
background: $background-violet url(../img/testimonials/testimonials.png) no-repeat center top;
|
||||
}
|
||||
}
|
||||
|
||||
.testimonials__h1 {
|
||||
padding: 100px 0;
|
||||
padding: 100px 50px;
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 48px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-align: center;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.testimonials__row {
|
||||
padding-bottom: 100px;
|
||||
@media all and (max-width: $desktop) {
|
||||
padding: 0 10px;
|
||||
margin: 0;
|
||||
@media all and (max-width: $tablet) {
|
||||
font-size: 38px;
|
||||
}
|
||||
|
||||
@media all and (max-width: $phone) {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.testimonial {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
min-height: 170px;
|
||||
min-height: 180px;
|
||||
max-width: 300px;
|
||||
margin: 0 auto;
|
||||
|
||||
@media all and (max-width: $desktop) {
|
||||
@media all and (max-width: $phone) {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
@media all and (min-width: $phone) {
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.testimonial__logo {
|
||||
padding-bottom: 40px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.testimonial__text {
|
||||
@media all and (min-width: $desktop-xl) {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
font-family: Source Sans Pro, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
color: white;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.testimonials__delimiter {
|
||||
|
||||
3
src/scss/_variables.scss
Normal file → Executable file
@@ -7,6 +7,8 @@ $light-text: #a291a5;
|
||||
$gray-text: #c8cbcf;
|
||||
$lightgray-text: #d3d1da;
|
||||
|
||||
$hero-background: #010005;
|
||||
|
||||
$background-light: #f4f4f4;
|
||||
$background-violet: #4a3b4e;
|
||||
|
||||
@@ -20,6 +22,7 @@ $github-color: #f3f3f3;
|
||||
$twitter-color: #26a6d1;
|
||||
$facebook-color: #3b5998;
|
||||
|
||||
$small-phone: 350px;
|
||||
$phone: 576px;
|
||||
$tablet: 768px;
|
||||
$desktop: 992px;
|
||||
|
||||