aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass/partials
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-10-01 15:57:02 -0500
committerBrandon Mathis <brandon@imathis.com>2011-10-01 15:57:40 -0500
commitff2009577d22dca8cdc31353f3c8cdb386eaafd1 (patch)
treee071c0d419dd22e013d2b2e9d5b4deda2f01b06a /.themes/classic/sass/partials
parent362d93d9380ca3fce20b1dd2cf03142a5340db08 (diff)
downloadmy_new_personal_website-ff2009577d22dca8cdc31353f3c8cdb386eaafd1.tar.xz
my_new_personal_website-ff2009577d22dca8cdc31353f3c8cdb386eaafd1.zip
improved support for solarized light theme
Diffstat (limited to '')
-rw-r--r--.themes/classic/sass/partials/_syntax.scss13
1 files changed, 8 insertions, 5 deletions
diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss
index 2ae61643..77ac8d78 100644
--- a/.themes/classic/sass/partials/_syntax.scss
+++ b/.themes/classic/sass/partials/_syntax.scss
@@ -21,17 +21,19 @@
}
border: 1px solid $pre-border !important;
}
+figure.code, .gist-file, pre {
+ @include box-shadow(rgba(#000, .06) 0 0 10px);
+ .highlight pre { @include box-shadow(none); }
+}
+
html .gist .gist-file {
margin-bottom: 1.8em;
position: relative;
border: none;
padding-top: image-height("code_bg.png") !important;
.gist-syntax {
- @if $solarized == dark {
- border-bottom: 1px solid $base03 !important;
- } @else if $solarized == light {
- border-bottom: 0px;
- }
+ border-bottom: 0 !important;
+ background: none !important;
.gist-highlight{
background: $base03 !important;
pre {
@@ -46,6 +48,7 @@ html .gist .gist-file {
font-size: .7em !important;
@if $solarized == light {
background: lighten($base03, 2) $noise-bg;
+ border: 1px solid $pre-border !important;
border-top: 1px solid lighten($base03, 2) !important;
} @else {
background: $base02 $noise-bg;