]> git.stg.codes - stg.git/blob - doc/xslt/params/admon.style.xml
Simplified admins API
[stg.git] / doc / xslt / params / admon.style.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="admon.style">
7 <refmeta>
8 <refentrytitle>admon.style</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>admon.style</refname>
13 <refpurpose>Specifies the CSS style attribute that should be added to
14 admonitions.</refpurpose>
15 </refnamediv>
16
17 <refsynopsisdiv>
18 <src:fragment xml:id="admon.style.frag"><xsl:param name="admon.style">
19   <xsl:value-of select="concat('margin-', $direction.align.start,
20            ': 0.5in; margin-', $direction.align.end, ': 0.5in;')"/>
21 </xsl:param></src:fragment>
22 </refsynopsisdiv>
23
24 <refsection><info><title>Description</title></info>
25
26 <para>Specifies the value of the CSS <tag class="attribute">style</tag>
27 attribute that should be added to admonitions.
28 </para>
29
30 </refsection>
31 </refentry>