diff options
author | Justin Mayer <entroP@gmail.com> | 2017-10-02 12:12:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 12:12:11 -0400 |
commit | 7d18a121fa0081e1ce401061297d41a2e93a41ee (patch) | |
tree | f049d3acabb67413604f0625256fc090c374d879 /Just-Read/less/main.less | |
parent | d0d0a51d6f53e02c0cff546a7cbd84ddb274f58e (diff) | |
parent | 3ed3f071456759c6309387eb1600a869e36a185b (diff) | |
download | pelican-themes-7d18a121fa0081e1ce401061297d41a2e93a41ee.tar.gz |
Merge pull request #555 from schtobia/for_upstream
Just-Read: Various enhancements
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"; |