r3298 - in trunk/BOOK/stylesheets: . xhtml

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sun Jan 16 19:43:50 PST 2005


Author: bdubbs
Date: 2005-01-16 20:43:49 -0700 (Sun, 16 Jan 2005)
New Revision: 3298

Modified:
   trunk/BOOK/stylesheets/blfs.css
   trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
Log:
Update index formatting

Modified: trunk/BOOK/stylesheets/blfs.css
===================================================================
--- trunk/BOOK/stylesheets/blfs.css	2005-01-17 00:32:06 UTC (rev 3297)
+++ trunk/BOOK/stylesheets/blfs.css	2005-01-17 03:43:49 UTC (rev 3298)
@@ -125,9 +125,13 @@
 
 .item {
     width: 17em;
-    float: left;
+    float: left; 
 }
 
+.indexref {
+    margin-left: 17em;
+}
+
 .secitem {
     font-weight: normal;
     width: 16em;

Modified: trunk/BOOK/stylesheets/xhtml/lfs-index.xsl
===================================================================
--- trunk/BOOK/stylesheets/xhtml/lfs-index.xsl	2005-01-17 00:32:06 UTC (rev 3297)
+++ trunk/BOOK/stylesheets/xhtml/lfs-index.xsl	2005-01-17 03:43:49 UTC (rev 3298)
@@ -99,7 +99,7 @@
     	<strong class="item">
       	<xsl:value-of select="primary"/>
         <xsl:text>: </xsl:text>
-			</strong>
+			</strong><div class='indexref'>
       <xsl:for-each select="$refs[generate-id() = generate-id(key('primary-section',
       				concat($key, " ", generate-id((ancestor-or-self::book |ancestor-or-self::part
               |ancestor-or-self::chapter |ancestor-or-self::appendix |ancestor-or-self::preface
@@ -120,7 +120,7 @@
           </xsl:apply-templates>
      		</ul>
     	</xsl:if>
-    </li>
+    </div></li>
   </xsl:template>
 
   <xsl:template match="indexterm" mode="index-secondary">
@@ -171,7 +171,7 @@
             </xsl:call-template>
           </xsl:attribute>
           <xsl:text>description </xsl:text>
-        </a>
+        </a><br />
       </xsl:when>
       <xsl:otherwise>
         <xsl:variable name="zone" select="$zones"/>




More information about the blfs-book mailing list