mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 09:47:05 +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:
parent
920e5a78b4
commit
fac07eaec0
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user