Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
Try to fix the Gist integration.
Browse files Browse the repository at this point in the history
  Not perfect, but unbroken.
  • Loading branch information
Alexandre Perrin committed Jan 23, 2015
1 parent b645005 commit 4662ea8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions sass/partials/_syntax.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.gist-file table.highlight {
width: 100%;
}

.highlight {
table td.code { width: 100%; }
//border: 1px solid $pre-border !important;
Expand All @@ -10,7 +11,7 @@ figcaption + .highlight {
@include border-top-radius(0);
}

.highlight .line-numbers, .gist-file .line-numbers {
.highlight .line-numbers {
text-align: right;
font-size: 13px;
line-height: 1.45em;
Expand All @@ -26,9 +27,13 @@ figcaption + .highlight {
text-shadow: darken($base02, 10) 0 -1px;
}
span { color: $base01 !important; }
padding: 1em .8em .8em .8em !important;
padding: 1em .8em .8em .8em;
@include border-radius(0);
}
.gist-file .highlight .line-numbers {
font-size: inherit;
padding-top: .5em !important;
}

figure.code, .gist, pre {
@include box-shadow(rgba(#000, .06) 0 0 10px);
Expand Down Expand Up @@ -266,7 +271,7 @@ figure.code:not(.panel), .gist {
color: #333;
background-color: #f5f5f5;
@include border-radius(5px);
span, a[href*='#file'] {
a[href*='#file'] {
font-size: 16px;
line-height: 1.45em;
font-weight: bold;
Expand Down

0 comments on commit 4662ea8

Please sign in to comment.