def add(self, name, part_href, level=0, is_part=True, index=None):
assert level == 0 or index is None
if level > 0 and self.children:
- return self.children[-1].add(name, "part%d.html" % part_href, level-1, is_part)
+ return self.children[-1].add(name, part_href, level-1, is_part)
else:
t = TOC(name)
t.part_href = part_href
<xsl:template match="strofa">
<div class="stanza" xmlns="http://www.w3.org/1999/xhtml">
<xsl:apply-templates />
- </div><div xmlns="http://www.w3.org/1999/xhtml"> </div>
+ </div><div class='stanza-spacer' xmlns="http://www.w3.org/1999/xhtml"> </div>
</xsl:template>
<xsl:template match="wers_normalny">
{
font-size: 1em;
margin: 0;
- margin-top: 1.5em;
+ margin-top: 1em;
line-height: 1.5em;
}
-p
+.paragraph
{
- margin: 0;
+ margin-top: 0;
}
/* ======================== */
margin-top: 0.5em;
}
-.paragraph
+.stanza
{
- text-align: justify;
- margin-top: 1.5em;
+ margin-bottom: 1em;
+}
+
+.stanza-spacer
+{
+ display: none;
}
.motto
.person-list em.person
{
font-style: normal;
- font-variant: small-caps;
- /*text-transform: uppercase;*/
+ text-transform: uppercase;
}
.info