diff options
author | Fred Drake <fdrake@acm.org> | 2004-11-10 15:37:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-11-10 15:37:54 (GMT) |
commit | 39a6a6d3c8d744987de8412e96d15c791ccecd35 (patch) | |
tree | 8ff0b950668acf0469e53dc8e01cb5cfe142e3f9 /Doc/html | |
parent | 96b49a51d061ff9ae57f82694d5ba164eda93f32 (diff) | |
download | cpython-39a6a6d3c8d744987de8412e96d15c791ccecd35.zip cpython-39a6a6d3c8d744987de8412e96d15c791ccecd35.tar.gz cpython-39a6a6d3c8d744987de8412e96d15c791ccecd35.tar.bz2 |
move much of the table styling out of the HTML and into the CSS;
this also makes some constructs more XHTML friendly (including adding in
some missing </tr> tags)
Diffstat (limited to 'Doc/html')
-rw-r--r-- | Doc/html/style.css | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/Doc/html/style.css b/Doc/html/style.css index 2e210b1..9e95677 100644 --- a/Doc/html/style.css +++ b/Doc/html/style.css @@ -125,8 +125,49 @@ div.note .label { margin-right: 0.5em; .file { font-family: avantgarde, sans-serif; } .guilabel { font-family: avantgarde, sans-serif; } -.tableheader { background-color: #99ccff; - font-family: avantgarde, sans-serif; } +.realtable { border-collapse: collapse; + border-color: black; + border-style: solid; + border-width: 0px 0px 2px 0px; + /* This "empty-cells" property should allow us to + avoid having anything for empty cells, + but many browsers don't implement this at + all. */ + empty-cells: show; + margin-left: auto; + margin-right: auto; + padding-left: 0.4em; + padding-right: 0.4em; + } +.realtable tbody { vertical-align: baseline; } +.realtable tfoot { display: table-footer-group; } +.realtable thead { background-color: #99ccff; + border-width: 0px 0px 2px 1px; + display: table-header-group; + font-family: avantgarde, sans-serif; + font-weight: bold; + vertical-align: baseline; + } +.realtable thead :first-child { + border-width: 0px 0px 2px 0px; + } +.realtable thead th { border-width: 0px 0px 2px 1px } +.realtable td, +.realtable th { border-color: black; + border-style: solid; + border-width: 0px 0px 1px 1px; + padding-left: 0.4em; + padding-right: 0.4em; + text-align: inherit; + } +.realtable td:first-child, +.realtable th:first-child { + border-left-width: 0px; + vertical-align: baseline; + } +.realtable .center { text-align: center; } +.realtable .left { text-align: left; } +.realtable .right { text-align: right; } .refcount-info { font-style: italic; } .refcount-info .value { font-weight: bold; |