Explorar o código

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 %!s(int64=21) %!d(string=hai) anos
pai
achega
cdb5a78776
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 4 4
      stylesheets/xhtml/lfs-mixed.xsl
  2. 2 2
      stylesheets/xhtml/lfs-titles.xsl

+ 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>