[Python-checkins] python/dist/src/Doc/html style.css,1.38,1.39
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Wed Nov 10 16:37:56 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15203/html
Modified Files:
style.css
Log Message:
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)
Index: style.css
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/html/style.css,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- style.css 10 Nov 2004 08:08:26 -0000 1.38
+++ style.css 10 Nov 2004 15:37:53 -0000 1.39
@@ -125,8 +125,49 @@
.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;
More information about the Python-checkins
mailing list