forked from blynn/gitmagic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
book.css
124 lines (103 loc) · 1.81 KB
/
book.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
body {
font-size: 90%;
font-family: verdana, arial, sans-serif;
}
tt, code, pre, .type {
font-family: andale mono, courier new, courier, monospace;
font-size: 90%;
}
pre {
color: #0000aa;
}
ul li p {
margin: 0;
padding: 0;
}
/* Based on http://phrogz.net/CSS/columns3.html */
div.toc {
float: left;
margin: 0;
padding: 0;
padding-top: 0.5em;
border: 0;
width: 16em;
background-color: #f9f9f9;
margin-right:1em;
}
div.content {
margin: 0;
padding: 0;
/* won't match if font is smaller in toc */
border-left: 16em solid #f9f9f9;
padding-left: 1em;
}
div.content:after {
content:' ';
clear:both;
display:block;
height:0;
overflow:hidden
}
div.footer {
clear:left;
padding: 0.5em;
/* background-color: #f9f9f9;
border: 1px solid #aaaaaa; */
font-size: 80%;
margin: 0;
}
div.toc ul {
list-style: none;
padding: 0;
margin: 0;
}
div.toc li ul a, li ul span.currentlink
{
font-weight: normal;
font-size: 90%;
padding-left: 2em;
}
div.toc a, span.currentlink{
display:block;
text-decoration: none;
padding-left: 0.5em;
color: #0000aa;
}
span.currentlink {
text-decoration: none;
background-color: #aaaaf9;
}
div.toc a:visited {
color: #0000aa;
}
div.toc a:hover {
background-color: #f9f9aa;
}
.programlisting, .screen {
margin: 0;
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
padding: 0.17em;
margin: 1em;
margin-right: 3em;
}
.parameter {
font-style: italic;
}
h1, h2 {
padding-top: 0.5em;
padding-bottom: 0.17em;
margin: 0;
font-weight: normal;
color: black;
border-bottom: 1px solid #aaaaaa;
}
h1 {
font-size: 188%;
}
div.chapter h2 {
font-size: 188%;
}
div.section h2 {
font-size: 150%;
}