Override default negative left margin in standard.css.
[cocanwiki.git] / html / _css / standard.css
index f672529..b68bcfa 100644 (file)
@@ -1,12 +1,13 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.14 2004/10/10 16:48:25 rich Exp $
+ * $Id: standard.css,v 1.16 2004/10/17 17:29:48 rich Exp $
  */
 
 body {
   background: #fff;
   color: #000;
-  font-family: arial, helvetica, sans-serif;
+  font-family: trebuchet ms, palatino, georgia, arial, helvetica, sans-serif;
   margin-top: 6em;
+  line-height: 1.35em;
 }
 
 /* Headers. */
@@ -22,16 +23,52 @@ h1 {
 }
 
 h2 {
-  color: #003;
-  background-color: #ffc;
+  color: #666;
+  border-top: 1px dashed #ddd;
   padding: 6px 3px 3px 3px;
-  border-top: 1px solid #eeb;
   font-size: 120%;
+  margin-left: -2em;
+}
+
+h3, h4 {
+  color: #555;
+  font-size: 100%;
+  margin-left: -2em;
+}
+
+/* IE is a piece of crap. */
+* html h2, * html h3, * html h4 {
+  margin-left: 0px;
 }
 
 /* Ordinary text. */
-p {
-  margin-left: 1em;
+div#content_div {
+  margin-left: 3em;
+  width: 30em;
+  min-height: 22em;
+}
+
+div#content_div p {
+  text-indent: 1em;
+}
+
+/* Don't indent the first paragraph. */
+div#content_div p.first_para {
+  text-indent: 0px;
+}
+
+/* Make <code> sections slightly larger in Gecko browsers. */
+code {
+  font-size: 1.2em;
+}
+
+* html code {
+  font-size: 1em;
+}
+
+/* Abbreviations should be in smallcaps. */
+abbr {
+  font-variant: smallcaps;
 }
 
 /* Links. */
@@ -66,9 +103,9 @@ a.file_not_found {
 /* Preformatted text. */
 pre {
   margin-left: 1em;
-  background-color: #eee;
+  background-color: #fefefe;
   padding: 3px;
-  border: dashed 1px #ddd;
+  border: solid 1px #eee;
 }
 
 /* Images.  (Try setting 'class' on an image). */
@@ -288,8 +325,7 @@ div#form_div p.edit_link {
 div#navigation_space_div {
   float: right;
   width: 10em;
-  height: 20em;
-  border: 1px solid #ccc;
+  height: 22em;
   background: #fff;
   margin-left: 1em;
 }
@@ -299,18 +335,12 @@ div#navigation_div {
   right: 1em;
   top: 6em;
   width: 10em;
-  height: 20em;
+  height: 22em;
+  line-height: 1em;
 }
 
 div#navigation_div h2 {
-  font-size: 70%;
-  position: relative;
-  top: -1.5em;
-  left: 1.5em;
-  border: 1px solid #ccc;
-  padding-top: 2px;
-  background: #fff;
-  display: inline;
+  display: none;
 }
 
 div#navigation_div h3 {
@@ -325,6 +355,13 @@ div#navigation_div ul {
   margin-left: -1em;
 }
 
+/* The "* html" causes this rule to only be applied to IE 5/6. */
+* html div#navigation_div li {
+  line-height: 1.2em;
+  margin-left: 3em;
+  padding-left: 0px;
+}
+
 /* Calendar extension. */
 table.cal_month {
   border-collapse: collapse;
@@ -498,6 +535,11 @@ table.cal_day a.cal_day_right {
   div#menu_div { display: none; }
   p.edit_link { display: none; }
 
+  a.newpage {
+    background: none;
+    padding-right: 0px;
+  }
+
   /* Display the target of external links. */
   a.external {
     background: none;