summaryrefslogtreecommitdiff
path: root/xslt/dita
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2021-02-09 11:51:04 -0500
committerShaun McCance <shaunm@redhat.com>2021-02-09 11:51:04 -0500
commit8be1ec6600a28f5b0892bbe04c43ec870158b0a6 (patch)
tree9b9f8ae305258045941af846b003c42d4a326663 /xslt/dita
parent5ff2a3f0ea8da63100ac54cbcc0721db1338c6e0 (diff)
downloadyelp-xsl-8be1ec6600a28f5b0892bbe04c43ec870158b0a6.tar.gz
Templatize the grid size
This allows you to easily set the page width to common 12-multiples like 1200, 1080, and 960. Things that are grid-based will adjust according without extra effort. Also made some widths follow the selected grid, like sidebar notes. This commit also changes "about" footers to use div elements instead of footer elements. They are already contained in a footer element, and you're not supposed to put footers in footers.
Diffstat (limited to 'xslt/dita')
-rw-r--r--xslt/dita/html/dita2html-topic.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/dita/html/dita2html-topic.xsl b/xslt/dita/html/dita2html-topic.xsl
index c76ee464..da8c1db3 100644
--- a/xslt/dita/html/dita2html-topic.xsl
+++ b/xslt/dita/html/dita2html-topic.xsl
@@ -205,7 +205,7 @@ REMARK: Describe this module
<xsl:variable name="publishers" select="$info/&topic_publisher;"/>
<xsl:variable name="others" select="$info/&topic_author;[not(@type = 'creator' or @type = 'translator')]"/>
<xsl:if test="$copyrights or $authors or $translators or $publishers or $others">
- <footer class="about ui-expander" role="contentinfo">
+ <div class="about ui-expander" role="contentinfo">
<div class="yelp-data yelp-data-ui-expander" data-yelp-expanded="false"/>
<div class="inner">
<div class="hgroup">
@@ -259,7 +259,7 @@ REMARK: Describe this module
</div>
</div>
</div>
- </footer>
+ </div>
</xsl:if>
</xsl:template>