From: Marek Stępniowski <marek@stepniowski.com>
Date: Fri, 5 Sep 2008 16:10:25 +0000 (+0200)
Subject: Added handling (with styles) of tags "sekcja_asterysk" i "separator_linia".
X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/df9c7c3c674c417669cc9e6abc4cb0d79abfb5fe?ds=sidebyside

Added handling (with styles) of tags "sekcja_asterysk" i "separator_linia".
---

diff --git a/lib/librarian/bin/master.css b/lib/librarian/bin/master.css
index 9123e1ce8..5c665f869 100644
--- a/lib/librarian/bin/master.css
+++ b/lib/librarian/bin/master.css
@@ -153,6 +153,18 @@ hr.spacer {
     visibility: hidden;
 }
 
+hr.spacer-line {
+    margin: 1.5em 0;
+    border: none;
+    border-bottom: 0.1em solid #000;
+}
+
+p.spacer-asterisk {
+    padding: 0;
+    margin: 1.5em 0;
+    text-align: center;
+}
+
 div.person-list ol {
     list-style: none;
     padding: 0 0 0 1.5em;
diff --git a/lib/librarian/book2html.xslt b/lib/librarian/book2html.xslt
index aa9aa0f18..47e126a09 100644
--- a/lib/librarian/book2html.xslt
+++ b/lib/librarian/book2html.xslt
@@ -233,6 +233,14 @@
     <hr class="spacer" />
 </xsl:template>
 
+<xsl:template match="sekcja_asterysk">
+    <p class="spacer-asterisk">*</p>
+</xsl:template>
+
+<xsl:template match="separator_linia">
+    <hr class="spacer-line" />
+</xsl:template>
+
 
 <!-- ================ -->
 <!-- = SPECIAL TAGS = -->