W3C home > Mailing lists > Public > public-css-commits@w3.org > February 2011

csswg default.css,1.11,1.12

From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 15 Feb 2011 05:11:01 +0000
To: public-css-commits@w3.org
Message-Id: <E1PpDBl-00020j-Ak@lionel-hutz.w3.org>
Update of /sources/public/csswg
In directory hutz:/tmp/cvs-serv7715

Modified Files:
	default.css 
Log Message:
Add some more commenting to section up the stylesheet a bit

Index: default.css
===================================================================
RCS file: /sources/public/csswg/default.css,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- default.css	1 Dec 2010 10:21:51 -0000	1.11
+++ default.css	15 Feb 2011 05:10:59 -0000	1.12
@@ -33,7 +33,7 @@
 
 body {counter-reset: exampleno figure}
 
-h2, h3, h5, h6 { margin-top: 2em }
+/* Pagination */
 h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
 div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
 div.example { page-break-inside: avoid }
@@ -41,6 +41,14 @@
 
 span.id {float: right; font-weight: bold}
 
+/* General Structural Markup */
+h2, h3, h5, h6 {
+    margin-top: 2em;
+}
+h1 + h2 {
+    margin-top: 0;
+}
+
 p, p.testlink + p, p.mtb {
     text-indent: 0;
     margin-bottom: 0;
@@ -54,10 +62,6 @@
     margin-top: 0
 }
 
-h1 + h2 {
-    margin-top: 0;
-}
-
 pre {
     text-align: left; /* fixes justification in Mac IE 5 */
     text-indent: 0;   /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@
 ul.indexlist li { margin-left: 0; list-style: none }
 ul.indexlist li li { margin-left: 1em }
 
+/* Examples */
+
 .example {
     counter-increment: exampleno;
 }
Received on Tuesday, 15 February 2011 05:11:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:01 UTC