Skip to content

Commit

Permalink
Merge pull request getpelican#555 from schtobia/for_upstream
Browse files Browse the repository at this point in the history
Just-Read: Various enhancements
  • Loading branch information
justinmayer authored Oct 2, 2017
2 parents d0d0a51 + 3ed3f07 commit 7d18a12
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 53 deletions.
15 changes: 7 additions & 8 deletions Just-Read/less/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand All @@ -586,4 +585,4 @@ blockquote, code, .codehilite, .post ul, .post ol, p, .archive{
@import "print.less";
}

@import "codehilite.less";
@import "codehilite.less";
Loading

0 comments on commit 7d18a12

Please sign in to comment.