-
Notifications
You must be signed in to change notification settings - Fork 48
/
guides.css
124 lines (106 loc) · 2.01 KB
/
guides.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
@import url(static/vendor/google-fonts.css);
body {
font-family: Raleway, sans-serif;
font-size: 16px;
color: #555;
}
h1 {
font-family: Ubnutu, Arial, sans-serif;
font-size: 50px;
}
h2 {
margin-top: 1.75em;
font-family: Ubuntu, Arial, sans-serif;
font-weight: bold;
font-size: 20px;
padding-bottom: .25em;
border-bottom: 1px solid #DDD;
margin-bottom: 1em;
}
h3 {
margin-top: 1.5em;
margin-bottom: .75em;
font-family: Ubuntu, Arial, sans-serif;
font-weight: 300;
font-size: 18px;
color: black;
}
h4 {
margin-top: 1.25em;
margin-bottom: .5em;
font-family: Ubuntu, Arial, sans-serif;
font-weight: bold;
font-size: 14px;
color: black;
}
a {
color: #24A;
text-decoration: underline;
}
#back {
background-color: #EEE;
font-size: 90%;
padding: .5em;
}
#back a { text-decoration: none; }
#back a:hover { text-decoration: underline; }
p {
margin-bottom: 1.25em; /* see .example, .figure, pre */
}
li {
margin-bottom: .5em;
}
ul, ol {
margin-bottom: 1em;
}
.example {
margin: 1em 1em 1.3em 1.5em; /* bottom must match p */
border: 1px solid #EEF;
padding: .5em;
background-color: #FAFAFF;
}
.figure {
margin: 1.25em auto; /* bottom must match p */
}
pre, code {
background-color: black;
font-family: 'Source Code Pro', monospace;
color: #FFE5E0;
}
pre {
margin-bottom: 1.75em; /* bottom must match p, but a bit larger looks better */
font-size: 15px;
}
.example code {
background: white;
color: black;
}
dl > dt {
margin-top: 1em;
margin-bottom: 3px;
font-weight: normal;
color: black;
}
dl > dt:before {
display: inline-block;
position: relative;
top: 1px;
content: "☑";
width: 20px;
}
dl > dd {
margin-left: 20px;
}
table { margin-bottom: 1.25em; }
table thead th { border-bottom: 1px solid #555; }
table th, table td {
padding: .25em 1em .25em 0;
}
#nav {
margin-top: 2em;
}
#nav a { padding-bottom: .25em; color: #E64; text-decoration: none; }
#nav li { margin: 0; }
#nav li.active { background-color: #D55; }
#nav li.active a { color: white; }
#nav li.active a:hover { color: #E64; }