dt, dd, li {
text-align: justify;
- margin: 0 0 0 2em;
padding: 0;
}
-
-dl.terms>dt {
- display: list-item;
- font-weight: bold;
- text-align: left;
-
- float: left;
-}
-
-dt::after {
- content: " ";
-}
+li { margin: 0 0 0 2em; }
+dd { margin: 0 0 0 1em; }
ul.ordered>li {
list-style: none;
@media (max-width: 512px) {
body { margin: 0.6em; }
ul ul { margin-left: -1.2em; }
+ dd { margin: 0; }
}
@media (max-width: 28em) { li, dd, dt, p { text-align: left; } }
so they will not parse correctly as XML. The sgml2xml filter is intended to
fix this.
- Copyright © 2018 Nick Bowler
+ Copyright © 2018-2019 Nick Bowler
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
</xsl:template>
<xsl:template match='ol[@start]' />
-<!-- Definitions -->
-<!--
-<xsl:template match='ol[starts-with(preceding-sibling::p[1], "Section 1")]'>
- <dl class='terms'>
- <xsl:for-each select='li'>
- <dt><xsl:value-of select='node()[1]' /></dt>
- <dd><p><xsl:apply-templates select='node()[position()>1]' /></p></dd>
- </xsl:for-each>
- </dl>
-</xsl:template>
--->
-
<xsl:template match='node()[following-sibling::h3]' />
<xsl:template match='node()[preceding-sibling::p[@class="shaded"]]' />
<xsl:template match='node()[@class="shaded"]' />