Browse code

improved consistency of margins on code blocks

Brandon Mathis authored on 23/07/2011 at 04:32:19
Showing 1 changed files
... ...
@@ -58,7 +58,7 @@ pre {
58 58
   border: 1px solid $pre-border;
59 59
   line-height: 1.45em;
60 60
   font-size: 13px;
61
-  margin-bottom: 1.5em;
61
+  margin-bottom: 2.1em;
62 62
   padding: .8em 1em;
63 63
   color: $pre-color;
64 64
   overflow: auto;
... ...
@@ -163,7 +163,7 @@ p code {
163 163
 
164 164
 .highlight, .gist-highlight {
165 165
   pre { background: none; @include border-radius(none); border: none; padding: 0; margin-bottom: 0; }
166
-  margin-bottom: 1.5em;
166
+  margin-bottom: 1.8em;
167 167
   background: $base03;
168 168
   overflow-y: hidden;
169 169
   overflow-x: auto;
... ...
@@ -178,7 +178,8 @@ figure[role=code] {
178 178
   background: none;
179 179
   padding: 0;
180 180
   border: 0;
181
-  margin-bottom: 1.8em;
181
+  margin-bottom: 1.5em;
182
+  pre { margin-bottom: 0; }
182 183
   figcaption {
183 184
     position: relative;
184 185
     @extend .code-title;