Skip to content

Instantly share code, notes, and snippets.

@lenciel
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lenciel/ecc8b3805ed346727abe to your computer and use it in GitHub Desktop.
Save lenciel/ecc8b3805ed346727abe to your computer and use it in GitHub Desktop.
diff before and after gist render sass fix
diff --git a/46501e4:sass/partials/_syntax.scss b/02b0441:sass/partials/_syntax.scss
index 137d475..5465286 100644
--- a/46501e4:sass/partials/_syntax.scss
+++ b/02b0441:sass/partials/_syntax.scss
@@ -22,10 +22,6 @@
@include border-radius(0);
}
-.line-data {
- font-size: 13px;
-}
-
figure.code, .gist-file, pre {
@include box-shadow(rgba(#000, .06) 0 0 10px);
.highlight pre { @include box-shadow(none); }
@@ -43,10 +39,8 @@ html .gist .gist-file {
margin-bottom: 0;
}
.gist-syntax {
- background: #01222d !important;
- color: #d5dee2 !important;
- padding: 0 2em;
border-bottom: 0 !important;
+ background: none !important;
.gist-highlight {
background: $base03 !important;
}
@@ -57,17 +51,15 @@ html .gist .gist-file {
}
.gist-meta {
padding: .6em 0.8em;
+ border: 1px solid lighten($base02, 2) !important;
+ color: $base01;
font-size: .7em !important;
@if $solarized == light {
- color: $base01;
- border: 1px solid lighten($base02, 2) !important;
background: lighten($base03, 2) $noise-bg;
border: 1px solid $pre-border !important;
border-top: 1px solid lighten($base03, 2) !important;
} @else {
- background: #01222d $noise-bg;
- text-shadow: none !important;
- color: #d5dee2;
+ background: $base02 $noise-bg;
}
@extend .sans;
line-height: 1.5em;
@@ -77,7 +69,7 @@ html .gist .gist-file {
&:hover { color: $base1 !important; }
}
a[href*='#file'] {
- position: absolute; top: 0; left:0; right:0px;
+ position: absolute; top: 0; left:0; right:-10px;
color: #474747 !important;
@extend .code-title;
&:hover { color: $link-color !important; }
@@ -221,7 +213,7 @@ pre, .highlight, .gist-highlight {
&::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px }
}
-.highlight code {
+.highlight code {
@extend .pre-code; background: #000;
}
figure.code {
@@ -267,11 +259,3 @@ figure.code {
text-shadow: #cbcccc 0 1px 0;
padding-left: 3em;
}
-
-.gist-file {
- font-size:.8em !important;
-}
-
-table.lines{
- width: 100%;
-}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment