Changeset ad825f2 for stylesheets


Ignore:
Timestamp:
02/22/2005 02:27:49 AM (19 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c6b985cf
Parents:
a6922b0
Message:

Tagging for freeglut. Updates to xsl/css to format contents better.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3488 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
stylesheets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/blfs.css

    ra6922b0 rad825f2  
    197197}
    198198
     199span.seg {
     200  display: block;
     201  padding-left: 12em;
     202}
     203
    199204div.content dt {
    200205  list-style: none;
  • stylesheets/xhtml/lfs-mixed.xsl

    ra6922b0 rad825f2  
    6767  </xsl:template>
    6868 
     69    <!-- Cunstomizing segementedlist -->
     70  <xsl:template match="seg">
     71    <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/>
     72    <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
     73    <xsl:variable name="segtitles" select="$seglist/segtitle"/>
     74      <!-- Note: segtitle is only going to be the right thing in a well formed
     75      SegmentedList.  If there are too many Segs or too few SegTitles,
     76      you'll get something odd...maybe an error -->
     77      <div class="seg">
     78      <strong>
     79        <span class="segtitle">
     80          <xsl:apply-templates select="$segtitles[$segnum=position()]"
     81                  mode="segtitle-in-seg"/>
     82          <xsl:text>: </xsl:text>
     83        </span>
     84      </strong>
     85      <span class="seg">
     86        <xsl:apply-templates/>
     87      </span>
     88    </div>
     89  </xsl:template>
     90
    6991    <!-- The <code> xhtml tag have look issues in some browsers, like Konqueror and.
    7092      isn't semantically correct (a filename isn't a code fragment) We will use <tt> for now. -->
Note: See TracChangeset for help on using the changeset viewer.