<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="html.css">
 <info>
  <link type="guide" xref="html" group="templates"/>
  <link type="guide" xref="templates" group="html"/>
  <desc>Output all CSS for an HTML output page.</desc>
  <revision version="1.0" date="2010-12-23" status="final"/>
 </info>
 <title>html.css</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>The node to create CSS for.</p>
   </item>
   <item>
    <title><code>$direction</code></title>
    <p>The directionality of the text, either <sys>ltr</sys> or <sys>rtl</sys>.</p>
   </item>
   <item>
    <title><code>$left</code></title>
    <p>The starting alignment, either <sys>left</sys> or <sys>right</sys>.</p>
   </item>
   <item>
    <title><code>$right</code></title>
    <p>The ending alignment, either <sys>left</sys> or <sys>right</sys>.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template creates the CSS for an HTML output page, including the enclosing
 HTML <sys>style</sys> element. It calls the templates <code xref="html.css.content">html.css.content</code> to output the
 actual CSS contents.</p>
 <p>The <code>$direction</code> parameter specifies the directionality of the text for the
 language of the document. The <code>$left</code> and <code>$right</code> parameters are based on
 <code>$direction</code>, and can be used to set beginning and ending margins or other
 dimensions. All parameters can be automatically computed if not provided.</p>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="html.css.content"/></p>
  </item>
  <item>
   <p><link xref="l10n.align.end"/></p>
  </item>
  <item>
   <p><link xref="l10n.align.start"/></p>
  </item>
  <item>
   <p><link xref="l10n.direction"/></p>
  </item>
 </list>
</page>
