Skip to content

Commit

Permalink
improved consistency of margins on code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Jul 23, 2011
1 parent a2bc6f9 commit f49b24a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .themes/classic/sass/partials/_syntax.scss
Expand Up @@ -58,7 +58,7 @@ pre {
border: 1px solid $pre-border;
line-height: 1.45em;
font-size: 13px;
margin-bottom: 1.5em;
margin-bottom: 2.1em;
padding: .8em 1em;
color: $pre-color;
overflow: auto;
Expand Down Expand Up @@ -163,7 +163,7 @@ p code {

.highlight, .gist-highlight {
pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; }
margin-bottom: 1.5em;
margin-bottom: 1.8em;
background: $base03;
overflow-y: hidden;
overflow-x: auto;
Expand All @@ -178,7 +178,8 @@ figure[role=code] {
background: none;
padding: 0;
border: 0;
margin-bottom: 1.8em;
margin-bottom: 1.5em;
pre { margin-bottom: 0; }
figcaption {
position: relative;
@extend .code-title;
Expand Down

0 comments on commit f49b24a

Please sign in to comment.