1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

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.
This commit is contained in:
Caleb Cushing 2017-04-08 11:24:25 -05:00 committed by Alan Orth
parent 920e5a78b4
commit fac07eaec0

View File

@ -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
*/