summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd65e94)
The definition lists for the creative commons text never worked
quite right, and was committed as a comment; don't need that...
dt, dd, li {
text-align: justify;
dt, dd, li {
text-align: justify;
-
-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;
ul.ordered>li {
list-style: none;
@media (max-width: 512px) {
body { margin: 0.6em; }
ul ul { margin-left: -1.2em; }
@media (max-width: 512px) {
body { margin: 0.6em; }
ul ul { margin-left: -1.2em; }
}
@media (max-width: 28em) { li, dd, dt, p { text-align: left; } }
}
@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.
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
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]' />
</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"]' />
<xsl:template match='node()[following-sibling::h3]' />
<xsl:template match='node()[preceding-sibling::p[@class="shaded"]]' />
<xsl:template match='node()[@class="shaded"]' />