Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alanorth/hugo-theme-bootstrap4-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCaleb Cushing <xenoterracide@gmail.com>2017-04-08 19:24:25 +0300
committerAlan Orth <alan.orth@gmail.com>2017-04-08 19:24:25 +0300
commitfac07eaec09973d65a23a6aea3a64e2315e15e1f (patch)
treee514086a0e7d783aae4b8056982d02a4d627ecdb /source
parent920e5a78b4d7ccaccda7e9417a6b21e8ef8cc1c3 (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.scss5
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
*/