]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/slides/xhtml/css.xsl
Add stylesheets for our evergreen docbook site.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / slides / xhtml / css.xsl
1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
5
6 <!-- ====================================================================== -->
7
8 <xsl:template name="css-file">
9   <xsl:param name="css" select="'slides.css'"/>
10
11   <xsl:variable name="source.css.dir">
12     <xsl:call-template name="dbhtml-attribute">
13       <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
14       <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/>
15     </xsl:call-template>
16   </xsl:variable>
17
18   <xsl:choose>
19     <xsl:when test="$source.css.dir != ''">
20       <xsl:value-of select="$source.css.dir"/>
21       <xsl:text>/</xsl:text>
22     </xsl:when>
23     <xsl:when test="$css.stylesheet.dir != ''">
24       <xsl:value-of select="$css.stylesheet.dir"/>
25       <xsl:text>/</xsl:text>
26     </xsl:when>
27     <xsl:otherwise>
28       <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
29     </xsl:otherwise>
30   </xsl:choose>
31   <xsl:value-of select="$css"/>
32 </xsl:template>
33
34 <!-- ====================================================================== -->
35 <!-- active navigation images -->
36
37 <xsl:template name="css.stylesheet">
38   <xsl:param name="css" select="$css.stylesheet"/>
39   <!-- Danger Will Robinson: template shadows parameter -->
40   <xsl:call-template name="css-file">
41     <xsl:with-param name="css" select="$css"/>
42   </xsl:call-template>
43 </xsl:template>
44
45 <!-- ====================================================================== -->
46
47 </xsl:stylesheet>