Don't indent paras. Although it's recommended by Bringhurst, I don't
authorrich <rich>
Thu, 21 Oct 2004 20:39:48 +0000 (20:39 +0000)
committerrich <rich>
Thu, 21 Oct 2004 20:39:48 +0000 (20:39 +0000)
think it works well with the short (often single-line) paragraphs
which predominate on intranets.

Hang the bullet points in the left margin.

Multiple fixes for IE, which is a piece of crap.

html/_css/standard.css

index db2f7a4..dcc2d8f 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.18 2004/10/21 18:02:48 rich Exp $
+ * $Id: standard.css,v 1.19 2004/10/21 20:39:48 rich Exp $
  */
 
 /* Based on the basic stylesheet. */
@@ -46,30 +46,33 @@ h3, h4 {
   font-size: 100%;
 }
 
+/* Ordinary text. */
+div#content_div {
+  margin-left: 3em;
+  width: 30em;
+  min-height: 22em;
+}
+
 /* Outdent headers in the content div. */
 div#content_div h2, div#content_div h3, div#content_div h4 {
   margin-left: -2em;
 }
 
-/* IE is a piece of crap. */
-* html h2, * html h3, * html h4 {
+/* ... except on IE which can't handle it. */
+* html div#content_div h2, * html div#content_div h3, * html div#content_div h4 {
   margin-left: 0px;
 }
 
-/* Ordinary text. */
-div#content_div {
-  margin-left: 3em;
-  width: 30em;
-  min-height: 22em;
-}
-
-div#content_div p {
-  text-indent: 1em;
+/* Lists. */
+div#content_div ul {
+  margin-left: 0px;
+  padding-left: 0px;
 }
 
-/* Don't indent the first paragraph. */
-div#content_div p.first_para {
-  text-indent: 0px;
+/* ... except on IE, piece of crap. */
+* html div#content_div ul {
+  margin-left: 1em;
+  padding-left: 1em;
 }
 
 /* Make <code> sections slightly larger in Gecko browsers. */