- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 09 Aug 2011 22:42:42 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg
In directory hutz:/tmp/cvs-serv28958
Modified Files:
default.css
Log Message:
Copy over proptable styling from css3-background (even though it's ugly), reorganize code example classes so the style rules are less verbose
Index: default.css
===================================================================
RCS file: /sources/public/csswg/default.css,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- default.css 21 May 2011 08:53:11 -0000 1.14
+++ default.css 9 Aug 2011 22:42:40 -0000 1.15
@@ -148,40 +148,21 @@
border: thin solid #999;
/*margin: -1.3em 0 0.3em -2.5em;*/
}
-div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
-div.illegal-xml, pre.example, pre.illegal-example, pre.html,
-pre.illegal-html, pre.xml, pre.illegal-xml {
+div.example, div.html, div.xml,
+pre.example, pre.html, pre.xml {
background: #FFF8DD;
padding: 0.5em;
margin: 1em 0;
border: thin solid #999;
position: relative;
clear: both;
+ color: #600;
}
-pre.example, pre.illegal-example, pre.html,
-pre.illegal-html, pre.xml, pre.illegal-xml {
+pre.example, pre.html, pre.xml {
padding-top: 1.5em;
}
-div.example { color: #600 }
-pre.example { color: #600 }
-pre.illegal-example { color: red }
-div.illegal-example { color: red }
-div.illegal-example p { color: black }
-
-div.html { color: #600 }
-pre.html { color: #600 }
-pre.illegal-html { color: red }
-div.illegal-html { color: red }
-div.illegal-html p { color: black }
-pre.deprecated-html { color: red }
-div.deprecated-html { color: red }
-div.deprecated-html p { color: black }
-
-div.xml { color: #600 }
-pre.xml { color: #600 }
-pre.illegal-xml { color: red }
-div.illegal-xml { color: red }
-div.illegal-xml p { color: black }
+div.illegal, pre.illegal { color: red }
+div.illegal p { color: black }
/* code { font-size: 90% } */
.css { color: #800 } /* inline CSS code (SPAN/CODE) */
@@ -338,7 +319,6 @@
border-left-style: none;
}
-
/* Style for table that defines a property or a descriptor */
table.propdef, table.propdef-extra, table.descdef {
border-spacing: 0;
@@ -437,12 +417,13 @@
padding: 0.3em 0.3em 0.3em 0.7em;
}
-
/* Style for data tables (and properly marked-up proptables) */
.data, .proptable {
+ font-size: small;
margin: 1em auto;
border-collapse: collapse;
+ border-spacing: 0;
border: solid #005A9B;
}
.data caption {
@@ -451,10 +432,16 @@
}
.data td, .data th,
.proptable td, .proptable th {
- border: thin solid;
- padding: 0.2em;
+ border: thin;
+ border-style: solid none none dotted;
+ padding: 0.4em;
text-align: center;
+ border-color: red;
}
+ th:first-child, td:first-child {
+ border-left-style: none;
+ }
+
.data thead th[scope="row"],
.proptable thead th[scope="row"] {
text-align: right;
@@ -478,6 +465,13 @@
.data colgroup {
border: solid;
}
+ .proptable code {
+ font: inherit;
+ white-space: nowrap;
+ }
+ .proptable th a {
+ display: block;
+ }
.data img {
vertical-align: middle;
Received on Tuesday, 9 August 2011 22:42:43 UTC