diff options
author | Caleb Cushing <xenoterracide@gmail.com> | 2017-04-08 19:24:25 +0300 |
---|---|---|
committer | Alan Orth <alan.orth@gmail.com> | 2017-04-08 19:24:25 +0300 |
commit | fac07eaec09973d65a23a6aea3a64e2315e15e1f (patch) | |
tree | e514086a0e7d783aae4b8056982d02a4d627ecdb /source | |
parent | 920e5a78b4d7ccaccda7e9417a6b21e8ef8cc1c3 (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/scss/main.scss | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |