fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e8d7c80
)
Fixed styles of "wers_wciety" tags.
author
Marek Stępniowski
<marek@stepniowski.com>
Fri, 5 Sep 2008 15:44:02 +0000
(17:44 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Fri, 5 Sep 2008 15:44:02 +0000
(17:44 +0200)
lib/librarian/book2html.xslt
patch
|
blob
|
history
diff --git
a/lib/librarian/book2html.xslt
b/lib/librarian/book2html.xslt
index
f7bb9a2
..
35f633d
100644
(file)
--- a/
lib/librarian/book2html.xslt
+++ b/
lib/librarian/book2html.xslt
@@
-108,7
+108,7
@@
<span class="subtitle"><xsl:apply-templates mode="inline" /></span>
</xsl:template>
<span class="subtitle"><xsl:apply-templates mode="inline" /></span>
</xsl:template>
-<!-- Section headers -->
+<!-- Section headers
(included in index)
-->
<xsl:template match="naglowek_akt|naglowek_czesc|srodtytul">
<h2><xsl:apply-templates mode="inline" /></h2>
</xsl:template>
<xsl:template match="naglowek_akt|naglowek_czesc|srodtytul">
<h2><xsl:apply-templates mode="inline" /></h2>
</xsl:template>
@@
-172,10
+172,10
@@
<p>
<xsl:choose>
<xsl:when test="name($line-content) = 'wers_akap'">
<p>
<xsl:choose>
<xsl:when test="name($line-content) = 'wers_akap'">
- <xsl:attribute name="style">
inden
t: 1em</xsl:attribute>
+ <xsl:attribute name="style">
padding-lef
t: 1em</xsl:attribute>
</xsl:when>
<xsl:when test="name($line-content) = 'wers_wciety'">
</xsl:when>
<xsl:when test="name($line-content) = 'wers_wciety'">
- <xsl:attribute name="style">
indent: 2
em</xsl:attribute>
+ <xsl:attribute name="style">
padding-left: <xsl:value-of select="$line-content/@typ" />
em</xsl:attribute>
</xsl:when>
</xsl:choose>
<xsl:apply-templates select="$line-content" mode="inline" />
</xsl:when>
</xsl:choose>
<xsl:apply-templates select="$line-content" mode="inline" />