mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 14:24:10 +01:00
HEAD: StyleSheets - fixed the flow of h* tags.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3669 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
4032788608
commit
cdb5a78776
@ -29,14 +29,14 @@
|
|||||||
<xsl:if test="title">
|
<xsl:if test="title">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="@role = 'materials'">
|
<xsl:when test="@role = 'materials'">
|
||||||
|
<h2>
|
||||||
|
<xsl:value-of select="title"/>
|
||||||
|
</h2>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
<h3>
|
<h3>
|
||||||
<xsl:value-of select="title"/>
|
<xsl:value-of select="title"/>
|
||||||
</h3>
|
</h3>
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<h4>
|
|
||||||
<xsl:value-of select="title"/>
|
|
||||||
</h4>
|
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
@ -59,9 +59,9 @@
|
|||||||
<xsl:if test="@id">
|
<xsl:if test="@id">
|
||||||
<a id="{@id}" name="{@id}"/>
|
<a id="{@id}" name="{@id}"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<h3 class="{name(.)}">
|
<h2 class="{name(.)}">
|
||||||
<xsl:value-of select="title"/>
|
<xsl:value-of select="title"/>
|
||||||
</h3>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
|
Loading…
Reference in New Issue
Block a user