From cd971b6b5cd892ade96067fbd38fe785bf5b5b03 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Marek=20St=C4=99pniowski?= <marek@stepniowski.com>
Date: Sun, 31 Aug 2008 15:08:02 +0200
Subject: [PATCH] Added handling of sekcja_swiatlo and motto tags.

---
 bin/book2html.xslt | 10 +++++++++-
 bin/master.css     |  8 ++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/bin/book2html.xslt b/bin/book2html.xslt
index 86d27d6f2..940351cae 100644
--- a/bin/book2html.xslt
+++ b/bin/book2html.xslt
@@ -174,4 +174,12 @@
     <blockquote><xsl:apply-templates /></blockquote>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+<xsl:template match="motto">
+    <p class="motto"><xsl:apply-templates mode="inline" /></p>
+</xsl:template>
+
+<xsl:template match="sekcja_swiatlo">
+    <hr class="spacer" />
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/bin/master.css b/bin/master.css
index c3613d553..f6ee64f22 100644
--- a/bin/master.css
+++ b/bin/master.css
@@ -121,7 +121,15 @@ p.paragraph {
     margin: 1.5em 0 0;
 }
 
+p.motto {
+    font-style: italic;
+}
+
 div.fragment {
     border-bottom: 0.1em solid #999;
     padding-bottom: 1.5em;
 }
+
+hr.spacer {
+    height: 3em;
+}
-- 
2.20.1