@@ -76,7 +76,7 @@ html, body {
76
76
// This is the logo at the top of the ToC
77
77
.logo-wrapper {
78
78
padding : 10px 20px ;
79
- margin : 0 0 10 px ;
79
+ margin : 0 ;
80
80
display : block ;
81
81
border-bottom : 1px solid #ddd ;
82
82
@@ -91,7 +91,8 @@ html, body {
91
91
}
92
92
93
93
.tocify-item >a , .toc-footer li {
94
- padding : 0 $nav-padding 0 $nav-padding ;
94
+ padding : 10px $nav-padding ;
95
+ line-height : 1 ;
95
96
display : block ;
96
97
overflow-x : hidden ;
97
98
white-space : nowrap ;
@@ -115,11 +116,18 @@ html, body {
115
116
transition-duration : 230ms ;
116
117
}
117
118
119
+ a :hover {
120
+ text-decoration : underline ;
121
+ }
122
+
118
123
// This is the currently selected ToC entry
119
124
.tocify-focus {
120
- box-shadow : 0px 1px 0px $nav-active-shadow ;
125
+ // box-shadow: 0px 1px 0px $nav-active-shadow;
121
126
background-color : $nav-active-bg ;
122
127
color : $nav-active-text ;
128
+ a :hover {
129
+ text-decoration : none ;
130
+ }
123
131
}
124
132
125
133
// Subheaders are the submenus that slide open
@@ -140,9 +148,9 @@ html, body {
140
148
}
141
149
142
150
.toc-footer {
143
- padding : 1 em 0 ;
144
- margin-top : 1 em ;
145
- border-top : 1px dashed $nav-footer-border-color ;
151
+ padding : 10 px 0 ;
152
+ margin-top : 10 px ;
153
+ border-top : 1px solid #ddd ;
146
154
147
155
li ,a {
148
156
color : $nav-text ;
@@ -155,7 +163,6 @@ html, body {
155
163
156
164
li {
157
165
font-size : 0.8em ;
158
- line-height : 28px ;
159
166
text-decoration : none ;
160
167
}
161
168
}
@@ -239,18 +246,21 @@ html, body {
239
246
float :left ;
240
247
color : $lang-select-text ;
241
248
text-decoration : none ;
242
- padding : 0 10px ;
243
- line-height : 30 px ;
249
+ padding : 10px 20 px ;
250
+ line-height : 40 px ;
244
251
outline : 0 ;
252
+ border-top : 4px solid $lang-select-bg ;;
245
253
246
254
& :active , & :focus {
247
255
background-color : $lang-select-pressed-bg ;
248
256
color : $lang-select-pressed-text ;
257
+ border-top-color : #9B5C8F ;
249
258
}
250
259
251
260
& .active {
252
261
background-color : $lang-select-active-bg ;
253
262
color : $lang-select-active-text ;
263
+ border-top-color : #9B5C8F ;
254
264
}
255
265
}
256
266
@@ -270,7 +280,7 @@ html, body {
270
280
// to place content above the dark box
271
281
position : relative ;
272
282
z-index : 30 ;
273
- padding-top : 44 px ;
283
+ padding-top : 40 px ;
274
284
275
285
& :after {
276
286
content : ' ' ;
@@ -298,7 +308,7 @@ html, body {
298
308
299
309
h1 {
300
310
@extend %header-font ;
301
- font-size : 26 px ;
311
+ font-size : 30 px ;
302
312
margin-top : 4em ;
303
313
margin-bottom : 20px ;
304
314
padding-top : 20px ;
@@ -314,8 +324,9 @@ html, body {
314
324
h2 {
315
325
@extend %header-font ;
316
326
font-size : 20px ;
317
- margin-top : 4em ;
318
- margin-bottom : 0 ;
327
+ margin-top : 40px ;
328
+ padding-top : 40px ;
329
+ margin-bottom : 20px ;
319
330
}
320
331
321
332
// h2s right after h1s should bump right up
@@ -407,20 +418,23 @@ html, body {
407
418
aside {
408
419
padding-top : 1em ;
409
420
padding-bottom : 1em ;
410
- @include text-shadow (0 1px 0 lighten ($aside-notice-bg , 15% ));
421
+ @include text-shadow (0 1px 0 darken ($aside-notice-bg , 15% ));
411
422
margin-top : 1.5em ;
412
423
margin-bottom : 1.5em ;
413
424
background : $aside-notice-bg ;
414
425
line-height : 1.6 ;
426
+ color : lighten ($aside-notice-bg , 80% );
415
427
416
428
& .warning {
417
429
background-color : $aside-warning-bg ;
418
430
@include text-shadow (0 1px 0 lighten ($aside-warning-bg , 15% ));
431
+ color : #333 ;
419
432
}
420
433
421
434
& .success {
422
435
background-color : $aside-success-bg ;
423
436
@include text-shadow (0 1px 0 lighten ($aside-success-bg , 15% ));
437
+ color : #333 ;
424
438
}
425
439
}
426
440
@@ -459,20 +473,14 @@ html, body {
459
473
460
474
.content {
461
475
pre , blockquote {
462
- background-color : $code-bg ;
463
476
color : #fff ;
464
-
465
- padding : 2em $main-padding ;
466
- margin : 0 ;
467
- width : $examples-width ;
468
-
477
+ margin : 0 0 20px ;
478
+ @extend %right-col ;
479
+ box-sizing : border-box ;
469
480
float :right ;
470
481
clear :right ;
471
-
472
- box-sizing : border-box ;
473
- @include text-shadow (0px 1px 2px rgba (0 ,0 ,0 ,0.4 ));
474
-
475
- @extend %right-col ;
482
+ width : $examples-width ;
483
+ padding : 0 20px ;
476
484
477
485
& >p { margin : 0 ; }
478
486
@@ -485,16 +493,13 @@ html, body {
485
493
486
494
pre {
487
495
@extend %code-font ;
488
- }
496
+ background : $examples-bg ;
489
497
490
- blockquote {
491
- & >p {
492
- background-color : $code-annotation-bg ;
498
+ code {
499
+ padding : 20px ;
493
500
border-radius : 5px ;
494
- padding : $code-annotation-padding ;
495
- color : #ccc ;
496
- border-top : 1px solid #000 ;
497
- border-bottom : 1px solid #404040 ;
501
+ display : block ;
502
+ background-color : $code-bg ;
498
503
}
499
504
}
500
505
}
0 commit comments