updated syntax highlighting styles

This commit is contained in:
Brandon Mathis 2011-07-20 12:40:09 -04:00
parent 3d44cf96be
commit 73a99ad501
2 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,8 @@ $nav-bg: desaturate(lighten(#8fc17a, 18), 5);
$sidebar-bg: desaturate(#eceff5, 8); $sidebar-bg: desaturate(#eceff5, 8);
$sidebar-link-color: saturate(#526f9a, 10); $sidebar-link-color: saturate(#526f9a, 10);
$sidebar-link-color-hover: darken(#7ab662, 9); $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 //To use the light Solarized highlighting theme uncomment this block
//$base03: $base3; //$base03: $base3;

View File

@ -58,7 +58,7 @@ pre {
border: 1px solid $pre-border; border: 1px solid $pre-border;
line-height: 1.45em; line-height: 1.45em;
font-size: 13px; font-size: 13px;
margin-bottom: 1.5em; margin-bottom: 2.1em;
padding: .8em 1em; padding: .8em 1em;
color: $pre-color; color: $pre-color;
overflow: auto; overflow: auto;
@ -163,7 +163,7 @@ p code {
.highlight, .gist-highlight { .highlight, .gist-highlight {
pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; } pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; }
margin-bottom: 1.5em; margin-bottom: 1.8em;
background: $base03; background: $base03;
overflow-y: hidden; overflow-y: hidden;
overflow-x: auto; overflow-x: auto;
@ -178,7 +178,8 @@ figure[role=code] {
background: none; background: none;
padding: 0; padding: 0;
border: 0; border: 0;
margin-bottom: 1.8em; margin-bottom: 1.5em;
pre { margin-bottom: 0; }
figcaption { figcaption {
position: relative; position: relative;
@extend .code-title; @extend .code-title;