Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Commit

Permalink
Fixed the problem of embedding Gists
Browse files Browse the repository at this point in the history
Followed cancan101/cancan101.github.io@d30d956 and imathis/octopress#847
and discovered that manually changing `sass/partial/_syntax.scss` will
do.  Changing the SCSS file under `.themes/classics/` is *unnecessary*.
  • Loading branch information
VincentTam committed Aug 3, 2014
1 parent 233b333 commit e5668de
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion sass/partials/_syntax.scss
Expand Up @@ -22,6 +22,10 @@
@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); }
Expand Down Expand Up @@ -69,7 +73,7 @@ html .gist .gist-file {
&:hover { color: $base1 !important; }
}
a[href*='#file'] {
position: absolute; top: 0; left:0; right:-10px;
position: absolute; top: 0; left:0; right:0px;
color: #474747 !important;
@extend .code-title;
&:hover { color: $link-color !important; }
Expand Down Expand Up @@ -259,3 +263,12 @@ figure.code {
text-shadow: #cbcccc 0 1px 0;
padding-left: 3em;
}

.gist-file {
font-size:.8em !important;
}

table.lines{
width: 100%;
}

0 comments on commit e5668de

Please sign in to comment.