-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmain.css
75 lines (73 loc) · 1.08 KB
/
main.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
/* Global style. */
body {
background: #f8f8f8;
color: #333333;
font-family: Ubuntu, Arial, sans-serif;
}
a:link, a:visited {
text-decoration: none;
color: #cc6600;
}
a:hover, a:active {
text-decoration: underline;
color: #ff9933;
}
/* Main column. */
.main {
position: relative;
margin-left: auto;
margin-right: auto;
margin-top: 150px;
margin-bottom: 50px;
width: 60%;
min-width: 600px;
max-width: 900px;
}
p {
margin-top: 0;
margin-bottom: 0;
line-height: 160%;
}
p+p {
text-indent: 2em;
}
.header {
text-align: left;
}
.centered {
display: block;
margin-left: auto;
margin-right: auto;
}
ul {
padding-left: 5em;
padding-right: 5em;
}
li p {
text-indent: 0;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
code {
background: #e8e8e8;
}
/* Sidebar (table of contents). */
.sidebar {
position: fixed;
top: 0px;
left: 0px;
padding: 1em;
background: #eeeeee;
border-right: 1px solid black;
border-bottom: 1px solid black;
}
.sidebar p {
text-indent: 0;
margin-top: 0.5em;
margin-bottom: 0;
line-height: 130%;
}
.sidebar p.sub {
text-indent: 1em;
margin-top: 0;
}