aboutsummaryrefslogtreecommitdiffstats
path: root/Just-Read
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2014-09-24 23:56:15 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2014-09-24 23:56:15 +0200
commit4466be796f228b34db25a4231692dc92813e0633 (patch)
tree842f8ae9de98ac41fe694a5ccf43f8e2d1a904f4 /Just-Read
parent89639bf868759017ea3f0ed8a07bd75250eb4337 (diff)
parent185fde63f212d3b95b2c8e190a5932ec7eaa5321 (diff)
downloadpelican-themes-4466be796f228b34db25a4231692dc92813e0633.zip
pelican-themes-4466be796f228b34db25a4231692dc92813e0633.tar.gz
pelican-themes-4466be796f228b34db25a4231692dc92813e0633.tar.bz2
Merge pull request #246 from bertrandbo/master
Fix inline code tag rendering
Diffstat (limited to 'Just-Read')
-rw-r--r--Just-Read/static/css/main.css11
1 files changed, 5 insertions, 6 deletions
diff --git a/Just-Read/static/css/main.css b/Just-Read/static/css/main.css
index 3537b3b..049f108 100644
--- a/Just-Read/static/css/main.css
+++ b/Just-Read/static/css/main.css
@@ -173,13 +173,12 @@ blockquote {
margin-left: -12px;
padding-left: 6px;
}
-code, .codehilite {
+pre {
background: #262626;
-webkit-box-shadow: inset 0 0 10px #000000;
-moz-box-shadow: inset 0 0 10px #000000;
box-shadow: inset 0 0 10px #000000;
color: #ffffff;
- display: block;
margin-left: -24px;
font-family: 'Droid Sans Mono', monospace;
padding: 24px;
@@ -541,8 +540,7 @@ p[role="contentinfo"] {
width: 50%;
}
blockquote,
-code,
-.codehilite,
+pre
.post ul,
.post ol,
p,
@@ -601,6 +599,7 @@ p,
}
}
@media screen and (min-width: 55.5em) {
+ pre,
.post > p,
.post blockquote,
.post ul,
@@ -672,9 +671,9 @@ p,
margin-bottom: 24px;
}
code, .codehilite {
- line-height: 1.5;
font-size: 36px;
}
+ pre,
.post > p,
.post blockquote,
.post ul,
@@ -972,4 +971,4 @@ p,
.il {
color: #514986;
}
-/* Literal.Number.Integer.Long */ \ No newline at end of file
+/* Literal.Number.Integer.Long */