diff --git a/_sass/base/_common.scss b/_sass/base/_common.scss index e529f5de2e9df..18680dda2e390 100644 --- a/_sass/base/_common.scss +++ b/_sass/base/_common.scss @@ -146,18 +146,14 @@ thead+tbody tr:first-child td:last-child { pre { margin: 1em; max-height: 31em; - border: 1px solid $boxBorderColor; - border-left: 7px solid $boxBorderColor; + border: 1px solid $codeBlockBorderColor; + border-left: 5px solid $codeBlockBorderColor; border-radius: 4px; - background-image: linear-gradient(transparent 50%, rgba(69,142,209,0.04) 50%); - background-size: 3em 3em; - background-origin: content-box; - background-attachment: local; box-shadow: 3px 3px 8px $codeBlockShadowColor; code { display: block; - padding-left: 1em; + padding: .5em; } } diff --git a/_sass/themes/_dark.scss b/_sass/themes/_dark.scss index 8945a98f43e51..914b7d0928078 100644 --- a/_sass/themes/_dark.scss +++ b/_sass/themes/_dark.scss @@ -28,7 +28,8 @@ $glossaryHeaderColor: lighten($gray, 35%); $searchButtonColor: $light-gray; $blockQuoteBackgroundColor: $dark-gray; $deprecatedBackgroundColor: silver; -$codeBlockShadowColor: #a7a7a7; +$codeBlockShadowColor: #777777; +$codeBlockBorderColor: #777777; $boxBorderColor: $textColor; $headerLightShadowColor: rgba(0, 0, 0, .14); diff --git a/_sass/themes/_light.scss b/_sass/themes/_light.scss index a4201a608a9d0..a3fa414c49e47 100644 --- a/_sass/themes/_light.scss +++ b/_sass/themes/_light.scss @@ -29,6 +29,7 @@ $searchButtonColor: $light-gray; $blockQuoteBackgroundColor: $light-gray; $deprecatedBackgroundColor: silver; $codeBlockShadowColor: #a7a7a7; +$codeBlockBorderColor: #dddddd; $boxBorderColor: $secondBrandColor; $headerLightShadowColor: rgba(0, 0, 0, .14);