Skip to content

Commit ccdce86

Browse files
author
Eric Schoffstall
committed
Merge pull request gulpjs#24 from stevelacy/code
Add whitespace
2 parents 3626724 + 0719d14 commit ccdce86

File tree

9 files changed

+30
-28
lines changed

9 files changed

+30
-28
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
node_modules
44
build
55
*.node
6-
components
6+
components

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ $ npm install
2626
$ gulp
2727
```
2828

29-
Submit a pull request :D
29+
Submit a pull request :D

dist/css/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ body {
144144
color: inherit;
145145
text-decoration: none;
146146
-webkit-tap-highlight-color: transparent;
147-
-webkit-transition: opacity 0.2s linear;
148147
transition: opacity 0.2s linear;
149148
-webkit-transform: translateX(50%);
150149
-ms-transform: translateX(50%);
@@ -227,7 +226,6 @@ body {
227226
line-height: 60px;
228227
}
229228
.main-header-btn {
230-
-webkit-transition: all 0.4s;
231229
transition: all 0.4s;
232230
color: inherit;
233231
padding: 15px 20px 16px;
@@ -286,6 +284,7 @@ body {
286284
padding-left: 0;
287285
padding-right: 0;
288286
padding: 50px;
287+
margin: 100px 0 100px 0;
289288
}
290289
.benefits:before,
291290
.benefits:after {
@@ -307,7 +306,7 @@ body {
307306
clear: both;
308307
}
309308
.benefits .benefit {
310-
margin-top: 50px;
309+
margin: 50px;
311310
}
312311
@media screen and (min-width: 700px) {
313312
.benefits .benefit {
@@ -350,6 +349,7 @@ body {
350349
width: 100%;
351350
margin-left: auto;
352351
margin-right: auto;
352+
float: left;
353353
}
354354
.benefits .benefit:before,
355355
.benefits .benefit:after {

dist/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ <h1 class='benefit-title'>Easy to Learn</h1>
131131
<script src="js/highlight.js"></script>
132132
<script src="js/script.js"></script>
133133
<script>
134-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
135-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
136-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
137-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
134+
!function(g,u,l,p,j,s){g.GoogleAnalyticsObject=l;g[l]||(g[l]=function(){
135+
(g[l].q=g[l].q||[]).push(arguments)});g[l].l=+new Date;j=u.createElement(p);
136+
s=u.getElementsByTagName(p)[0];j.src='//www.google-analytics.com/analytics.js';
137+
s.parentNode.insertBefore(j,s)}(window,document,'ga','script');
138138

139139
ga('create', 'UA-42485841-3', 'gulpjs.com');
140140
ga('send', 'pageview');

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ gulp.task('default', function(){
3333
});
3434

3535
gulp.watch('src/**/*', ['default']);
36-
lr.listen();
36+
lr.listen();

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "site",
33
"devDependencies": {
4-
"autoprefixer-stylus": "^0.4.0",
5-
"gulp": "^3.8.1",
6-
"gulp-cached": "^1.0.0",
4+
"autoprefixer-stylus": "^0.5.0",
5+
"gulp": "^3.8.11",
6+
"gulp-cached": "^1.0.2",
77
"gulp-gh-pages": "^0.4.0",
8-
"gulp-if": "^1.2.1",
9-
"gulp-livereload": "^3.0.2",
8+
"gulp-if": "^1.2.5",
9+
"gulp-livereload": "^3.7.0",
1010
"gulp-remember": "^0.3.0",
11-
"gulp-stylus": "^1.0.2",
12-
"gulp-uglify": "^1.0.2",
11+
"gulp-stylus": "^2.0.0",
12+
"gulp-uglify": "^1.1.0",
1313
"jeet": "^6.1.2",
14-
"nib": "^1.0.3"
14+
"nib": "^1.1.0"
1515
}
1616
}

src/css/style.styl

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ body
5050

5151
.navbar-links
5252
center()
53-
53+
5454
.navbar-link
5555
padding: 0 15px
5656
border-right: 1px solid rgba(255, 255, 255, 0.3)
57-
57+
5858
&:last-child
5959
border-right: none
6060

@@ -108,27 +108,29 @@ body
108108
col(1/1)
109109
center(max-width: 1024px)
110110
padding: 50px
111+
margin: 100px 0 100px 0
111112

112113
.benefit
113-
margin-top: 50px
114-
114+
margin: 50px
115+
115116
@media screen and (min-width: 700px)
116117
col(1/2, cycle: 2)
117-
118+
118119
@media screen and (max-width: 700px)
119120
col(1/2, cycle: 4)
120121
stack()
122+
float: left
121123

122124
.benefit-title
123125
margin-bottom: 14px
124126
font-size: 22px
125127
font-weight: 500
126-
128+
127129
.benefit-text
128130
color: #7f8c8d
129131
font-size: 16px
130132
line-height: 26px
131-
133+
132134
.sample
133135
min-height: 150px
134136

@@ -159,4 +161,4 @@ body
159161
from
160162
opacity: 0
161163
to
162-
opacity: 1
164+
opacity: 1

src/js/highlight.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
hljs.configure({tabReplace: ' '});
2-
hljs.initHighlightingOnLoad();
2+
hljs.initHighlightingOnLoad();

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