nitweb/angular: add /package/:full_name page
[nit.git] / share / nitweb / stylesheets / nitweb.css
1 /* Body */
2
3 body {
4 background: #f2f2f2;
5 margin-top: 70px;
6 margin-bottom: 70px;
7 }
8
9 h1, h2, h3, h4, h5, h6 {
10 color: #666;
11 }
12
13 a {
14 cursor: pointer;
15 }
16
17 .nitdoc h1, .nitdoc h2, .nitdoc h3, .nitdoc h4, .nitdoc h5, .nitdoc h6 {
18 color: #333;
19 }
20
21 .page-header {
22 margin-top: 0;
23 border: none;
24 }
25
26 /* cards */
27
28 .card.active {
29 border: 1px solid #1E9431;
30 }
31
32 .card, .card-body { overflow: hidden; }
33
34 .card-heading {
35 margin-top: 0;
36 margin-bottom: 5px;
37 }
38
39 .card {
40 background: #fff;
41 border: 1px solid #ccc;
42 margin-top: 10px;
43 box-shadow: 0 -1px 0 #e5e5e5,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);
44 }
45
46 .card-body {
47 padding: 15px;
48 width: 10000px;
49 }
50
51 .card-body {
52 display: table-cell;
53 vertical-align: top;
54 }
55
56 /* doc */
57
58 .nitdoc .synopsys {
59 font-size: 2em;
60 }
61
62 .signature {
63 color: #666;
64 font-family: monospace;
65 }
66
67 .signature .name {
68 font-weight: bold;
69 }
70
71 .page-header .signature .name, .signature .signature .name {
72 font-weight: normal;
73 }
74
75 .signature .signature a {
76 color: #666;
77 font-family: monospace;
78 }
79 /*
80 * Code Highlighting
81 */
82
83 .nitcode a { color: inherit; text-decoration: inherit; } /* hide links */
84 .nitcode a:hover { text-decoration: underline; } /* underline links */
85 .nitcode span[title]:hover { text-decoration: underline; } /* underline titles */
86 /* lexical raw tokens. independent of usage or semantic: */
87 .nitcode .nc_c { color: gray; font-style: italic; } /* comment */
88 .nitcode .nc_d { color: #3D8127; font-style: italic; } /* documentation comments */
89 .nitcode .nc_k { font-weight: bold; } /* keyword */
90 .nitcode .nc_o {} /* operator */
91 .nitcode .nc_i {} /* standard identifier */
92 .nitcode .nc_t { color: #445588; font-weight: bold; } /* type/class identifier */
93 .nitcode .nc_a { color: #445588; font-style: italic; } /* old style attribute identifier */
94 .nitcode .nc_l { color: #009999; } /* char and number literal */
95 .nitcode .nc_s { color: #8F1546; } /* string literal */
96 /* syntactic token usage. added because of their position in the AST */
97 .nitcode .nc_ast { color: blue; } /* assert label */
98 .nitcode .nc_la { color: blue; } /* break/continue label */
99 .nitcode .nc_m { color: #445588; } /* module name */
100 /* syntactic groups */
101 .nitcode .nc_def { font-weight: bold; color: blue; } /* name used in a definition */
102 .nitcode .nc_def.nc_a { color: blue; } /* name used in a attribute definition */
103 .nitcode .nc_def.nc_t { color: blue; } /* name used in a class or vt definition */
104 .nitcode .nc_ss { color: #9E6BEB; } /* superstrings */
105 .nitcode .nc_cdef {} /* A whole class definition */
106 .nitcode .nc_pdef {} /* A whole property definition */
107 /* semantic token usage */
108 .nitcode .nc_v { font-style: italic; } /* local variable or parameter */
109 .nitcode .nc_vt { font-style: italic; } /* virtual type or formal type */
110 .nitcode .nc_error { border: 1px red solid;} /* not used */