Commented a bug.
[cocanwiki.git] / html / _css / standard.css
index db2f7a4..7e99195 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.27 2004/11/10 16:52:04 rich Exp $
  */
 
 /* Based on the basic stylesheet. */
@@ -46,30 +46,42 @@ 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;
+/* Lists. */
+div#content_div ul {
+  margin-left: 0px;
+  padding-left: 0px;
 }
 
-div#content_div p {
-  text-indent: 1em;
+div#content_div ol {
+  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;
+}
+* html div#content_div ol {
+  margin-left: 1em;
+  padding-left: 1em;
 }
 
 /* Make <code> sections slightly larger in Gecko browsers. */
@@ -83,7 +95,7 @@ code {
 
 /* Abbreviations should be in smallcaps. */
 abbr, acronym {
-  font-variant: smallcaps;
+  font-variant: small-caps;
 }
 
 /* Preformatted text. */
@@ -158,6 +170,67 @@ ul#footer {
   font-size: 70%;
 }
 
+/* Graphics on the menu items. */
+li.edit_li a {
+  padding-left: 16px;
+  background: url(/_graphics/edit.png) center left no-repeat;
+}
+
+li.files_li a {
+  padding-left: 18px;
+  background: url(/_graphics/files.png) center left no-repeat;
+}
+
+li.home_li a {
+  padding-left: 16px;
+  background: url(/_graphics/home.png) center left no-repeat;
+}
+
+li.images_li a {
+  padding-left: 18px;
+  background: url(/_graphics/images.png) center left no-repeat;
+}
+
+li.maillist_li a {
+  padding-left: 18px;
+  background: url(/_graphics/maillist.png) center left no-repeat;
+}
+
+li.new_li a {
+  padding-left: 16px;
+  background: url(/_graphics/new.png) center left no-repeat;
+}
+
+li.recent_li a {
+  padding-left: 18px;
+  background: url(/_graphics/recent.png) center left no-repeat;
+}
+
+li.sitemap_li a {
+  padding-left: 18px;
+  background: url(/_graphics/sitemap.png) center left no-repeat;
+}
+
+li.stats_li a {
+  padding-left: 18px;
+  background: url(/_graphics/stats.png) center left no-repeat;
+}
+
+li.stylesheet_li a {
+  padding-left: 16px;
+  background: url(/_graphics/edit.png) center left no-repeat;
+}
+
+li.versions_li a {
+  padding-left: 18px;
+  background: url(/_graphics/versions.png) center left no-repeat;
+}
+
+li.wlh_li a {
+  padding-left: 18px;
+  background: url(/_graphics/wlh.png) center left no-repeat;
+}
+
 /* Sitemap page. */
 ul#sitemap {
   list-style: none;
@@ -192,7 +265,7 @@ ul#recent_changes {
 ul#recent_changes span.date {
   display: block;
   float: left;
-  width: 8.5em;
+  width: 9em;
 }
 
 /* History list. */
@@ -205,7 +278,7 @@ ul#history {
 ul#history span.date {
   display: block;
   float: left;
-  width: 8.5em;
+  width: 9em;
 }
 
 /* Forms. */
@@ -279,3 +352,29 @@ div#navigation_div ul {
   margin-left: 3em;
   padding-left: 0px;
 }
+
+/* Default for branding section.  The default doesn't claim to be very
+ * helpful.  If you enabled branding on the site, you should abs-position
+ * the branding_div, and indeed probably replace it with a logo at the
+ * top of each page.
+ */
+div#branding_div {
+  width: 30%;
+  float: right;
+  font-size: 0.7em;
+}
+
+div#branding_div h2 {
+  border: none;
+  margin: 0px;
+  padding: 0px;
+}
+
+div#branding_div p {
+  margin: 0px;
+  padding: 0px;
+}
+
+div#branding_div p#brand_description {
+  display: none;
+}
\ No newline at end of file