mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
docs: Space out entries in news.html
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>
This commit is contained in:
parent
953f046d81
commit
2f0de10e29
@ -591,3 +591,18 @@ td.enumvalue {
|
||||
.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;
|
||||
}
|
||||
|
@ -58,7 +58,7 @@
|
||||
<xsl:value-of select="@title"/>
|
||||
</strong>
|
||||
<xsl:if test="*">
|
||||
<ul>
|
||||
<ul class="news-section-content">
|
||||
<xsl:apply-templates select="change"/>
|
||||
</ul>
|
||||
</xsl:if>
|
||||
@ -68,8 +68,14 @@
|
||||
<!-- 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>
|
||||
|
||||
@ -80,7 +86,6 @@
|
||||
|
||||
<!-- Change description -->
|
||||
<xsl:template match="description">
|
||||
<br/>
|
||||
<xsl:apply-templates/>
|
||||
</xsl:template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user