libevent: rename `bind_to` to the more precise `bind_tcp`
[nit.git] / share / nitdoc / css / nitdoc.code.css
1 /*
2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
5 *
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14
15 /* Code Highlighting */
16
17 .nitcode a { color: inherit; text-decoration: inherit; } /* hide links */
18 .nitcode a:hover { text-decoration: underline; } /* underline links */
19
20 /* lexical raw tokens. independent of usage or semantic: */
21 .nitcode .nc_c { color: gray; font-style: italic; } /* comment */
22 .nitcode .nc_d { color: #3D8127; font-style: italic; } /* documentation comments */
23 .nitcode .nc_k { font-weight: bold; } /* keyword */
24 .nitcode .nc_o {} /* operator */
25 .nitcode .nc_i {} /* standard identifier */
26 .nitcode .nc_t { color: #445588; font-weight: bold; } /* type/class identifier */
27 .nitcode .nc_a { color: #445588; font-style: italic; } /* old style attribute identifier */
28 .nitcode .nc_l { color: #009999; } /* char and number literal */
29 .nitcode .nc_s { color: #8F1546; } /* string literal */
30
31 /* syntactic token usage. added because of their position in the AST */
32 .nitcode .nc_ast { color: blue; } /* assert label */
33 .nitcode .nc_la { color: blue; } /* break/continue label */
34 .nitcode .nc_m { color: #445588; } /* module name */
35
36 /* syntactic groups */
37 .nitcode .nc_def { font-weight: bold; color: blue; } /* name used in a definition */
38 .nitcode .nc_def.nc_a { color: blue; } /* name used in a attribute definition */
39 .nitcode .nc_def.nc_t { color: blue; } /* name used in a class or vt definition */
40 .nitcode .nc_ss { color: #9E6BEB; } /* superstrings */
41 .nitcode .nc_cdef {} /* A whole class definition */
42 .nitcode .nc_pdef {} /* A whole property definition */
43
44 /* semantic token usage */
45 .nitcode .nc_v { font-style: italic; } /* local variable or parameter */
46 .nitcode .nc_vt { font-style: italic; } /* virtual type or formal type */
47 .nitcode .nc_error { border: 1px red solid;} /* not used */