Generate table of contents.
[mkws-moved-to-github.git] / tools / htdocs / mkws-doc.css
index 2f222cf..dfde943 100644 (file)
@@ -8,6 +8,11 @@ h1, h2, h3 {
     font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
 }
 
+h2, h3 {
+    /* Default spacing is way off in both Chrome and Firefox */
+    margin-bottom: -0.5em;
+}
+
 h1 {
     background: #e0e8f8;
     padding: 0.2em;
@@ -24,7 +29,7 @@ h3.date {
     color: black
 }
 
-p, ul, pre {
+body > p, ul, pre {
     margin-left: 10%;
 }
 
@@ -39,8 +44,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;