admon.style.xml 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. <refsynopsisdiv>
  17. <src:fragment xml:id="admon.style.frag"><xsl:param name="admon.style">
  18. <xsl:value-of select="concat('margin-', $direction.align.start,
  19. ': 0.5in; margin-', $direction.align.end, ': 0.5in;')"/>
  20. </xsl:param></src:fragment>
  21. </refsynopsisdiv>
  22. <refsection><info><title>Description</title></info>
  23. <para>Specifies the value of the CSS <tag class="attribute">style</tag>
  24. attribute that should be added to admonitions.
  25. </para>
  26. </refsection>
  27. </refentry>