annotation.css.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <refsynopsisdiv>
  16. <src:fragment xml:id="annotation.css.frag">
  17. <xsl:param name="annotation.css">
  18. /* ======================================================================
  19. Annotations
  20. */
  21. div.annotation-list { visibility: hidden;
  22. }
  23. div.annotation-nocss { position: absolute;
  24. visibility: hidden;
  25. }
  26. div.annotation-popup { position: absolute;
  27. z-index: 4;
  28. visibility: hidden;
  29. padding: 0px;
  30. margin: 2px;
  31. border-style: solid;
  32. border-width: 1px;
  33. width: 200px;
  34. background-color: white;
  35. }
  36. div.annotation-title { padding: 1px;
  37. font-weight: bold;
  38. border-bottom-style: solid;
  39. border-bottom-width: 1px;
  40. color: white;
  41. background-color: black;
  42. }
  43. div.annotation-body { padding: 2px;
  44. }
  45. div.annotation-body p { margin-top: 0px;
  46. padding-top: 0px;
  47. }
  48. div.annotation-close { position: absolute;
  49. top: 2px;
  50. right: 2px;
  51. }
  52. </xsl:param>
  53. </src:fragment>
  54. </refsynopsisdiv>
  55. <refsection><info><title>Description</title></info>
  56. <para>If <parameter>annotation.support</parameter> is enabled and the
  57. document contains <tag>annotation</tag>s, then the CSS in this
  58. parameter will be included in the document.</para>
  59. </refsection>
  60. </refentry>