aboutsummaryrefslogtreecommitdiffstats
path: root/Just-Read/less
diff options
context:
space:
mode:
authorTobias Schmidl <tobias@schmidl.cc>2017-10-02 14:50:28 +0200
committerTobias Schmidl <tobias@schmidl.cc>2017-10-02 15:46:35 +0200
commit3f10e1818f4d6228eaea83b2de23753f8dff296b (patch)
tree3725e544e656aeeaab6c0aa30b32c85bd7a61839 /Just-Read/less
parentd0d0a51d6f53e02c0cff546a7cbd84ddb274f58e (diff)
downloadpelican-themes-3f10e1818f4d6228eaea83b2de23753f8dff296b.tar.gz
[Just-Read] Incorporated the changes in main.css in less
Bertrand Bousquet did a quite good job in 185fde6 by repairing the inlined code fragments - unfortunately only in the CSS file, not in Less. This commit tries to incorporate these changes back into the less file.
Diffstat (limited to 'Just-Read/less')
-rw-r--r--Just-Read/less/main.less13
1 files changed, 6 insertions, 7 deletions
diff --git a/Just-Read/less/main.less b/Just-Read/less/main.less
index 39e705c..099c5e2 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
}
@@ -564,10 +563,10 @@ blockquote, code, .codehilite, .post ul, .post ol, p, .archive{
code, .codehilite{
line-height: 1.5;
- .massive;
+ .massive;
}
- .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";