summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-23 21:56:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-23 21:56:46 -0400
commit265282603d4280c3d7e06c6b57e16a918ec34e7b (patch)
tree0cc0fd958ca09d13062697d21de879a14c31759d /coverage/html.py
parent9e81e649afb9984d6b8ce1a8d25d732d1dd4c7bc (diff)
downloadpython-coveragepy-git-265282603d4280c3d7e06c6b57e16a918ec34e7b.tar.gz
Font tweaking.
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py20
1 files changed, 16 insertions, 4 deletions
diff --git a/coverage/html.py b/coverage/html.py
index 7af08610..416c6879 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -97,14 +97,21 @@ html, body, p, td {
padding: 0;
}
+/* Set baseline grid to 14 pt. */
body {
- font-size: 75%;
+ font-size: .875em; /* 14/16 */
}
html>body {
- font-size: 12px;
+ font-size: 14px;
}
-
+
+/* Set base font size to 12/14 */
+p {
+ font-size: .85714em; /* 12/14 */
+ line-height: 1.16667em; /* 14/12 */
+ }
+
a.nav {
text-decoration: none;
color: inherit;
@@ -155,8 +162,13 @@ a.nav:hover {
.linenos p {
text-align: right;
margin: 0;
- padding: 0 .5em 0 .5em;
+ padding: 0 .5em;
color: #999999;
+ font-size: .75em; /* 9/12 */
+ line-height: 1.3333em; /* 12/9, why isn't it 14/9? */
+ }
+td.text {
+ width: 100%;
}
.text p {
margin: 0;