1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

Fix revision history styling

This commit is contained in:
Jonas Schäfer 2019-04-04 17:44:09 +02:00
parent 98f3ddddb0
commit a26c4f7d1a
2 changed files with 21 additions and 6 deletions

13
xep.xsl
View File

@ -420,10 +420,9 @@ OR OTHER DEALINGS IN THE SOFTWARE.
<!-- REVISION HISTORY -->
<h3 id='appendix-revs'>Appendix H: Revision History<xsl:call-template name='anchor-link'><xsl:with-param name='anchor' select='"appendix-revs"'/></xsl:call-template></h3>
<p>Note: Older versions of this specification might be available at <a href='http://xmpp.org/extensions/attic/'>http://xmpp.org/extensions/attic/</a></p>
<div class='indent'>
<ol class="revision-history">
<xsl:apply-templates select='/xep/header/revision'/>
</div>
<hr />
</ol>
<p>END</p>
</body>
</html>
@ -570,9 +569,11 @@ OR OTHER DEALINGS IN THE SOFTWARE.
</xsl:template>
<xsl:template match='revision'>
<h5>Version <xsl:value-of select='version'/><xsl:text> </xsl:text>(<xsl:value-of select='date'/>)</h5>
<xsl:apply-templates select='remark'/>
<xsl:text> </xsl:text>(<xsl:value-of select='initials'/>)
<li>
<div class='revision-head'>Version <xsl:value-of select='version'/><xsl:text> </xsl:text>(<xsl:value-of select='date'/>)</div>
<xsl:apply-templates select='remark'/>
<p>(<xsl:value-of select='initials'/>)</p>
</li>
</xsl:template>
<xsl:template match='section1' mode='toc'>

View File

@ -1375,6 +1375,20 @@
padding: 1.5em;
border-left: 1px solid rgba(19, 181, 234, 1.0);
}
ol.revision-history {
list-style-type: none;
padding-left: 0;
}
ol.revision-history > li {
margin-left: 0;
}
div.revision-head {
font-weight: bold;
font-size: 128.57143%;
}
}
@media screen and ( min-width: 75em ) {