summaryrefslogtreecommitdiff
path: root/doc/style.css
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 06:55:12 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 06:55:12 +0000
commitd73eb7d9b2569ebb44fc79480b6ec2d8c1faea5d (patch)
treea7a268140d43e358dd8e1cb3d5c29deef5ab1251 /doc/style.css
parent08d6f422a7848a2462418be58fcb186f5f2cec03 (diff)
* Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates. * Include the note template in the basewiki. * Add a popup template in the basewiki. CSS based on some by Martin Krafft. * Make the note, popup, and plugin templates detect missing variables and be self-documenting, listing the available variables.
Diffstat (limited to 'doc/style.css')
-rw-r--r--doc/style.css63
1 files changed, 44 insertions, 19 deletions
diff --git a/doc/style.css b/doc/style.css
index 0fc29f9e1..af460dd0d 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -161,25 +161,6 @@ td.changelog {
padding: 2ex 2ex;
}
-.infobox {
- float: right;
- margin-left: 2ex;
- margin-top: 1ex;
- margin-bottom: 1ex;
- padding: 1ex 1ex;
- border: 1px solid #aaa;
-}
-
-.notebox {
- float: right;
- margin-left: 2ex;
- margin-top: 1ex;
- margin-bottom: 1ex;
- padding: 1ex 1ex;
- border: 1px solid #aaa;
- width: 25%
-}
-
/* outlines */
li.L1 {
list-style: upper-roman;
@@ -236,3 +217,47 @@ input#openid_url {
#blogform { display: none; }
#backlinks { display: none; }
}
+
+/* Provided for use by template plugin for floating info boxes. */
+.infobox {
+ float: right;
+ margin-left: 2ex;
+ margin-top: 1ex;
+ margin-bottom: 1ex;
+ padding: 1ex 1ex;
+ border: 1px solid #aaa;
+}
+
+/* Provided for use by template plugin for floating note boxes. */
+.notebox {
+ float: right;
+ margin-left: 2ex;
+ margin-top: 1ex;
+ margin-bottom: 1ex;
+ padding: 1ex 1ex;
+ border: 1px solid #aaa;
+ width: 25%
+}
+
+/* Used by the popup template. */
+.popup {
+ border-bottom: 1px dotted #366;
+ color: #366;
+}
+.popup .balloon,
+.popup .paren {
+ display: none;
+}
+.popup:hover .balloon,
+.popup:focus .balloon {
+ position: absolute;
+ display: inline;
+ margin: 1em 0 0 -2em;
+ padding: 0.625em;
+ border: 2px solid;
+ background-color: #dee;
+ color: black;
+ opacity: 0.95;
+ -moz-opacity: 0.95;
+ filter: alpha(opacity=95);
+}