Outdent the headers only when inside the content_div.
authorrich <rich>
Thu, 21 Oct 2004 18:02:48 +0000 (18:02 +0000)
committerrich <rich>
Thu, 21 Oct 2004 18:02:48 +0000 (18:02 +0000)
html/_css/editor.css
html/_css/standard.css

index 8541023..0c965e3 100644 (file)
@@ -1,16 +1,11 @@
 /* Stylesheet for COCANWIKI editor, derived from EWM.
- * $Id: editor.css,v 1.2 2004/10/17 21:14:13 rich Exp $
+ * $Id: editor.css,v 1.3 2004/10/21 18:02:48 rich Exp $
  */
 
 body {
   margin-top: 4em;
 }
 
-/* Override default negative left margin in standard.css */
-h2, h3, h4 {
-  margin-left: 0px;
-}
-
 p.insert {
   text-align: center;
 }
index e8d1b87..db2f7a4 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.17 2004/10/18 13:34:21 rich Exp $
+ * $Id: standard.css,v 1.18 2004/10/21 18:02:48 rich Exp $
  */
 
 /* Based on the basic stylesheet. */
@@ -39,12 +39,15 @@ h2 {
   border-top: 1px dashed #ddd;
   padding: 6px 3px 3px 3px;
   font-size: 120%;
-  margin-left: -2em;
 }
 
 h3, h4 {
   color: #555;
   font-size: 100%;
+}
+
+/* Outdent headers in the content div. */
+div#content_div h2, div#content_div h3, div#content_div h4 {
   margin-left: -2em;
 }