Display a warning to the user if they're viewing old versions of the
[exim-website.git] / templates / web / doc / chapter.css
index 68e35b53ba333ce0d69bdc242236dd303b723ee5..3eab804dda503772542bb668e13f1c336c9a0ff5 100644 (file)
@@ -1,3 +1,38 @@
+#old_version_warning {
+  text-align:  center;
+  padding:     0.1em;
+  margin:      0;
+  font-size:   1.4em;
+}
+
+body.with-js #old_version_warning {
+  display:          none;
+  text-align:       left;
+  position:         fixed;
+  top:              20%;
+  left:                    30%;
+  width:            40%;
+  background-color: #fff;
+  border:           1px solid #000;
+  padding:          1em;
+  z-index:          10000;
+}
+
+#old_version_warning span.closebar {
+  float:            right;
+  position:         relative;
+  right:            -0.5em;
+  top:              -0.5em;
+}
+
+#old_version_warning span.closebar a {
+  text-decoration:  none;
+}
+
+body.no-js #old_version_warning span.closebar {
+  display: none;
+}
+
 .previous_page, .next_page {
   font-size:      1.2em;
 }
@@ -117,3 +152,8 @@ dl dd dl
      display:    none;
    }
  }
+
+/* Changebars  -- experimental */
+.changed {
+  border-right: 5px solid #000;
+}