redrawNavi was a one-line function invoked in only one place.
[mkws-moved-to-github.git] / tools / htdocs / mkws-doc.css
1 body {
2     font-family: Times, "Times Roman", "Times New Roman";
3 }
4
5 h1, h2, h3, h4 {
6     color: #68a;
7     font-weight: bold;
8     font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
9 }
10
11 h2 a, h3 a, h4 a, div#TOC a {
12     color: #68a;
13     text-decoration: none;
14 }
15
16 h2, h3 {
17     /* Default spacing is way off in both Chrome and Firefox */
18     margin-bottom: -0.5em;
19 }
20
21 h1 {
22     background: #e0e8f8;
23     padding: 0.2em;
24     font-weight: normal;
25 }
26
27 h2.author {
28     font-size: 120%;
29     color: black
30 }
31
32 h3.date {
33     font-size: 100%;
34     color: black
35 }
36
37 body > p, ul, ol, pre, table, h4 {
38     margin-left: 10%;
39 }
40
41 p, ul {
42     max-width: 40em;
43 }
44
45 pre {
46     background: #eee;
47 }
48
49 table tr th {
50     color: white;
51     background: #68a;
52     font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
53 }
54
55 th, td {
56     padding: 0.2em 0.5em;
57     vertical-align: top;
58 }
59
60 table tr:nth-child(odd) {
61     background: #a9c6e3;
62 }
63
64 table tr:nth-child(even) {
65     background: #bfdcf8;
66 }
67
68 /*
69  * Works with the HTML emitted by pandoc. It would better if pandoc
70  * were to emit class names that we can use. But it doesn't.
71  */  
72 body > p:last-of-type {
73     font-size: small;
74     max-width: none;
75     text-align: right;
76 }