]> git.draconx.ca Git - homepage.git/commitdiff
Remove dead definition list cruft.
authorNick Bowler <nbowler@draconx.ca>
Sat, 16 Feb 2019 05:44:58 +0000 (00:44 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 16 Feb 2019 05:44:58 +0000 (00:44 -0500)
The definition lists for the creative commons text never worked
quite right, and was committed as a comment; don't need that...

content/style.css
layouts/creativecommons.xsl

index 45a0d965d6077a81cf7b63ed19bac4e4c2942ce5..1028de0879fcd22d64689e3bcefbd6c966e159f3 100644 (file)
@@ -59,21 +59,10 @@ ul, ol, dl {
 
 dt, dd, li {
     text-align: justify;
 
 dt, dd, li {
     text-align: justify;
-    margin: 0 0 0 2em;
     padding: 0;
 }
     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;
 
 ul.ordered>li {
     list-style: none;
@@ -168,6 +157,7 @@ kbd::before {
 @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; }
+    dd { margin: 0; }
 }
 
 @media (max-width: 28em) { li, dd, dt, p { text-align: left; } }
 }
 
 @media (max-width: 28em) { li, dd, dt, p { text-align: left; } }
index 89fadd4f5858f8281836279b7eb4c9ddcf7570f2..688f590079b6392d744a3900cbf5e3955412712a 100644 (file)
@@ -9,7 +9,7 @@
   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"]' />