From fac07eaec09973d65a23a6aea3a64e2315e15e1f Mon Sep 17 00:00:00 2001 From: Caleb Cushing Date: Sat, 8 Apr 2017 11:24:25 -0500 Subject: [PATCH] add a little padding around a code block (#63) if you have formatted code in a post it's a little ugly because it goes from a white background to a grey with no space around the characters so they're right at the edge, this fixes that. --- source/scss/main.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/scss/main.scss b/source/scss/main.scss index 385c85f..0c5ec4f 100644 --- a/source/scss/main.scss +++ b/source/scss/main.scss @@ -179,6 +179,11 @@ article blockquote { border-left: $blockquote-border-width solid $blockquote-border-color; } +// ensure that code text doesn't butt up against the background change +article div.highlight { + padding: 5px 5px 0px 5px; +} + /* * Footer */