[Python-checkins] python/dist/src/Doc/html style.css,1.40,1.41
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Wed Nov 10 18:03:16 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/html
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3667/html
Modified Files:
style.css
Log Message:
move table formatting for grammar productions from HTML to CSS
Index: style.css
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/html/style.css,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- style.css 10 Nov 2004 15:39:50 -0000 1.40
+++ style.css 10 Nov 2004 17:02:42 -0000 1.41
@@ -108,6 +108,8 @@
padding: 0.05in; }
.grammar-footer { padding: 0.05in;
font-size: 85%; }
+.grammartoken { font-family: "lucida typewriter", lucidatypewriter,
+ monospace; }
.productions { background-color: #bbeeff; }
.productions a:active { color: #ff0000; }
@@ -115,7 +117,28 @@
.productions a:visited:hover { background-color: #99ccff; }
.productions a:visited { color: #551a8b; }
.productions a:link { color: #0000bb; }
-.productions table { vertical-align: baseline; }
+.productions table { vertical-align: baseline;
+ empty-cells: show; }
+.productions > table td,
+.productions > table th { padding: 2px; }
+.productions > table td:first-child,
+.productions > table td:last-child {
+ font-family: "lucida typewriter",
+ lucidatypewriter,
+ monospace;
+ }
+/* same as the second selector above, but expressed differently for Opera */
+.productions > table td:first-child + td + td {
+ font-family: "lucida typewriter",
+ lucidatypewriter,
+ monospace;
+ vertical-align: baseline;
+ }
+.productions > table td:first-child + td {
+ padding-left: 1em;
+ padding-right: 1em;
+ }
+.productions > table tr { vertical-align: baseline; }
.email { font-family: avantgarde, sans-serif; }
.mailheader { font-family: avantgarde, sans-serif; }
More information about the Python-checkins
mailing list