From 759cd64828c8a2ba7bba2f069acc7cc22004a394 Mon Sep 17 00:00:00 2001 From: rich Date: Thu, 21 Oct 2004 18:02:48 +0000 Subject: [PATCH] Outdent the headers only when inside the content_div. --- html/_css/editor.css | 7 +------ html/_css/standard.css | 7 +++++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/html/_css/editor.css b/html/_css/editor.css index 8541023..0c965e3 100644 --- a/html/_css/editor.css +++ b/html/_css/editor.css @@ -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; } diff --git a/html/_css/standard.css b/html/_css/standard.css index e8d1b87..db2f7a4 100644 --- a/html/_css/standard.css +++ b/html/_css/standard.css @@ -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; } -- 1.8.3.1