p:last-of-type selector only works on DIRECT descendents of body
[mkws-moved-to-github.git] / tools / htdocs / mkws-doc.css
index 816c510..6081484 100644 (file)
@@ -11,6 +11,17 @@ h1, h2, h3 {
 h1 {
     background: #e0e8f8;
     padding: 0.2em;
+    font-weight: normal;
+}
+
+h2.author {
+    font-size: 120%;
+    color: black
+}
+
+h3.date {
+    font-size: 100%;
+    color: black
 }
 
 p, ul, pre {
@@ -28,8 +39,9 @@ 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;
 }