Changeset 96b9a72 for stylesheets
- Timestamp:
- 02/21/2005 10:14:31 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4e166f4
- Parents:
- 395f415
- Location:
- stylesheets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs.css
r395f415 r96b9a72 215 215 } 216 216 217 div.package span.segtitle { 218 display: block; 219 float: left; 220 width: 23em; 221 } 222 223 div.package span.seg { 224 display: block; 225 padding-left: 23em; 226 } 227 228 div.content span.segtitle { 229 display: block; 230 float: left; 231 width: 10em; 232 } 233 234 div.content span.seg { 235 display: block; 236 padding-left: 10em; 237 } 238 239 div.seg { 240 clear: left; 241 } 242 217 243 /* itemizedlist */ 218 244 -
stylesheets/xhtml/lfs-mixed.xsl
r395f415 r96b9a72 60 60 <xsl:apply-templates select="varlistentry"/> 61 61 </dl> 62 </div> 63 </xsl:template> 64 65 <!-- segementedlist --> 66 <xsl:template match="seg"> 67 <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/> 68 <xsl:variable name="seglist" select="ancestor::segmentedlist"/> 69 <xsl:variable name="segtitles" select="$seglist/segtitle"/> 70 <!-- Note: segtitle is only going to be the right thing in a well formed 71 SegmentedList. If there are too many Segs or too few SegTitles, 72 you'll get something odd...maybe an error --> 73 <div class="seg"> 74 <strong> 75 <span class="segtitle"> 76 <xsl:apply-templates select="$segtitles[$segnum=position()]" mode="segtitle-in-seg"/> 77 <xsl:text>: </xsl:text> 78 </span> 79 </strong> 80 <span class="seg"> 81 <xsl:apply-templates/> 82 </span> 62 83 </div> 63 84 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.