aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-10-24 15:53:00 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-10-24 15:53:00 -0700
commit93d29866644ac0bd597b3491f97ae37d759f9053 (patch)
treed50fa8ee61d67756186d84d79c644d6b1d0cb0e6
parenta2011707a61bea9e3f01fd0f02f4dace6cb06a37 (diff)
Spec: Made background color for code spans work more consistently.
Closes #162.
-rw-r--r--template.html4
1 files 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; }