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

Fixed a look issue in the packages and patches downloads pages.

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

+ 1 - 1
stylesheets/lfs.css

@@ -215,7 +215,7 @@ div.variablelist dd p {
   margin-top: 0px;
 }
 
-dl.materials dd {
+div.materials dd {
   margin-left: 0px;
 }
 

+ 16 - 0
stylesheets/xhtml/lfs-mixed.xsl

@@ -54,6 +54,22 @@
     </div>
   </xsl:template>
 
+  
+  <!-- variablelist -->
+  <xsl:template match="variablelist">
+    <xsl:choose>
+      <xsl:when test="@role">
+        <div class="{@role}">
+          <xsl:apply-imports/>
+        </div>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-imports/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  
+
     <!-- Body attributes -->
   <xsl:template name="body.attributes">
     <xsl:attribute name="id">