summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-12-07 21:23:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2019-12-07 21:31:32 -0500
commit42210bba63f57bc504db7b0d6c2e3e7e5c41bf9f (patch)
tree3b894e67a1dac5f81b61d75ebfed84260e9b9d5c
parent67061319354305eb6f10edfb056335c746134222 (diff)
downloadpython-coveragepy-git-42210bba63f57bc504db7b0d6c2e3e7e5c41bf9f.tar.gz
parsed-literals aren't styled right, fix that.
-rw-r--r--doc/_static/coverage.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/_static/coverage.css b/doc/_static/coverage.css
index 7a67a007..9726bbf4 100644
--- a/doc/_static/coverage.css
+++ b/doc/_static/coverage.css
@@ -14,3 +14,16 @@ img.tideliftlogo {
border: 1px solid #888;
margin-top: .5em !important;
}
+
+/* .. parsed-literal:: isn't styled like other <pre> blocks!? */
+
+.rst-content pre.literal-block {
+ white-space: pre;
+ margin: 0 !important;
+ padding: 12px 12px !important;
+ font-family: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;
+ font-size: 12px;
+ display: block;
+ overflow: auto;
+ color: #404040;
+}