-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
docs_customization.css
71 lines (55 loc) · 876 Bytes
/
docs_customization.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
/* This css is used to customize the documentation */
main {
/* Seems like a good size */
max-width: 1024px;
}
main .method-args {
font-weight: normal;
font-size: 90%;
}
main .method-detail {
cursor: initial;
}
main .method-heading {
cursor: pointer;
}
main ul, main ol {
margin-top: 0;
margin-bottom: 0.5em;
}
main p {
margin: 0;
}
main p+p {
margin-top: 0.5em;
}
main li > p {
margin: 0;
}
main li > p+p {
margin-top: 0.5em;
}
main dl, main dt {
margin: 0;
}
main dd {
margin-left: 1.5em;
margin-bottom: 0.5em;
}
body {
font-family: Georgia, "Times New Roman", serif;
}
code {
/* Similar formatting to Github's */
background-color: rgba(27,31,35,.03);
border-radius: 3px;
font-size: 85%;
margin: 0;
padding: .2em .4em;
}
.ruby-comment {
color: #ff0000
}
.method-section > header:first-child {
display: none;
}