p:last-of-type selector only works on DIRECT descendents of body
[mkws-moved-to-github.git] / 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;