Skip to content

Commit 35ff78e

Browse files
author
contra
authored
Merge pull request #41 from chanonroy/master
added in fourth item in feature box and adjusted mobile responsiveness
2 parents 768a0cd + 75c9049 commit 35ff78e

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

css/main.css

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ body {
6666
}
6767
.subheading + .paragraph {
6868
margin-top: 10px;
69+
padding: 0 30px 0 30px;
6970
}
7071
p.paragraph {
7172
color: rgba(0, 0, 0, .5);
@@ -390,6 +391,13 @@ p.paragraph {
390391
padding: 90px 0;
391392
border-bottom: 1px solid rgba(0, 0, 0, .1);
392393
}
394+
.feature3 .flex {
395+
flex-wrap: wrap;
396+
}
397+
.feature3 .col-6 {
398+
margin-top: 40px;
399+
text-align: center;
400+
}
393401
.feature3 .svg {
394402
margin-bottom: 30px;
395403
color: black
@@ -398,20 +406,8 @@ p.paragraph {
398406
.feature3 .flex {
399407
flex-wrap: wrap;
400408
}
401-
.feature3 .col-4:nth-of-type(1) {
402-
width: 100%;
403-
margin-bottom: 30px;
404-
}
405-
.feature3 .col-4:not(:nth-of-type(1)) {
406-
width: 50%;
407-
}
408-
}
409-
@media (max-width: 500px) {
410-
.feature3 .col-4:nth-of-type(1) {
411-
margin-bottom: 0;
412-
}
413-
.feature3 .col-4:not(:nth-of-type(1)) {
409+
.feature3 .col-6 {
414410
width: 100%;
415-
margin-top: 30px;
411+
text-align: center;
416412
}
417413
}

index.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,34 @@ <h2 class="paragraph">
5555

5656
<div class="feature3">
5757
<div class="container-lrg flex baseline">
58-
<div class="col-4">
58+
<div class="col-6">
5959
<b class="svg center"><img class="mask-img" src="img/browser.svg"></b>
60-
<h3 class="subheading center">Simple Usage</h3>
60+
<h3 class="subheading center">Easy to Use</h3>
6161
<p class="paragraph">
62-
By preferring code over configuration, node best practices, and a minimal API surface - gulp makes things simple like never before.
62+
By preferring code over configuration, gulp keeps things simple and makes complex tasks manageable.
6363
</p>
6464
</div>
65-
<div class="col-4">
65+
<div class="col-6">
6666
<b class="svg center"><img class="mask-img" src="img/guage.svg"></b>
6767
<h3 class="subheading center">Efficient Builds</h3>
6868
<p class="paragraph">
6969
Using the power of node streams, gulp gives you fast builds that don't write intermediary files to disk.
7070
</p>
7171
</div>
72-
<div class="col-4">
72+
<div class="col-6">
7373
<b class="svg center"><img class="mask-img" src="img/atom.svg"></b>
7474
<h3 class="subheading center">Quality Ecosystem</h3>
7575
<p class="paragraph">
7676
By enforcing strict guidelines, we ensure our plugins stay simple and work as expected.
7777
</p>
7878
</div>
79+
<div class="col-6">
80+
<b class="svg center"><img class="mask-img" src="img/book.svg"></b>
81+
<h3 class="subheading center"> Easy to Learn</h3>
82+
<p class="paragraph">
83+
Using node best practices and maintaining a minimal API surface, your build works exactly as you would imagine.
84+
</p>
85+
</div>
7986
</div>
8087
</div>
8188

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy