From 8e6da4ee38239f7f2908e9939b83c87bf2e930e5 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sun, 3 Jul 2011 18:11:54 -0400 Subject: refactored styling of colors for code blocks, reduced specificty on .feature class for blog posts --- .themes/classic/sass/base/_solarized.scss | 2 ++ .themes/classic/sass/base/_theme.scss | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to '.themes/classic/sass/base') diff --git a/.themes/classic/sass/base/_solarized.scss b/.themes/classic/sass/base/_solarized.scss index 4952120d..f4126b09 100644 --- a/.themes/classic/sass/base/_solarized.scss +++ b/.themes/classic/sass/base/_solarized.scss @@ -14,3 +14,5 @@ $violet: #6c71c4; $blue: #268bd2; $cyan: #2aa198; $green: #859900; + +$pre-bg: $base03 !default; diff --git a/.themes/classic/sass/base/_theme.scss b/.themes/classic/sass/base/_theme.scss index 42fdb6f2..34474fa1 100644 --- a/.themes/classic/sass/base/_theme.scss +++ b/.themes/classic/sass/base/_theme.scss @@ -1,3 +1,4 @@ +$noise-bg: image-url('noise.png') top left; $img-border: inline-image('dotted-border.png'); // Main Link Colors @@ -20,6 +21,10 @@ $text-color: #222 !default; $text-color-light: #aaa !default; $type-border: #ddd !default; +/* non highlighted code colors */ +$pre-bg: $base03 !default; +$pre-border: $base02 !default; +$pre-color: $base1 !default; /* Navigation */ $nav-bg: #ccc !default; @@ -66,11 +71,12 @@ html { } body { > div { - background: $sidebar-bg image-url('noise.png') top left; + background: $sidebar-bg $noise-bg; border-bottom: 1px solid $page-border-bottom; > div { - background: $main-bg image-url('noise.png') top left; + background: $main-bg $noise-bg; border-right: 1px solid $sidebar-border; } } } + -- cgit v1.2.1