diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-03-09 21:08:41 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2005-03-09 21:08:41 +0000 |
commit | 7b7c3d88bcdc414ceba22b68c37f87234949712b (patch) | |
tree | 2fa484c5dd97cf4f247f0bbd129926b43ffbd3dc | |
parent | 82d3941c5a236c9b25689a6c9696f8e09be3a867 (diff) |
Fixed a look issue in the packages and patches downloads pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4726 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | stylesheets/lfs.css | 2 | ||||
-rw-r--r-- | stylesheets/xhtml/lfs-mixed.xsl | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/stylesheets/lfs.css b/stylesheets/lfs.css index e818621db..6523af39c 100644 --- a/stylesheets/lfs.css +++ b/stylesheets/lfs.css @@ -215,7 +215,7 @@ div.variablelist dd p { margin-top: 0px; } -dl.materials dd { +div.materials dd { margin-left: 0px; } diff --git a/stylesheets/xhtml/lfs-mixed.xsl b/stylesheets/xhtml/lfs-mixed.xsl index c1c9e7b7f..50e4140f1 100644 --- a/stylesheets/xhtml/lfs-mixed.xsl +++ b/stylesheets/xhtml/lfs-mixed.xsl @@ -54,6 +54,22 @@ </div> </xsl:template> + + <!-- variablelist --> + <xsl:template match="variablelist"> + <xsl:choose> + <xsl:when test="@role"> + <div class="{@role}"> + <xsl:apply-imports/> + </div> + </xsl:when> + <xsl:otherwise> + <xsl:apply-imports/> + </xsl:otherwise> + </xsl:choose> + </xsl:template> + + <!-- Body attributes --> <xsl:template name="body.attributes"> <xsl:attribute name="id"> |