Import all the header fields and the body of the message.
[cocanwiki.git] / html / _css / standard.css
index 3ac7ab9..f672529 100644 (file)
@@ -1,5 +1,5 @@
 /* Stylesheet for COCANWIKI.
- * $Id: standard.css,v 1.11 2004/10/09 08:33:02 rich Exp $
+ * $Id: standard.css,v 1.14 2004/10/10 16:48:25 rich Exp $
  */
 
 body {
@@ -281,6 +281,50 @@ div#form_div p.edit_link {
   display: none;
 }
 
+/* Navigation area.
+ * The navigation_space_div reserves the space for the div and appears
+ * at the beginning of the page (but is empty).
+ */
+div#navigation_space_div {
+  float: right;
+  width: 10em;
+  height: 20em;
+  border: 1px solid #ccc;
+  background: #fff;
+  margin-left: 1em;
+}
+
+div#navigation_div {
+  position: absolute;
+  right: 1em;
+  top: 6em;
+  width: 10em;
+  height: 20em;
+}
+
+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;
+}
+
+div#navigation_div h3 {
+  margin-left: 1em;
+  margin-top: -0.5em;
+  font-size: 70%;
+}
+
+div#navigation_div ul {
+  font-size: 70%;
+  margin-top: -1em;
+  margin-left: -1em;
+}
+
 /* Calendar extension. */
 table.cal_month {
   border-collapse: collapse;
@@ -440,3 +484,33 @@ table.cal_day a.cal_day_left {
 table.cal_day a.cal_day_right {
   margin-left: 2em;
 }
+
+/* For print media. */
+@media print {
+  /* Move the body up (no top menu anymore). */
+  body { margin-top: 4em; }
+
+  /* Hide the navigation. */
+  div#search_div { display: none; }
+  div#navigation_div { display: none; }
+  div#navigation_space_div { display: none; }
+  ul#topmenu { display: none; }
+  div#menu_div { display: none; }
+  p.edit_link { display: none; }
+
+  /* Display the target of external links. */
+  a.external {
+    background: none;
+    padding-right: 0px;
+  }
+  a.external:after {
+    content: " [" attr(href) "]";
+  }
+  a.mailto:after {
+    background: none;
+    padding-right: 0px;
+  }
+  a.mailto:after {
+    content: " [" attr(href) "]";
+  }
+}
\ No newline at end of file