aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";