r372 - in trunk/BOOK/stylesheets: . xhtml

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Mar 9 13:05:00 PST 2005


Author: manuel
Date: 2005-03-09 14:04:59 -0700 (Wed, 09 Mar 2005)
New Revision: 372

Modified:
   trunk/BOOK/stylesheets/lfs.css
   trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl
Log:
Fixed a look issue in the packages and patches downloads pages.

Modified: trunk/BOOK/stylesheets/lfs.css
===================================================================
--- trunk/BOOK/stylesheets/lfs.css	2005-03-09 20:21:52 UTC (rev 371)
+++ trunk/BOOK/stylesheets/lfs.css	2005-03-09 21:04:59 UTC (rev 372)
@@ -215,7 +215,7 @@
   margin-top: 0px;
 }
 
-dl.materials dd {
+div.materials dd {
   margin-left: 0px;
 }
 

Modified: trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl
===================================================================
--- trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl	2005-03-09 20:21:52 UTC (rev 371)
+++ trunk/BOOK/stylesheets/xhtml/lfs-mixed.xsl	2005-03-09 21:04:59 UTC (rev 372)
@@ -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">




More information about the hlfs-book mailing list