]> git.stg.codes - stg.git/blob - doc/xslt/params/annotation.css.xml
Some fixes in build scripts.
[stg.git] / doc / xslt / params / annotation.css.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="annotation.css">
7 <refmeta>
8 <refentrytitle>annotation.css</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>annotation.css</refname>
13 <refpurpose>CSS rules for annotations</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="annotation.css.frag">
18 <xsl:param name="annotation.css">
19 /* ======================================================================
20    Annotations
21 */
22
23 div.annotation-list  { visibility: hidden;
24                      }
25
26 div.annotation-nocss { position: absolute;
27                        visibility: hidden;
28                      }
29
30 div.annotation-popup { position: absolute;
31                        z-index: 4;
32                        visibility: hidden;
33                        padding: 0px;
34                        margin: 2px;
35                        border-style: solid;
36                        border-width: 1px;
37                        width: 200px;
38                        background-color: white;
39                      }
40
41 div.annotation-title { padding: 1px;
42                        font-weight: bold;
43                        border-bottom-style: solid;
44                        border-bottom-width: 1px;
45                        color: white;
46                        background-color: black;
47                      }
48
49 div.annotation-body  { padding: 2px;
50                      }
51
52 div.annotation-body p { margin-top: 0px;
53                         padding-top: 0px;
54                       }
55
56 div.annotation-close { position: absolute;
57                        top: 2px;
58                        right: 2px;
59                      }
60 </xsl:param>
61 </src:fragment>
62 </refsynopsisdiv>
63
64 <refsection><info><title>Description</title></info>
65
66 <para>If <parameter>annotation.support</parameter> is enabled and the
67 document contains <tag>annotation</tag>s, then the CSS in this
68 parameter will be included in the document.</para>
69
70 </refsection>
71 </refentry>