From 93d29866644ac0bd597b3491f97ae37d759f9053 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 24 Oct 2014 15:53:00 -0700 Subject: Spec: Made background color for code spans work more consistently. Closes #162. --- template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.html b/template.html index 5942a6c..0eaf299 100644 --- a/template.html +++ b/template.html @@ -36,8 +36,8 @@ pre { white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ } -code { font-family: monospace; } -p code { background-color: #D3E1E4; } +code { font-family: monospace; background-color: #D3E1E4; } +pre > code { background-color: transparent; } div.example > pre { float:left; width: 48%; } div.example > pre.markdown { clear:left; } pre.tree { font-weight: bold; color: #777; } -- cgit v1.2.3