The header for the news entry blends together with the text and other
entries. This patch tries to space them out somewhat for better visual
separation.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
.deprecatedhv {
color: darkred;
}
+
+ul.news-section-content {
+ margin-top: 0.5em;
+}
+
+ul.news-section-content li dl dt {
+ margin: 0;
+}
+
+ul.news-section-content li dl dd {
+ margin-left: 1em;
+ margin-right: 0;
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
<xsl:value-of select="@title"/>
</strong>
<xsl:if test="*">
- <ul>
+ <ul class="news-section-content">
<xsl:apply-templates select="change"/>
</ul>
</xsl:if>
<!-- Change -->
<xsl:template match="change">
<li>
- <xsl:apply-templates select="summary"/>
- <xsl:apply-templates select="description"/>
+ <dl>
+ <dt>
+ <xsl:apply-templates select="summary"/>
+ </dt>
+ <dd>
+ <xsl:apply-templates select="description"/>
+ </dd>
+ </dl>
</li>
</xsl:template>
<!-- Change description -->
<xsl:template match="description">
- <br/>
<xsl:apply-templates/>
</xsl:template>