8
8
/* Body and structure
9
9
-------------------------------------------------- */
10
10
body {
11
- background-color : # fff ;
12
11
position : relative;
12
+ padding-top : 90px ;
13
+ background-color : # fff ;
14
+ background-image : url (../ img/ grid-18 px-masked.png);
15
+ background-repeat : repeat-x;
13
16
}
14
17
section {
15
18
padding-top : 60px ;
16
19
}
17
- section > .row {
18
- margin-bottom : 10px ;
19
- }
20
20
21
+ /* Tweak topbar brand link to be super sleek
22
+ -------------------------------------------------- */
23
+ body > .navbar-fixed .brand {
24
+ float : right;
25
+ font-weight : bold;
26
+ color : # 000 ;
27
+ text-shadow : 0 1px 0 rgba (255 , 255 , 255 , .1 );
28
+ }
29
+ body > .navbar-fixed .brand : hover {
30
+ text-decoration : none;
31
+ }
21
32
22
33
/* Jumbotrons
23
34
-------------------------------------------------- */
24
35
.jumbotron {
25
- min-width : 940px ;
26
- padding-top : 40px ;
27
- }
28
- .jumbotron .inner {
29
- background : transparent url (../ img/ grid-18 px.png) top center;
30
- padding : 45px 0 ;
31
- -webkit-box-shadow : inset 0 10px 30px rgba (0 , 0 , 0 , .3 );
32
- -moz-box-shadow : inset 0 10px 30px rgba (0 , 0 , 0 , .3 );
33
- /* box-shadow: inset 0 10px 30px rgba(0,0,0,.3);
34
- */ }
35
- .jumbotron h1 ,
36
- .jumbotron p {
37
- margin-bottom : 9px ;
38
- color : # fff ;
39
- text-align : center;
40
- text-shadow : 0 1px 1px rgba (0 , 0 , 0 , .3 );
36
+ position : relative;
37
+ text-shadow : 0 1px 0 # fff ;
41
38
}
42
39
.jumbotron h1 {
43
- font-size : 54px ;
40
+ margin-right : 40% ;
41
+ margin-bottom : 10px ;
42
+ font-size : 90px ;
43
+ letter-spacing : -1px ;
44
44
line-height : 1 ;
45
- text-shadow : 0 1px 2px rgba (0 , 0 , 0 , .5 );
46
45
}
47
46
.jumbotron p {
47
+ margin-right : 32% ;
48
+ margin-bottom : 20px ;
49
+ font-size : 25px ;
48
50
font-weight : 300 ;
51
+ line-height : 36px ;
49
52
}
50
- .jumbotron .lead {
53
+ .jumbotron .btn {
51
54
font-size : 20px ;
52
- line-height : 27px ;
55
+ padding : 14px 24px ;
56
+ margin-right : 5px ;
57
+ -webkit-border-radius : 6px ;
58
+ -moz-border-radius : 6px ;
59
+ border-radius : 6px ;
53
60
}
54
- .jumbotron p a {
55
- color : # fff ;
56
- font-weight : bold;
61
+ .jumbotron .download-info {
62
+ font-size : 16px ;
63
+ color : # 999 ;
64
+ }
65
+
66
+ /* Benefits list in masthead */
67
+ .benefits {
68
+ width : 250px ;
69
+ position : absolute;
70
+ right : 0 ;
71
+ bottom : 0 ;
72
+ }
73
+ .benefits ul {
74
+ list-style : none;
75
+ margin : 0 ;
57
76
}
77
+ .benefits li {
78
+ font-size : 16px ;
79
+ font-weight : 300 ;
80
+ line-height : 35px ;
81
+ color : # 555 ;
82
+ }
83
+ .benefits li + li {
84
+ border-top : 1px solid # f5f5f5 ;
85
+ }
86
+ .benefits h4 {
87
+ color : # 555 ;
88
+ }
89
+ .benefits span {
90
+ position : relative;
91
+ top : -2px ;
92
+ padding-right : 5px ;
93
+ color : # 999 ;
94
+ }
95
+
58
96
59
97
/* Specific jumbotrons
60
98
------------------------- */
61
- /* main docs page */
62
- .masthead {
63
- background-color : # 049cd9 ;
64
- background-repeat : no-repeat;
65
- background-image : -webkit-gradient (linear, left top, left bottom, from (# 004D9F ), to (# 049cd9 ));
66
- background-image : -webkit-linear-gradient (# 004D9F, # 049cd9 );
67
- background-image : -moz-linear-gradient (# 004D9F, # 049cd9 );
68
- background-image : -o-linear-gradient (top, # 004D9F, # 049cd9 );
69
- background-image : -khtml-gradient (linear, left top, left bottom, from (# 004D9F ), to (# 049cd9 ));
70
- filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#004D9F', endColorstr='#049cd9', GradientType=0); /* IE8 and down */
71
- }
72
99
/* supporting docs pages */
73
100
.subhead {
74
- background-color : # 767d80 ;
75
- background-repeat : no-repeat;
76
- background-image : -webkit-gradient (linear, left top, left bottom, from (# 565d60 ), to (# 767d80 ));
77
- background-image : -webkit-linear-gradient (# 565d60, # 767d80 );
78
- background-image : -moz-linear-gradient (# 565d60, # 767d80 );
79
- background-image : -o-linear-gradient (top, # 565d60, # 767d80 );
80
- background-image : -khtml-gradient (linear, left top, left bottom, from (# 565d60 ), to (# 767d80 ));
81
- filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#565d60', endColorstr='#767d80', GradientType=0); /* IE8 and down */
82
- }
83
- .subhead .inner {
84
- padding : 36px 0 27px ;
101
+ padding-bottom : 18px ;
102
+ border-bottom : 3px solid # eee ;
85
103
}
86
104
.subhead h1 ,
87
105
.subhead p {
88
- text-align : left ;
106
+ margin-right : 0 ;
89
107
}
90
108
.subhead h1 {
91
109
font-size : 40px ;
92
110
}
93
- .subhead p a {
111
+
112
+
113
+ /* Quick links
114
+ -------------------------------------------------- */
115
+ .quick-links {
116
+ padding : 5px 20px ;
117
+ margin : 60px 0 ;
118
+ list-style : none;
119
+ text-align : center;
120
+ background-color : # eee ;
121
+ -webkit-border-radius : 3px ;
122
+ -moz-border-radius : 3px ;
123
+ border-radius : 3px ;
124
+ -webkit-box-shadow : inset 0 1px 0 rgba (0 , 0 , 0 , .03 );
125
+ -moz-box-shadow : inset 0 1px 0 rgba (0 , 0 , 0 , .03 );
126
+ box-shadow : inset 0 1px 0 rgba (0 , 0 , 0 , .03 );
127
+ }
128
+ .quick-links li {
129
+ display : inline;
130
+ margin : 0 5px ;
131
+ line-height : 30px ;
132
+ }
133
+ .quick-links .divider {
134
+ color : # 999 ;
135
+ }
136
+ .quick-links strong {
94
137
font-weight : normal;
138
+ color : # 999 ;
139
+ }
140
+ .quick-links .tweet-btn ,
141
+ .quick-links .follow-btn {
142
+ position : relative;
143
+ top : 5px ;
95
144
}
96
145
97
146
98
147
/* Footer
99
148
-------------------------------------------------- */
100
149
.footer {
101
- background-color : # eee ;
102
- min-width : 940px ;
103
150
padding : 30px 0 ;
104
- text-shadow : 0 1px 0 # fff ;
105
151
border-top : 1px solid # e5e5e5 ;
106
- -webkit-box-shadow : inset 0 5px 15px rgba (0 , 0 , 0 , .025 );
107
- -moz-box-shadow : inset 0 5px 15px rgba (0 , 0 , 0 , .025 );
108
- /* box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
109
- */ }
152
+ }
110
153
.footer p {
111
154
color : # 555 ;
112
155
}
113
156
114
157
115
- /* Quickstart section for getting le code
116
- -------------------------------------------------- */
117
- .quickstart {
118
- background-color : # f5f5f5 ;
119
- background-repeat : repeat-x;
120
- background-image : -khtml-gradient (linear, left top, left bottom, from (# f9f9f9 ), to (# f5f5f5 ));
121
- background-image : -moz-linear-gradient (# f9f9f9, # f5f5f5 );
122
- background-image : -ms-linear-gradient (# f9f9f9, # f5f5f5 );
123
- background-image : -webkit-gradient (linear, left top, left bottom, color-stop (0% , # f9f9f9 ), color-stop (100% , # f5f5f5 ));
124
- background-image : -webkit-linear-gradient (# f9f9f9, # f5f5f5 );
125
- background-image : -o-linear-gradient (# f9f9f9, # f5f5f5 );
126
- -ms-filter : "progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0)" ;
127
- filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5', GradientType=0);
128
- background-image : linear-gradient (# f9f9f9, # f5f5f5 );
129
- border-top : 1px solid # fff ;
130
- border-bottom : 1px solid # eee ;
131
- }
132
- .quickstart .container {
133
- margin-bottom : 0 ;
134
- }
135
- .quickstart .row {
136
- margin : 0 -20px ;
137
- -webkit-box-shadow : 1px 0 0 # f9f9f9 ;
138
- -moz-box-shadow : 1px 0 0 # f9f9f9 ;
139
- box-shadow : 1px 0 0 # f9f9f9 ;
140
- }
141
- .quickstart [class *= "span" ] {
142
- width : 285px ;
143
- height : 117px ;
144
- margin-left : 0 ;
145
- padding : 17px 20px 26px ;
146
- border-left : 1px solid # eee ;
147
- -webkit-box-shadow : inset 1px 0 0 # f9f9f9 ;
148
- -moz-box-shadow : inset 1px 0 0 # f9f9f9 ;
149
- box-shadow : inset 1px 0 0 # f9f9f9 ;
150
- }
151
- .quickstart [class *= "span" ]: last-child {
152
- border-right : 1px solid # eee ;
153
- width : 286px ;
154
- }
155
- .quickstart h6 ,
156
- .quickstart p {
157
- line-height : 18px ;
158
- text-align : center;
159
- margin-bottom : 9px ;
160
- color : # 333 ;
161
- }
162
- .quickstart .current-version ,
163
- .quickstart .current-version a {
164
- color : # 999 ;
165
- }
166
- .quickstart h6 {
167
- color : # 999 ;
168
- }
169
- .quickstart textarea {
170
- display : block;
171
- width : 275px ;
172
- height : auto;
173
- margin : 0 0 9px ;
174
- line-height : 21px ;
175
- white-space : nowrap;
176
- overflow : hidden;
177
- }
178
-
179
-
180
158
/* Special grid styles
181
159
-------------------------------------------------- */
182
160
.show-grid {
183
161
margin-top : 10px ;
184
- margin-bottom : 10 px ;
162
+ margin-bottom : 20 px ;
185
163
}
186
164
.show-grid [class *= "span" ] {
187
- background : # eee ;
165
+ background-color : # eee ;
188
166
text-align : center;
189
167
-webkit-border-radius : 3px ;
190
168
-moz-border-radius : 3px ;
@@ -228,7 +206,7 @@ section > .row {
228
206
.mini-layout .mini-layout-body {
229
207
background-color : # dceaf4 ;
230
208
margin : 0 auto;
231
- width : 240 px ;
209
+ width : 70 % ;
232
210
height : 240px ;
233
211
}
234
212
.mini-layout .fluid .mini-layout-sidebar ,
@@ -238,11 +216,11 @@ section > .row {
238
216
}
239
217
.mini-layout .fluid .mini-layout-sidebar {
240
218
background-color : # bbd8e9 ;
241
- width : 90 px ;
219
+ width : 20 % ;
242
220
height : 240px ;
243
221
}
244
222
.mini-layout .fluid .mini-layout-body {
245
- width : 300 px ;
223
+ width : 60 % ;
246
224
margin-left : 10px ;
247
225
}
248
226
@@ -323,3 +301,64 @@ pre.prettyprint {
323
301
.well form {
324
302
margin-bottom : 0 ;
325
303
}
304
+
305
+
306
+ .browser-support {
307
+ max-width : 100% ;
308
+ }
309
+
310
+ /* Make tables spaced out a bit more */
311
+ h2 + table {
312
+ margin-top : 5px ;
313
+ }
314
+
315
+ /* Responsive Docs
316
+ -------------------------------------------------- */
317
+ @media (max-width : 480px ) {
318
+
319
+ body > .navbar-fixed .nav {
320
+ display : none;
321
+ }
322
+
323
+ .large-bird {
324
+ display : none;
325
+ }
326
+
327
+ .jumbotron h1 {
328
+ font-size : 36px ;
329
+ margin-right : 0 ;
330
+ }
331
+ .jumbotron p {
332
+ margin-right : 0 ;
333
+ font-size : 18px ;
334
+ line-height : 24px ;
335
+ }
336
+ .jumbotron .benefits {
337
+ position : relative;
338
+ width : auto;
339
+ margin : 36px 0 ;
340
+ }
341
+ }
342
+
343
+ @media (min-width : 768px ) and (max-width : 900px ) {
344
+ .footer ,
345
+ .jumbotron {
346
+ min-width : 748px ;
347
+ }
348
+ }
349
+
350
+
351
+
352
+ .supported-devices {
353
+ margin-bottom : 9px ;
354
+ color : # 777 ;
355
+ }
356
+ .supported-devices strong {
357
+ display : block;
358
+ font-size : 14px ;
359
+ line-height : 18px ;
360
+ }
361
+ .supported-devices small {
362
+ font-size : 12px ;
363
+ }
364
+
0 commit comments