aboutsummaryrefslogtreecommitdiffstats
path: root/Just-Read
diff options
context:
space:
mode:
authorBertrand Bousquet <bertrand@pc-bbo>2014-09-04 15:05:50 +0200
committerBertrand Bousquet <bertrand@pc-bbo>2014-09-04 15:05:50 +0200
commit185fde63f212d3b95b2c8e190a5932ec7eaa5321 (patch)
treedce3bfa5267733cf0b9ab4d4076f5147aea46351 /Just-Read
parent62c7297e84ee5fc00ae682c90502fbbc9f43c659 (diff)
downloadpelican-themes-185fde63f212d3b95b2c8e190a5932ec7eaa5321.zip
pelican-themes-185fde63f212d3b95b2c8e190a5932ec7eaa5321.tar.gz
pelican-themes-185fde63f212d3b95b2c8e190a5932ec7eaa5321.tar.bz2
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 */