diff --git a/sass/custom/_colors.scss b/sass/custom/_colors.scss index 9830ab0..538547c 100644 --- a/sass/custom/_colors.scss +++ b/sass/custom/_colors.scss @@ -4,7 +4,8 @@ $nav-bg: desaturate(lighten(#8fc17a, 18), 5); $sidebar-bg: desaturate(#eceff5, 8); $sidebar-link-color: saturate(#526f9a, 10); $sidebar-link-color-hover: darken(#7ab662, 9); -$pre-bg: darken($header-bg, 2); +//$pre-bg: darken($header-bg, 2); +//$base03: $pre-bg; //To use the light Solarized highlighting theme uncomment this block //$base03: $base3; diff --git a/sass/partials/_syntax.scss b/sass/partials/_syntax.scss index 21b2e70..ba84400 100644 --- a/sass/partials/_syntax.scss +++ b/sass/partials/_syntax.scss @@ -58,7 +58,7 @@ pre { border: 1px solid $pre-border; line-height: 1.45em; font-size: 13px; - margin-bottom: 1.5em; + margin-bottom: 2.1em; padding: .8em 1em; color: $pre-color; overflow: auto; @@ -163,7 +163,7 @@ p code { .highlight, .gist-highlight { pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; } - margin-bottom: 1.5em; + margin-bottom: 1.8em; background: $base03; overflow-y: hidden; overflow-x: auto; @@ -178,7 +178,8 @@ figure[role=code] { background: none; padding: 0; border: 0; - margin-bottom: 1.8em; + margin-bottom: 1.5em; + pre { margin-bottom: 0; } figcaption { position: relative; @extend .code-title;