diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-05-15 20:02:46 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-05-15 20:02:46 -0400 |
commit | 842b163d40bc29b548abc704082f3dd803de43d1 (patch) | |
tree | ffc7bed03d054d610561367bbf76b88eb0b827c1 /xslt | |
parent | 4e2d15aae9f6f9dac641cfebe4ada868b4c07611 (diff) | |
download | yelp-tools-842b163d40bc29b548abc704082f3dd803de43d1.tar.gz |
mal-epub.xsl: More book-like rendering
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/mal-epub.xsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xslt/mal-epub.xsl b/xslt/mal-epub.xsl index 2a585bb..8af9863 100644 --- a/xslt/mal-epub.xsl +++ b/xslt/mal-epub.xsl @@ -4,4 +4,15 @@ exclude-result-prefixes="mal" version="1.0"> +<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> |