11/*
22 * Style sheet for the CSS3 specification,
33 * to be used in addition to http://www.w3.org/StyleSheets/TR/W3C-{WD,PR,REC}
4- * $Id$
54 */
65
76@media print {
@@ -149,40 +148,21 @@ pre.example:before {
149148 border : thin solid # 999 ;
150149 /*margin: -1.3em 0 0.3em -2.5em;*/
151150}
152- div .example , div .illegal-example , div .html , div .illegal-html , div .xml ,
153- div .illegal-xml , pre .example , pre .illegal-example , pre .html ,
154- pre .illegal-html , pre .xml , pre .illegal-xml {
151+ div .example , div .html , div .xml ,
152+ pre .example , pre .html , pre .xml {
155153 background : # FFF8DD ;
156154 padding : 0.5em ;
157155 margin : 1em 0 ;
158156 border : thin solid # 999 ;
159157 position : relative;
160158 clear : both;
159+ color : # 600 ;
161160}
162- pre .example , pre .illegal-example , pre .html ,
163- pre .illegal-html , pre .xml , pre .illegal-xml {
161+ pre .example , pre .html , pre .xml {
164162 padding-top : 1.5em ;
165163}
166- div .example { color : # 600 }
167- pre .example { color : # 600 }
168- pre .illegal-example { color : red }
169- div .illegal-example { color : red }
170- div .illegal-example p { color : black }
171-
172- div .html { color : # 600 }
173- pre .html { color : # 600 }
174- pre .illegal-html { color : red }
175- div .illegal-html { color : red }
176- div .illegal-html p { color : black }
177- pre .deprecated-html { color : red }
178- div .deprecated-html { color : red }
179- div .deprecated-html p { color : black }
180-
181- div .xml { color : # 600 }
182- pre .xml { color : # 600 }
183- pre .illegal-xml { color : red }
184- div .illegal-xml { color : red }
185- div .illegal-xml p { color : black }
164+ div .illegal , pre .illegal { color : red }
165+ div .illegal p { color : black }
186166
187167/* code { font-size: 90% } */
188168.css { color : # 800 } /* inline CSS code (SPAN/CODE) */
@@ -333,12 +313,12 @@ table.proptable td, table.proptable th {
333313 border-style : solid none none dotted;
334314 border-width : thin;
335315 border-color : red;
316+ vertical-align : baseline;
336317}
337318table .proptable th : first-child , table .proptable td : first-child {
338319 border-left-style : none;
339320}
340321
341-
342322/* Style for table that defines a property or a descriptor */
343323table .propdef , table .propdef-extra , table .descdef {
344324 border-spacing : 0 ;
@@ -437,12 +417,13 @@ table.features td {
437417 padding : 0.3em 0.3em 0.3em 0.7em ;
438418}
439419
440-
441420/* Style for data tables (and properly marked-up proptables) */
442421
443422 .data , .proptable {
423+ font-size : small;
444424 margin : 1em auto;
445425 border-collapse : collapse;
426+ border-spacing : 0 ;
446427 border : solid # 005A9B ;
447428 }
448429 .data caption {
@@ -451,10 +432,16 @@ table.features td {
451432 }
452433 .data td , .data th ,
453434 .proptable td , .proptable th {
454- border : thin solid;
455- padding : 0.2em ;
435+ border : thin;
436+ border-style : solid none none dotted;
437+ padding : 0.4em ;
456438 text-align : center;
439+ border-color : red;
440+ }
441+ th : first-child , td : first-child {
442+ border-left-style : none;
457443 }
444+
458445 .data thead th [scope = "row" ],
459446 .proptable thead th [scope = "row" ] {
460447 text-align : right;
@@ -478,6 +465,13 @@ table.features td {
478465 .data colgroup {
479466 border : solid;
480467 }
468+ .proptable code {
469+ font : inherit;
470+ white-space : nowrap;
471+ }
472+ .proptable th a {
473+ display : block;
474+ }
481475
482476 .data img {
483477 vertical-align : middle;
0 commit comments