20
20
/* General structure and fonts */
21
21
22
22
body {
23
+ color : # 333 ;
23
24
min-height : 100% ;
24
25
min-width : 500px ;
25
26
height : 100% ;
26
- font : 13 px "Helvetica Neue" , Helvetica, Arial, sans-serif;
27
- line-height : 165 % ;
27
+ font : 15 px "Helvetica Neue" , Helvetica, Arial, sans-serif;
28
+ line-height : 150 % ;
28
29
position : relative;
29
30
height : auto;
30
31
padding-bottom : 20px ;
31
32
}
32
33
33
- h2 code , h3 code , h4 code {
34
- text-transform : none;
35
- font-size : 1.2em ;
34
+ h1 , h2 , h3 , h4 {
35
+ color : black;
36
+ font-weight : 500 ;
37
+ margin : 30px 0 20px 0 ;
38
+ padding-bottom : 15px ;
36
39
}
37
-
38
- h1 {
39
- font : 600 26px "Helvetica Neue" , Arial, sans-serif !important ;
40
- margin : 20px 0 ;
40
+ h1 .fqn {
41
+ border-bottom : 1px dashed # D5D5D5 ;
42
+ margin-top : 0 ;
41
43
}
42
-
43
44
h2 , h3 , h4 {
44
- font : 500 20px "Helvetica Neue" , Arial, sans-serif;
45
- margin : 40px 0 20px 0 ;
46
- padding-bottom : 15px ;
47
45
border-bottom : 1px solid # DDDDDD ;
48
46
}
47
+ h2 code , h3 code , h4 code {
49
48
50
- code , pre , h1 .fqn {
51
- font-family : "Inconsolata" , Menlo, Monaco, Consolas, "DejaVu Sans Mono" , monospace;
52
- font-weight : normal;
49
+ font-size : 1.2em ;
53
50
}
51
+
54
52
code , pre {
55
- color : # 333 ;
53
+ font-family : "Inconsolata" , Menlo , Monaco , Consolas , "DejaVu Sans Mono" , monospace ;
56
54
}
57
55
pre {
58
56
font-size : 15px ;
59
57
}
60
- h1 .fqn {
61
- font-size : 26px ;
62
- font-weight : normal;
63
- padding-bottom : 15px ;
64
- border-bottom : 1px dashed # D5D5D5 ;
65
- }
66
58
67
- nav {
68
- font : 700 26px "Oswald" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
69
- text-transform : uppercase;
70
- }
71
59
nav .sub {
72
60
padding-top : 10px ;
73
61
font-size : 16px ;
@@ -104,10 +92,6 @@ nav.sub {
104
92
color : # 333 ;
105
93
}
106
94
107
- .sidebar .location a {
108
- color : # 333 ;
109
- }
110
-
111
95
.sidebar .block , pre { background : # fff ; }
112
96
113
97
.block {
@@ -124,26 +108,14 @@ nav.sub {
124
108
text-overflow : ellipsis;
125
109
overflow : hidden;
126
110
line-height : 15px ;
127
- margin : 0 0 0 45px ;
128
- padding-bottom : 4px ;
129
- border-bottom : 2px solid # fff ;
111
+ padding-left : 5px ;
112
+ padding-bottom : 6px ;
130
113
font-size : 14px ;
131
-
132
114
transition : border 500ms ease-out;
133
115
}
134
116
135
- body p {
136
- font-size : 15px ;
137
- line-height : 1.6 ;
138
- }
139
-
140
117
.content {
141
- padding : 20px 20px 20px 40px ;
142
- }
143
-
144
- .content h1 {
145
- margin-top : 0 ;
146
- font-weight : 400 !important ;
118
+ padding : 20px 40px ;
147
119
}
148
120
149
121
.content pre { padding : 20px ; }
@@ -186,27 +158,17 @@ body p {
186
158
margin-left : 0 ;
187
159
margin : 40px 0 10px 0 ;
188
160
padding-bottom : 10px ;
189
- border-bottom : 1px solid # eee ;
161
+ border-bottom : 1px solid # DDD ;
190
162
}
191
163
192
- .docblock h1 { font-size : 1.1 em ; }
193
- .docblock h2 { font-size : 1.05 em ; }
164
+ .docblock h1 { font-size : 1.3 em ; }
165
+ .docblock h2 { font-size : 1.15 em ; }
194
166
.docblock h3 , .docblock h4 , .docblock h5 { font-size : 1em ; }
195
167
196
- .docblock h3 {
197
- font-size : 1.3em ;
198
- }
199
-
200
- .docblock h2 {
201
- font-size : 1.5em ;
202
- }
203
-
204
168
.content .source {
205
169
float : right;
206
- font-size : 14px ;
207
- font-weight : 400 ;
170
+ font-weight : 500 ;
208
171
padding : 9px 15px ;
209
- color : # 333 ;
210
172
}
211
173
212
174
.content table {
@@ -263,7 +225,6 @@ nav.sub form { display: inline; }
263
225
264
226
nav , .content {
265
227
margin-left : 220px ;
266
- margin-right : 20px ;
267
228
}
268
229
269
230
a {
@@ -272,40 +233,29 @@ a {
272
233
background : transparent;
273
234
}
274
235
275
- .content a , .block a .current { font-weight : 400 ; }
276
-
277
236
.content a .trait , .block a .current .trait { color : # ed9603 ; }
278
237
.content a .mod , .block a .current .mod { color : # 4d76ae ; }
279
238
.content a .enum , .block a .current .enum { color : # 5e9766 ; }
280
239
.content a .struct , .block a .current .struct { color : # e53700 ; }
281
240
.content a .fn , .block a .current .fn { color : # 8c6067 ; }
282
241
.content .fnname { color : # 8c6067 ; }
283
242
284
- .search-container {
285
- width : 60% ;
286
- margin-left : 50px ;
287
- }
288
-
289
243
.search-input {
290
- border : 2px solid # e9e9e9 ;
291
- border-radius : 2px ;
292
- width : 95% ;
293
- box-sizing : content-box;
244
+ width : 100% ;
245
+ /* Override Normalize.css: we have margins and do
246
+ not want to overflow - the `moz` attribute is necessary
247
+ until Firefox 29, too early to drop at this point */
248
+ -moz-box-sizing : border-box !important ;
249
+ box-sizing : border-box !important ;
294
250
outline : none;
295
251
border : none;
296
- background-color : white;
297
- font-family : "Helvetica Neue" ;
298
- color : # 000 ;
299
- margin-top : 5px ;
300
- padding : 10px 20px ;
301
- font-weight : 300 ;
302
252
border-radius : 1px ;
303
- box-shadow : 0 0 0 1 px # e0e0e0 , 0 0 0 2 px transparent ;
304
- color : # 555555 ;
253
+ color : # 555 ;
254
+ margin-top : 5 px ;
305
255
padding : 10px 16px ;
306
- line-height : 1.4 ;
307
256
font-size : 17px ;
308
-
257
+ font-weight : 300 ;
258
+ box-shadow : 0 0 0 1px # e0e0e0, 0 0 0 2px transparent;
309
259
transition : background-color 50ms linear;
310
260
transition : border 500ms ease-out;
311
261
transition : box-shadow 500ms ease-out;
318
268
box-shadow : 0 0 0 1px # 078dd8, 0 0 0 2px # 078dd8 ;
319
269
}
320
270
321
- .do-search {
322
- display : none;
323
- outline : none;
324
- border : none;
325
- font-family : Helvetica Neue;
326
- font-weight : 200 ;
327
- color : # fff ;
328
- padding : 14px 25px ;
329
- margin-top : 3px ;
330
- font-size : 16px ;
331
- text-align : center;
332
- background : # 5B6672 ;
333
- margin-left : 10px ;
334
- }
335
-
336
271
.search-results .desc {
337
272
white-space : nowrap;
338
273
text-overflow : ellipsis;
377
312
.stability {
378
313
border-left : 6px solid # 000 ;
379
314
border-radius : 3px ;
380
- padding : 8px 3px ;
381
- background : # fff ;
315
+ padding : 8px 3px 8px 10px ;
382
316
text-transform : lowercase;
383
317
display : block;
384
- padding-left : 10px ;
385
318
margin-bottom : 20px ;
386
319
}
387
320
@@ -418,14 +351,6 @@ h6.section-link:hover a:after {
418
351
419
352
/** Media Queries **/
420
353
421
- @media (max-width : 620px ) {
422
- .search-container {
423
- display : block;
424
- width : 100% ;
425
- margin-left : 0px ;
426
- }
427
- }
428
-
429
354
@media (max-width : 700px ) {
430
355
.sidebar {
431
356
display : none;
@@ -436,7 +361,7 @@ h6.section-link:hover a:after {
436
361
}
437
362
438
363
nav .sub {
439
- width : 80 % ;
364
+ width : 85.5 % ;
440
365
margin : 0 auto;
441
366
}
442
- }
367
+ }
0 commit comments