Преглед изворни кода

Testing a new way to render the Short Description sections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4669 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia пре 20 година
родитељ
комит
bab5592779
3 измењених фајлова са 23 додато и 2 уклоњено
  1. 1 0
      chapter06/glibc.xml
  2. 20 0
      stylesheets/lfs.css
  3. 2 2
      stylesheets/xhtml/lfs-mixed.xsl

+ 1 - 0
chapter06/glibc.xml

@@ -302,6 +302,7 @@ libthread_db.so, and libutil.[a,so]</seg></seglistitem>
 
 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
 <?dbfo list-presentation="list"?>
+<?dbhtml list-presentation="table"?>
 
 <varlistentry id="catchsegv">
 <term><command>catchsegv</command></term>

+ 20 - 0
stylesheets/lfs.css

@@ -190,6 +190,26 @@ dd  {
   padding: 0;
 }
 
+dd  {
+  margin: 0 0 1em 3em;
+  padding: 0;
+}
+
+/*testing stuff*/
+table {
+  width: 98%;    
+  margin-left: 1em;
+}
+
+td {
+  vertical-align: top;
+}
+
+td span, td p {
+  margin: 0.3em;
+}
+/* */
+
 div.content dt {
   list-style: none;
   margin: 0;

+ 2 - 2
stylesheets/xhtml/lfs-mixed.xsl

@@ -34,7 +34,7 @@
   </xsl:template>
 
   
-  <!-- variablelist -->
+  <!-- variablelist 
   <xsl:template match="variablelist">
     <div class="{name(.)}">
       <xsl:if test="title | bridgehead">
@@ -60,7 +60,7 @@
         <xsl:apply-templates select="varlistentry"/>
       </dl>
     </div>
-  </xsl:template>
+  </xsl:template>-->
 
     <!-- segementedlist -->
   <xsl:template match="seg">