1
0
Эх сурвалжийг харах

HEAD: StyleSheets - fixed the flow of h* tags.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3669 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 21 жил өмнө
parent
commit
cdb5a78776

+ 4 - 4
stylesheets/xhtml/lfs-mixed.xsl

@@ -29,14 +29,14 @@
       <xsl:if test="title">
         <xsl:choose>
           <xsl:when test="@role = 'materials'">
-            <h3>
+            <h2>
               <xsl:value-of select="title"/>
-            </h3>
+            </h2>
           </xsl:when>
           <xsl:otherwise>
-            <h4>
+            <h3>
               <xsl:value-of select="title"/>
-            </h4>
+            </h3>
           </xsl:otherwise>
         </xsl:choose>
       </xsl:if>

+ 2 - 2
stylesheets/xhtml/lfs-titles.xsl

@@ -59,9 +59,9 @@
           <xsl:if test="@id">
             <a id="{@id}" name="{@id}"/>
           </xsl:if>
-          <h3 class="{name(.)}">
+          <h2 class="{name(.)}">
             <xsl:value-of select="title"/>
-          </h3>
+          </h2>
         </div>
       </xsl:otherwise>
     </xsl:choose>