/
common.css
135 lines (110 loc) · 2.23 KB
/
common.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
125
126
127
128
129
130
131
132
133
134
/* Override this file with custom rules */
body {
line-height: 18px;
}
.docstring h1:before {
content: '# ';
color: silver;
}
.docstring h2:before {
content: '## ';
color: silver;
}
.docstring code, .docstring .object_link a, #filecontents code {
padding: 0px 3px 1px 3px;
border: 1px solid #eef;
background: #f5f5ff;
}
#filecontents pre code, .docstring pre code {
border: none;
background: none;
padding: 0;
}
#filecontents pre.code, .docstring pre.code, .tags pre.example, .docstring code, .docstring .object_link a,
#filecontents code {
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
/* syntax highlighting */
.source_code {
display: none;
padding: 3px 8px;
border-left: 8px solid #ddd;
margin-top: 5px;
}
#filecontents pre.code, .docstring pre.code, .source_code pre {
font-family: monospace;
}
#filecontents pre.code, .docstring pre.code {
display: block;
}
.source_code .lines {
padding-right: 12px;
color: #555;
text-align: right;
}
#filecontents pre.code, .docstring pre.code,
.tags pre.example {
padding: 5px 12px;
margin-top: 4px;
border: 1px solid #eef;
background: #f5f5ff;
}
pre.code {
color: #000;
}
pre.code .info.file {
color: #555;
}
pre.code .val {
color: #036A07;
}
pre.code .tstring_content,
pre.code .heredoc_beg, pre.code .heredoc_end,
pre.code .qwords_beg, pre.code .qwords_end,
pre.code .tstring, pre.code .dstring {
color: #036A07;
}
pre.code .fid,
pre.code .rubyid_new,
pre.code .rubyid_to_s,
pre.code .rubyid_to_sym,
pre.code .rubyid_to_f,
pre.code .rubyid_to_i,
pre.code .rubyid_each {
color: inherit;
}
pre.code .comment {
color: #777;
font-style: italic;
}
pre.code .const, pre.code .constant {
color: inherit;
font-weight: bold;
font-style: italic;
}
pre.code .label,
pre.code .symbol {
color: #C5060B;
}
pre.code .kw,
pre.code .rubyid_require,
pre.code .rubyid_extend,
pre.code .rubyid_include,
pre.code .int {
color: #0000FF;
}
pre.code .ivar {
color: #660E7A;
}
pre.code .gvar,
pre.code .rubyid_backref,
pre.code .rubyid_nth_ref {
color: #6D79DE;
}
pre.code .regexp, .dregexp {
color: #036A07;
}
pre.code a {
border-bottom: 1px dotted #bbf;
}