aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass/partials
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-23 00:32:19 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-23 00:32:55 -0400
commitf49b24ac607ea70b71df26839b95a2e5f0baf7cc (patch)
tree934bea5bb98930d59f8678877bd926fcedb36d4a /.themes/classic/sass/partials
parenta2bc6f97627d78d42230061125252f074ce4f4cd (diff)
downloadmy_new_personal_website-f49b24ac607ea70b71df26839b95a2e5f0baf7cc.tar.xz
my_new_personal_website-f49b24ac607ea70b71df26839b95a2e5f0baf7cc.zip
improved consistency of margins on code blocks
Diffstat (limited to '.themes/classic/sass/partials')
-rw-r--r--.themes/classic/sass/partials/_syntax.scss7
1 files changed, 4 insertions, 3 deletions
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;