p:last-of-type selector only works on DIRECT descendents of body
authorMike Taylor <mike@indexdata.com>
Fri, 26 Jul 2013 13:21:52 +0000 (14:21 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 26 Jul 2013 13:21:52 +0000 (14:21 +0100)
tools/htdocs/mkws-doc.css

index 2f222cf..6081484 100644 (file)
@@ -39,8 +39,8 @@ pre {
 /*
  * Works with the HTML emitted by pandoc. It would better if pandoc
  * were to emit class names that we can use. But it doesn't.
- */
-body p:last-of-type {
+ */  
+body > p:last-of-type {
     font-size: small;
     max-width: none;
     text-align: right;