@@ -76,7 +76,7 @@ html, body {
7676 // This is the logo at the top of the ToC
7777 .logo-wrapper {
7878 padding : 10px 20px ;
79- margin : 0 0 10 px ;
79+ margin : 0 ;
8080 display : block ;
8181 border-bottom : 1px solid #ddd ;
8282
@@ -91,7 +91,8 @@ html, body {
9191 }
9292
9393 .tocify-item >a , .toc-footer li {
94- padding : 0 $nav-padding 0 $nav-padding ;
94+ padding : 10px $nav-padding ;
95+ line-height : 1 ;
9596 display : block ;
9697 overflow-x : hidden ;
9798 white-space : nowrap ;
@@ -115,11 +116,18 @@ html, body {
115116 transition-duration : 230ms ;
116117 }
117118
119+ a :hover {
120+ text-decoration : underline ;
121+ }
122+
118123 // This is the currently selected ToC entry
119124 .tocify-focus {
120- box-shadow : 0px 1px 0px $nav-active-shadow ;
125+ // box-shadow: 0px 1px 0px $nav-active-shadow;
121126 background-color : $nav-active-bg ;
122127 color : $nav-active-text ;
128+ a :hover {
129+ text-decoration : none ;
130+ }
123131 }
124132
125133 // Subheaders are the submenus that slide open
@@ -140,9 +148,9 @@ html, body {
140148 }
141149
142150 .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 ;
146154
147155 li ,a {
148156 color : $nav-text ;
@@ -155,7 +163,6 @@ html, body {
155163
156164 li {
157165 font-size : 0.8em ;
158- line-height : 28px ;
159166 text-decoration : none ;
160167 }
161168 }
@@ -239,18 +246,21 @@ html, body {
239246 float :left ;
240247 color : $lang-select-text ;
241248 text-decoration : none ;
242- padding : 0 10px ;
243- line-height : 30 px ;
249+ padding : 10px 20 px ;
250+ line-height : 40 px ;
244251 outline : 0 ;
252+ border-top : 4px solid $lang-select-bg ;;
245253
246254 & :active , & :focus {
247255 background-color : $lang-select-pressed-bg ;
248256 color : $lang-select-pressed-text ;
257+ border-top-color : #9B5C8F ;
249258 }
250259
251260 & .active {
252261 background-color : $lang-select-active-bg ;
253262 color : $lang-select-active-text ;
263+ border-top-color : #9B5C8F ;
254264 }
255265 }
256266
@@ -270,7 +280,7 @@ html, body {
270280 // to place content above the dark box
271281 position : relative ;
272282 z-index : 30 ;
273- padding-top : 44 px ;
283+ padding-top : 40 px ;
274284
275285 & :after {
276286 content : ' ' ;
@@ -298,7 +308,7 @@ html, body {
298308
299309 h1 {
300310 @extend %header-font ;
301- font-size : 26 px ;
311+ font-size : 30 px ;
302312 margin-top : 4em ;
303313 margin-bottom : 20px ;
304314 padding-top : 20px ;
@@ -314,8 +324,9 @@ html, body {
314324 h2 {
315325 @extend %header-font ;
316326 font-size : 20px ;
317- margin-top : 4em ;
318- margin-bottom : 0 ;
327+ margin-top : 40px ;
328+ padding-top : 40px ;
329+ margin-bottom : 20px ;
319330 }
320331
321332 // h2s right after h1s should bump right up
@@ -407,20 +418,23 @@ html, body {
407418 aside {
408419 padding-top : 1em ;
409420 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% ));
411422 margin-top : 1.5em ;
412423 margin-bottom : 1.5em ;
413424 background : $aside-notice-bg ;
414425 line-height : 1.6 ;
426+ color : lighten ($aside-notice-bg , 80% );
415427
416428 & .warning {
417429 background-color : $aside-warning-bg ;
418430 @include text-shadow (0 1px 0 lighten ($aside-warning-bg , 15% ));
431+ color : #333 ;
419432 }
420433
421434 & .success {
422435 background-color : $aside-success-bg ;
423436 @include text-shadow (0 1px 0 lighten ($aside-success-bg , 15% ));
437+ color : #333 ;
424438 }
425439 }
426440
@@ -459,20 +473,14 @@ html, body {
459473
460474.content {
461475 pre , blockquote {
462- background-color : $code-bg ;
463476 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 ;
469480 float :right ;
470481 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 ;
476484
477485 & >p { margin : 0 ; }
478486
@@ -485,16 +493,13 @@ html, body {
485493
486494 pre {
487495 @extend %code-font ;
488- }
496+ background : $examples-bg ;
489497
490- blockquote {
491- & >p {
492- background-color : $code-annotation-bg ;
498+ code {
499+ padding : 20px ;
493500 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 ;
498503 }
499504 }
500505}
0 commit comments