diff options
Diffstat (limited to 'Just-Read/less/main.less')
-rw-r--r-- | Just-Read/less/main.less | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Just-Read/less/main.less b/Just-Read/less/main.less index 39e705c..9724bf6 100644 --- a/Just-Read/less/main.less +++ b/Just-Read/less/main.less @@ -68,11 +68,10 @@ blockquote{ padding-left: (@line / 4px); } -code, .codehilite{ +pre { background: lighten(@black, 15%); // If you don't a dark scheme for code, we can't be friends .box-shadow(inset 0 0 10px @black); color: @white; - display: block; margin-left: -(@line * 1px); .mono(); padding: (@line * 1px); @@ -386,7 +385,7 @@ p[role="contentinfo"]{ width: 50%; } -blockquote, code, .codehilite, .post ul, .post ol, p, .archive{ +blockquote, pre, .post ul, .post ol, p, .archive{ margin: 0 0 (@line * 1px) 0; } @@ -463,7 +462,7 @@ blockquote, code, .codehilite, .post ul, .post ol, p, .archive{ // @media screen and (min-width: 888px) @media screen and (min-width: 55.5em) { - .post > p, .post blockquote, .post ul, .post ol{ + pre, .post > p, .post blockquote, .post ul, .post ol{ width: 400/6%; // target 4 columns, context 6 columns } @@ -562,12 +561,12 @@ blockquote, code, .codehilite, .post ul, .post ol, p, .archive{ margin-bottom: (@line * 1px); } - code, .codehilite{ + .codehilite{ line-height: 1.5; - .massive; + .normal; } - .post > p, .post blockquote, .post ul, .post ol{ + pre, .post > p, .post blockquote, .post ul, .post ol{ width: 600/10%; // target 4 columns, context 6 columns } @@ -586,4 +585,4 @@ blockquote, code, .codehilite, .post ul, .post ol, p, .archive{ @import "print.less"; } -@import "codehilite.less";
\ No newline at end of file +@import "codehilite.less"; |