From f49b24ac607ea70b71df26839b95a2e5f0baf7cc Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 23 Jul 2011 00:32:19 -0400 Subject: improved consistency of margins on code blocks --- .themes/classic/sass/partials/_syntax.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.themes/classic/sass/partials') diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss index faa7f1f3..bb350ed7 100644 --- a/.themes/classic/sass/partials/_syntax.scss +++ b/.themes/classic/sass/partials/_syntax.scss @@ -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; @@ -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; @@ -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; -- cgit v1.2.1