Fixed code blocks margin

This commit is contained in:
benweet 2014-01-19 14:27:25 +00:00
parent 6558d73425
commit afd13c2449

View File

@ -156,6 +156,7 @@ h4, h5, h6 {
p, p,
pre, pre,
pre.prettyprint,
blockquote { blockquote {
margin: 0 0 15px; margin: 0 0 15px;
} }
@ -169,14 +170,13 @@ code, pre {
font-size: 12px !important; font-size: 12px !important;
} }
pre { pre, pre.prettyprint {
// Need to force these values because of prettify border: 0 solid @pre-border-color;
border: 0 solid @pre-border-color !important; border-left: 10px solid @pre-border-color;
border-left: 10px solid @pre-border-color !important;
border-radius: 0; border-radius: 0;
border-top-right-radius: 5px; border-top-right-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
padding: 10px 15px !important; padding: 10px 15px;
code { code {
background-color: transparent !important; background-color: transparent !important;
} }