summaryrefslogtreecommitdiffstats
path: root/Doc/html
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-15 18:41:31 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-15 18:41:31 (GMT)
commit8a5e6790d959cac49ab66cf4973b6ab6c3f397fd (patch)
tree96cb87290b85f8e467cea324bede4aca848fc47f /Doc/html
parenteeb5ec42e03f7de46d60cfd547bc083071cb5745 (diff)
downloadcpython-8a5e6790d959cac49ab66cf4973b6ab6c3f397fd.zip
cpython-8a5e6790d959cac49ab66cf4973b6ab6c3f397fd.tar.gz
cpython-8a5e6790d959cac49ab66cf4973b6ab6c3f397fd.tar.bz2
Clean up the application of style to verbatim text.
This moves styling to the stylesheet; the use of <dl> structures to control style sometimes produced improper indentation of subsequent text in many browsers when the text was already part of the <dl> structure (as in a function or class description).
Diffstat (limited to 'Doc/html')
-rw-r--r--Doc/html/style.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/html/style.css b/Doc/html/style.css
index 5f502dd..9b8ebf5 100644
--- a/Doc/html/style.css
+++ b/Doc/html/style.css
@@ -65,9 +65,11 @@ var { font-family: times, serif;
.titlegraphic { vertical-align: top; }
-.verbatim { color: #00008b;
+.verbatim pre { color: #00008b;
font-family: lucida typewriter, lucidatypewriter,
- monospace; }
+ monospace;
+ font-size: 90%; }
+.verbatim { margin-left: 2em; }
.grammar { background-color: #99ccff;
margin-right: 0.5in;