Styling for TOC and hyperlinked headings.
[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 {
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, 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, pre {
38     margin-left: 10%;
39 }
40
41 p, ul {
42     max-width: 40em;
43 }
44
45 pre {
46     background: #eee;
47 }
48
49 /*
50  * Works with the HTML emitted by pandoc. It would better if pandoc
51  * were to emit class names that we can use. But it doesn't.
52  */  
53 body > p:last-of-type {
54     font-size: small;
55     max-width: none;
56     text-align: right;
57 }