From 185fde63f212d3b95b2c8e190a5932ec7eaa5321 Mon Sep 17 00:00:00 2001 From: Bertrand Bousquet Date: Thu, 4 Sep 2014 15:05:50 +0200 Subject: Fix inline code tag rendering --- Just-Read/static/css/main.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Just-Read') 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 */ -- cgit