Tweak even-numbered table row background.
[mkws-moved-to-github.git] / tools / htdocs / mkws-doc.css
index e042c4b..ed42f19 100644 (file)
@@ -8,7 +8,12 @@ h1, h2, h3 {
     font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
 }
 
-h2 {
+h2 a, h3 a, div#TOC a {
+    color: #68a;
+    text-decoration: none;
+}
+
+h2, h3 {
     /* Default spacing is way off in both Chrome and Firefox */
     margin-bottom: -0.5em;
 }
@@ -29,7 +34,7 @@ h3.date {
     color: black
 }
 
-body > p, ul, pre {
+body > p, ul, pre, table {
     margin-left: 10%;
 }
 
@@ -41,6 +46,25 @@ pre {
     background: #eee;
 }
 
+table tr th {
+    color: white;
+    background: #68a;
+    font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
+}
+
+th, td {
+    padding: 0.2em 0.5em;
+    vertical-align: top;
+}
+
+table tr:nth-child(odd) {
+    background: #a9c6e3;
+}
+
+table tr:nth-child(even) {
+    background: #bfdcf8;
+}
+
 /*
  * 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.