aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stylesheets/lfs.css2
-rw-r--r--stylesheets/xhtml/lfs-mixed.xsl16
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">