doc: Rename `synopsys` into `synopsis`
[nit.git] / share / nitdoc / css / nitdoc.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 /* Top menu */
16
17 .navbar-fixed-top {
18 background-color: #1E9431;
19 box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
20 }
21
22 .navbar-brand > a {
23 color: #fff;
24 }
25
26 .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
27 margin-right: auto;
28 margin-left: auto;
29 }
30
31 .navbar-default .navbar-collapse, .navbar-default .navbar-form {
32 border-color: transparent;
33 }
34
35 .navbar-toggle {
36 float: left;
37 }
38
39 /* Body */
40
41 body {
42 background: #f2f2f2;
43 margin-top: 70px;
44 margin-bottom: 70px;
45 }
46
47 h1, h2, h3, h4, h5, h6 {
48 color: #666;
49 }
50
51 .page-header {
52 margin-top: 0;
53 border: none;
54 }
55
56 #sidebar { margin-top: 15px; }
57
58 pre {
59 white-space: pre-wrap;
60 }
61
62 .footer {
63 color: #999;
64 text-align: center;
65 padding: 10px;
66 margin: 20px 0;
67 }
68
69 /* ui */
70
71 .btn-bar { margin-top: -5px; float: right }
72 .btn-bar .btn { padding: 5px 10px; }
73
74 /* Doc */
75
76 .nitdoc > *:first-child {
77 margin-top: 0;
78 }
79
80 .signature {
81 color: #777;
82 font-family: monospace;
83 }
84
85 .signature .name {
86 font-weight: bold;
87 }
88
89 .page-header .signature .name, .signature .signature .name {
90 font-weight: normal;
91 }
92
93 /* Summary */
94
95 .summary h1 { font-size: 14px; margin: 10px 0 5px 0; font-weight: bold; }
96 .summary h2 { font-size: 13px; margin: 9px 0 5px 5px; font-weight: bold; }
97 .summary h3 { font-size: 12px; margin: 8px 0 5px 10px; }
98 .summary h4 { font-size: 11px; margin: 7px 0 5px 15px; }
99 .summary h5 { font-size: 10px; margin: 6px 0 5px 20px; }
100 .summary h6 { font-size: 9px; margin: 5px 0 5px 25px; }
101
102 .summary a, .summary a:hover { color: #666; }
103
104 /*
105 * Nit
106 */
107
108 .nitdoc h1, .nitdoc h2, .nitdoc h3, .nitdoc h4, .nitdoc h5, .nitdoc h6 {
109 color: #333;
110 }
111
112 .nitdoc .synopsis {
113 margin-top: 0;
114 }
115
116 .public {
117 color: #5cb85c;
118 }
119
120 .protected {
121 color: #f0ad4e;
122 }
123
124 .private {
125 color: #a94442;
126 }