@@ -46,15 +46,6 @@ html, body {
4646 width : 20px ;
4747}
4848
49- @mixin embossed-bg {
50- background :
51- linear-gradient (to bottom , rgba (#000 , 0.2 ), rgba (#000 , 0 ) 8px ),
52- linear-gradient (to top , rgba (#000 , 0.2 ), rgba (#000 , 0 ) 8px ),
53- linear-gradient (to bottom , rgba ($nav-embossed-border-top , 1 ), rgba ($nav-embossed-border-top , 0 ) 1.5px ),
54- linear-gradient (to top , rgba ($nav-embossed-border-bottom , 1 ), rgba ($nav-embossed-border-bottom , 0 ) 1.5px ),
55- $nav-subitem-bg ;
56- }
57-
5849.toc-wrapper {
5950 transition : left 0.3s ease-in-out ;
6051
@@ -123,13 +114,12 @@ html, body {
123114 transition-property : height , margin ;
124115 transition-duration : 180ms ;
125116 transition-timing-function : ease-in-out ;
117+ background : $nav-subitem-bg ;
126118 & .visible {
127119 height : 30% ;
128120 margin-bottom : 1em ;
129121 }
130122
131- @include embossed-bg ;
132-
133123 li {
134124 margin : 1em $nav-padding ;
135125 line-height : 1 ;
@@ -156,9 +146,15 @@ html, body {
156146 line-height : 28px ;
157147 }
158148
149+ li {
150+ color : $nav-text ;
151+ transition-property : background ;
152+ transition-timing-function : linear ;
153+ transition-duration : 200ms ;
154+ }
155+
159156 // This is the currently selected ToC entry
160157 .toc-link.active {
161- box-shadow : 0px 1px 0px $nav-active-shadow ;
162158 background-color : $nav-active-bg ;
163159 color : $nav-active-text ;
164160 }
@@ -167,12 +163,6 @@ html, body {
167163 display : none ;
168164 background-color : $nav-subitem-bg ;
169165 font-weight : 500 ;
170-
171- // for embossed look:
172- @include embossed-bg ;
173- & >li :last-child {
174- box-shadow : none ; // otherwise it'll overflow out of the subheader
175- }
176166 }
177167
178168 .toc-h2 {
@@ -337,7 +327,6 @@ html, body {
337327 padding : 0 $main-padding ;
338328 box-sizing : border-box ;
339329 display : block ;
340- text-shadow : $main-embossed-text-shadow ;
341330
342331 @extend %left-col ;
343332 }
@@ -353,14 +342,14 @@ html, body {
353342
354343 h1 {
355344 @extend %header-font ;
356- font-size : 30 px ;
345+ font-size : 25 px ;
357346 padding-top : 0.5em ;
358347 padding-bottom : 0.5em ;
359348 border-bottom : 1px solid #ccc ;
360349 margin-bottom : $h1-margin-bottom ;
361350 margin-top : 2em ;
362351 border-top : 1px solid #ddd ;
363- background-image : linear-gradient (to bottom , #fff , #f9f9f9 );
352+ background-image : linear-gradient (to bottom , #fff , #fbfbfb );
364353 }
365354
366355 h1 :first-child , div :first-child + h1 {
@@ -370,13 +359,13 @@ html, body {
370359
371360 h2 {
372361 @extend %header-font ;
373- font-size : 20 px ;
362+ font-size : 19 px ;
374363 margin-top : 4em ;
375364 margin-bottom : 0 ;
376365 border-top : 1px solid #ccc ;
377366 padding-top : 1.2em ;
378367 padding-bottom : 1.2em ;
379- background-image : linear-gradient (to bottom , rgba (#fff , 0.4 ), rgba (#fff , 0 ));
368+ background-image : linear-gradient (to bottom , rgba (#fff , 0.2 ), rgba (#fff , 0 ));
380369 }
381370
382371 // h2s right after h1s should bump right up
@@ -468,20 +457,17 @@ html, body {
468457 aside {
469458 padding-top : 1em ;
470459 padding-bottom : 1em ;
471- text-shadow : 0 1px 0 lighten ($aside-notice-bg , 15% );
472460 margin-top : 1.5em ;
473461 margin-bottom : 1.5em ;
474462 background : $aside-notice-bg ;
475463 line-height : 1.6 ;
476464
477465 & .warning {
478466 background-color : $aside-warning-bg ;
479- text-shadow : 0 1px 0 lighten ($aside-warning-bg , 15% );
480467 }
481468
482469 & .success {
483470 background-color : $aside-success-bg ;
484- text-shadow : 0 1px 0 lighten ($aside-success-bg , 15% );
485471 }
486472 }
487473
@@ -508,7 +494,6 @@ html, body {
508494 margin : -2px ;
509495 border-radius : 4px ;
510496 border : 1px solid #F7E633 ;
511- text-shadow : 1px 1px 0 #666 ;
512497 background : linear-gradient (to top left , #F7E633 0% , #F1D32F 100% );
513498 }
514499}
@@ -523,15 +508,13 @@ html, body {
523508 background-color : $code-bg ;
524509 color : #fff ;
525510
526- padding : 2em $main-padding ;
527511 margin : 0 ;
528512 width : $examples-width ;
529513
530514 float :right ;
531515 clear :right ;
532516
533517 box-sizing : border-box ;
534- text-shadow : 0px 1px 2px rgba (0 ,0 ,0 ,0.4 );
535518
536519 @extend %right-col ;
537520
@@ -546,16 +529,16 @@ html, body {
546529
547530 pre {
548531 @extend %code-font ;
532+ padding-top : 2em ;
533+ padding-bottom : 2em ;
534+ padding : 2em $main-padding ;
549535 }
550536
551537 blockquote {
552538 & >p {
553539 background-color : $code-annotation-bg ;
554- border-radius : 5px ;
555- padding : $code-annotation-padding ;
556- color : #ccc ;
557- border-top : 1px solid #000 ;
558- border-bottom : 1px solid #404040 ;
540+ padding : $code-annotation-padding 2em ;
541+ color : #eee ;
559542 }
560543 }
561544}
0 commit comments