summaryrefslogtreecommitdiff
path: root/xslt/mal-epub.xsl
blob: 265bcdd952c55aa0a0bd0a5b1b1971b3ea1d732a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:mal="http://projectmallard.org/1.0/"
    exclude-result-prefixes="mal"
    version="1.0">

<xsl:param name="mal.if.env" select="'epub html xhtml'"/>

<xsl:template mode="html.header.mode" match="mal:page"/>
<xsl:template mode="html.footer.mode" match="mal:page"/>

<xsl:template mode="html.css.mode" match="mal:page">
<xsl:text>
body { background-color: </xsl:text><xsl:value-of select="$color.background"/><xsl:text>; }
div.body { border: none; }
</xsl:text>
<xsl:apply-imports/>
</xsl:template>

</xsl:stylesheet>