File tree Expand file tree Collapse file tree 4 files changed +39
-15
lines changed Expand file tree Collapse file tree 4 files changed +39
-15
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ body {
159
159
-ms-transform : translateX (50% );
160
160
transform : translateX (50% );
161
161
margin-bottom : 0 ;
162
- font-size : 20 px ;
162
+ font-size : 16 px ;
163
163
font-weight : 300 ;
164
164
line-height : 1 ;
165
165
}
@@ -176,11 +176,30 @@ body {
176
176
left : 50% ;
177
177
}
178
178
.navbar .navbar-links {
179
- position : static;
180
- float : right;
179
+ * zoom : 1 ;
180
+ width : auto;
181
+ max-width : 1440px ;
182
+ float : none;
183
+ display : block;
184
+ margin-right : auto;
185
+ margin-left : auto;
186
+ padding-left : 0 ;
187
+ padding-right : 0 ;
188
+ }
189
+ .navbar .navbar-links : before ,
190
+ .navbar .navbar-links : after {
191
+ content : '' ;
192
+ display : table;
193
+ }
194
+ .navbar .navbar-links : after {
195
+ clear : both;
181
196
}
182
197
.navbar .navbar-links .navbar-link {
183
- padding : 15px ;
198
+ padding : 0 15px ;
199
+ border-right : 1px solid rgba (255 , 255 , 255 , 0.2 );
200
+ }
201
+ .navbar .navbar-links .navbar-link : last-child {
202
+ border-right : none;
184
203
}
185
204
.main-header {
186
205
height : 100% ;
@@ -241,7 +260,7 @@ body {
241
260
.main-info {
242
261
* zoom : 1 ;
243
262
width : auto;
244
- max-width : 800 px ;
263
+ max-width : 1024 px ;
245
264
float : none;
246
265
display : block;
247
266
margin-right : auto;
@@ -268,7 +287,7 @@ body {
268
287
margin-right : 3% ;
269
288
* zoom : 1 ;
270
289
width : auto;
271
- max-width : 800 px ;
290
+ max-width : 1024 px ;
272
291
float : none;
273
292
display : block;
274
293
margin-right : auto;
Original file line number Diff line number Diff line change 23
23
< nav class ="navbar ">
24
24
< a href ="http://gulpjs.com " class ="navbar-title "> gulp.js</ a >
25
25
< div class ="navbar-links ">
26
+ < a href ="https://github.com/gulpjs/gulp/tree/master/docs " class ="navbar-link "> Docs</ a >
26
27
< a href ="http://gulpjs.com/plugins " class ="navbar-link "> Plugins</ a >
27
- < a href ="http ://gulpjs .com/plugins " class ="navbar-link "> Twitter</ a >
28
+ < a href ="https ://twitter .com/gulpjs " class ="navbar-link "> Twitter</ a >
28
29
</ div >
29
30
</ nav >
30
31
< div class ="main-header-content ">
Original file line number Diff line number Diff line change 36
36
transition : opacity .2s linear
37
37
transform : translateX (50% )
38
38
margin-bottom : 0
39
- font-size : 20 px
39
+ font-size : 16 px
40
40
font-weight : 300
41
41
line-height : 1
42
42
50
50
left : 50%
51
51
52
52
.navbar-links
53
- position : static
54
- float : right
53
+ center ()
55
54
56
55
.navbar-link
57
- padding : 15px
58
-
56
+ padding : 0 15px
57
+ border-right : 1px solid rgba (255 , 255 , 255 , 0.2 )
58
+
59
+ & :last-child
60
+ border-right : none
61
+
59
62
.main-header
60
63
height : 100%
61
64
width : 100%
@@ -98,12 +101,12 @@ body
98
101
box-shadow : 0 0 50px rgba (255 ,255 ,255 ,.3 )
99
102
100
103
.main-info
101
- center (max-width : 800 px )
104
+ center (max-width : 1024 px )
102
105
background-color : #f f f
103
106
104
107
.benefits
105
108
col (1 / 1 )
106
- center (max-width : 800 px )
109
+ center (max-width : 1024 px )
107
110
padding : 50px
108
111
109
112
.benefit
Original file line number Diff line number Diff line change 23
23
< nav class ="navbar ">
24
24
< a href ="http://gulpjs.com " class ="navbar-title "> gulp.js</ a >
25
25
< div class ="navbar-links ">
26
+ < a href ="https://github.com/gulpjs/gulp/tree/master/docs " class ="navbar-link "> Docs</ a >
26
27
< a href ="http://gulpjs.com/plugins " class ="navbar-link "> Plugins</ a >
27
- < a href ="http ://gulpjs .com/plugins " class ="navbar-link "> Twitter</ a >
28
+ < a href ="https ://twitter .com/gulpjs " class ="navbar-link "> Twitter</ a >
28
29
</ div >
29
30
</ nav >
30
31
< div class ="main-header-content ">
You can’t perform that action at this time.
0 commit comments