diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-23 21:56:46 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-04-23 21:56:46 -0400 |
commit | 6055e1fdad3a483b76333fd63583f431fe664e5f (patch) | |
tree | 8a28f96e6597d071954f922aca870d4e81b09ded /coverage/html.py | |
parent | d20a279dd409a3aebd2735d16e5c4e18bd2c5ae4 (diff) | |
download | python-coveragepy-6055e1fdad3a483b76333fd63583f431fe664e5f.tar.gz |
Font tweaking.
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/coverage/html.py b/coverage/html.py index 7af0861..416c687 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; |