Changeset d5a426b for stylesheets


Ignore:
Timestamp:
10/19/2005 04:13:12 AM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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:
9098bd87
Parents:
005d8327
Message:

Added category headers to the GNOME Add-on packages Table-of-Contents. Many thanks to Manuel for the XML wizardry to make this happen

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

Location:
stylesheets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/blfs.css

    r005d8327 rd5a426b  
    125125}
    126126
     127.dummy {
     128  font-weight: bold;
     129  font-size: 110%;
     130  line-height: 1.8em;
     131/* Removed per Bruce
     132  margin-left: -1.5em; */
     133}
     134
    127135.item {
    128136    width: 18.5em;
  • stylesheets/xhtml/lfs-sections.xsl

    r005d8327 rd5a426b  
    66
    77
     8  <!-- Dummy sect1 files for TOC hacking -->
     9  <xsl:template match="sect1[@role='dummy']"/>
     10   
    811   <!-- Sect1 attributes -->
    912  <xsl:template match="sect1">
  • stylesheets/xhtml/lfs-toc.xsl

    r005d8327 rd5a426b  
    8585    <xsl:choose>
    8686      <xsl:when test="local-name(.) = 'sect1'">
    87         <a>
    88           <xsl:attribute name="href">
    89             <xsl:call-template name="href.target">
    90               <xsl:with-param name="context" select="$toc-context"/>
    91             </xsl:call-template>
    92           </xsl:attribute>
    93           <xsl:apply-templates select="." mode="titleabbrev.markup"/>
    94         </a>
     87        <xsl:choose>
     88          <xsl:when test="@role='dummy'">
     89            <span class="dummy">
     90              <xsl:apply-templates select="." mode="titleabbrev.markup"/>
     91            </span>
     92          </xsl:when>
     93          <xsl:otherwise>
     94            <a>
     95              <xsl:attribute name="href">
     96                <xsl:call-template name="href.target">
     97                  <xsl:with-param name="context" select="$toc-context"/>
     98                </xsl:call-template>
     99              </xsl:attribute>
     100              <xsl:apply-templates select="." mode="titleabbrev.markup"/>
     101            </a>
     102          </xsl:otherwise>
     103        </xsl:choose>
    95104      </xsl:when>
    96105      <xsl:when test="local-name(.) = 'chapter' or local-name(.) = 'preface'">
Note: See TracChangeset for help on using the changeset viewer.