소스 검색

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 년 전
부모
커밋
cdb5a78776
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  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>