-
Notifications
You must be signed in to change notification settings - Fork 10
/
codoc.css
156 lines (128 loc) · 2.48 KB
/
codoc.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
.codoc-doc {
font-family: sans-serif;
margin-left: 1em;
margin-right: 1em;
}
.codoc-doc h1.title {
padding-left: -2em
margin-left: 1em;
}
.codoc-doc .doc {
padding-left: 2em;
}
.codoc-doc .doc-left {
text-align: left;
}
.codoc-doc .doc-right {
text-align: right;
}
.codoc-doc .doc-center {
text-align: center;
}
.codoc-doc .tag .label {
font-weight: bold;
}
.codoc-doc .comment {
border: 1px solid #CCCCCC;
border-right: 0;
border-bottom: 0;
margin: 1em 0;
padding: 1em;
margin-left: -1em;
}
.codoc-doc .section {
border-bottom: 1px solid #CCCCCC;
line-height: 1.3em;
}
.codoc-doc .keyword {
font-family: monospace;
font-weight: bold;
}
.codoc-doc .rarr span {
overflow: hidden;
height: 0px;
width: 0px;
display: inline-block;
}
.codoc-doc .rarr:after {
content: "→";
}
.codoc-doc .sig {
padding-left: 3em;
}
.codoc-doc .tag.deprecated {
color: orange;
}
.codoc-doc .tag.deprecated .label {
color: red;
}
.codoc-doc .module,
.codoc-doc .modtype,
.codoc-doc .exception,
.codoc-doc .type,
.codoc-doc .val,
.codoc-doc .ext,
.codoc-doc .exn,
.codoc-doc .class,
.codoc-doc .classtype,
.codoc-doc .include {
margin-bottom: 1em;
}
.codoc-doc .module_index {
margin-top: 1em;
margin-bottom: 1em;
}
/* Field/constructor indentation */
.codoc-doc .cons > td,
.codoc-doc .field > td {
vertical-align: top;
padding: 0;
}
.codoc-doc div.cons,
.codoc-doc .cons > td,
.codoc-doc .field td:nth-child(1),
.codoc-doc .field td:nth-child(n+4) {
padding-left: 1.5em;
}
/* Field/constructor type nowrap */
.codoc-doc .cons td:nth-child(1),
.codoc-doc .field td:nth-child(2) {
white-space: nowrap;
}
/* Field/constructor comment syntax alignment */
.codoc-doc .cons td:nth-child(4),
.codoc-doc .field td:nth-child(6) {
vertical-align: bottom;
}
/* Fragment highlighting */
.codoc-doc :target *,
.codoc-doc tr div:target {
background-color: #FFFFCC;
}
/* Hover fragment links */
.codoc-doc .region {
margin-top: 0.7em;
margin-left: -1.3em;
padding-left: 1.3em;
}
.codoc-doc td > .region {
margin-top: 0;
}
.codoc-doc .region > a.anchor + * {
margin-top: -1.3em;
}
.codoc-doc a.anchor {
visibility: hidden;
margin-top: 0;
margin-left: -1.3em;
color: #999999;
text-decoration: none;
}
.codoc-doc :hover > a.anchor,
.codoc-doc tr:hover a.anchor {
visibility: visible;
}
.codoc-doc a.anchor:hover {
color: #000000;
text-decoration: underline;
}