a2d675f9d9390a432d0cb6e073781fdca3d363e0
[nit.git] / share / nitdoc / css / Nitdoc.GitHub.css
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
14
15 Documentation generator for the nit language.
16 Generate API documentation in HTML format from nit source code.
17 */
18
19 /*
20 * Nitdoc Github Login Box
21 */
22
23 #nitdoc-github-li.current {
24 color: #999;
25 }
26
27 #nitdoc-github-li .glyphicon {
28 cursor: pointer;
29 }
30
31 #nitdoc-github-loginbox {
32 cursor: default;
33 position: absolute;
34 width : 220px;
35 margin-top: 2px;
36 margin-left: -10px;
37 display: block;
38 padding: 10px;
39 text-align: left;
40 white-space: normal;
41 background-color: #ffffff;
42 border: 1px solid #ccc;
43 border: 1px solid rgba(0, 0, 0, 0.2);
44 -webkit-border-radius: 2px;
45 -moz-border-radius: 2px;
46 border-radius: 2px;
47 -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
48 -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
49 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
50 -webkit-background-clip: padding-box;
51 -moz-background-clip: padding;
52 background-clip: padding-box;
53 }
54
55 #nitdoc-github-loginbox .nitdoc-github-loginbox-arrow {
56 position: absolute;
57 display: block;
58 width: 0;
59 height: 0;
60 border-color: transparent;
61 border-style: solid;
62 border-width: 7px;
63 top: -7px;
64 margin-left: 2px;
65 border-bottom-color: #999;
66 border-bottom-color: rgba(0, 0, 0, 0.25);
67 border-top-width: 0;
68 }
69
70 #nitdoc-github-loginbox .nitdoc-github-loginbox-arrow:after {
71 position: absolute;
72 display: block;
73 width: 0;
74 height: 0;
75 border-color: transparent;
76 border-style: solid;
77 border-width: 10px;
78 content: "";
79 top: 1px;
80 margin-left: -10px;
81 border-bottom-color: #ffffff;
82 border-top-width: 0;
83 }
84
85 #nitdoc-github-loginbox h3 {
86 text-align:center;
87 }
88
89 #nitdoc-github-loginbox h4 {
90 display: block;
91 width: 100%;
92 color: #6C6C6C;
93 font-style: normal;
94 text-align: center;
95 margin-bottom: 20px;
96 }
97
98
99 #nitdoc-github-loginbox a.nitdoc-github-loginbox-githublink {
100 display: block;
101 margin: 10px;
102 color: #0D8921;
103 }
104
105 /* Comment editing */
106
107 .nitdoc-github-commentbox {
108 margin: 1em 5px;
109 border: 1px solid #eee;
110 padding: 1em;
111 background: #fff;
112 -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
113 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
114 box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
115 }
116
117 .nitdoc-github-commentbox h3 {
118 margin: 0;
119 }
120
121 .nitdoc-github-commentbox-buttons {
122 text-align: right;
123 }
124
125 .nitdoc-github-commentbox dl {
126 margin-bottom: 0;
127 }
128
129 .nitdoc-github-commentbox dt {
130 margin-bottom: 0.5em;
131 }
132
133 .nitdoc-github-commentbox dd {
134 margin: 0 0 1em 0;
135 }
136
137 .nitdoc-github-commentbox textarea {
138 display: block;
139 font-family: monospace;
140 font-size: 1em;
141 width: 100%;
142 padding: 4px;
143 padding-left: 11px;
144 overflow-y: hidden;
145 border: 1px solid #CCC;
146 }
147
148 .nitdoc-github-preview {
149 margin: 0 15px;
150 cursor: pointer;
151 }
152
153 .nitdoc-github-button.nitdoc-github-cancel {
154 background-color: #b33630;
155 background-image: -webkit-gradient(linear, left top, left bottom, from(#E97A74), to(#9f312c)); /* Saf4+, Chrome */
156 background-image: -webkit-linear-gradient(top, #E97A74, #9f312c); /* Chrome 10+, Saf5.1+ */
157 background-image: -moz-linear-gradient(top, #E97A74, #9f312c); /* FF3.6 */
158 background-image: -ms-linear-gradient(top, #E97A74, #9f312c); /* IE10 */
159 background-image: -o-linear-gradient(top, #E97A74, #9f312c); /* Opera 11.10+ */
160 background-image: linear-gradient(top, #E97A74, #9f312c);
161 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#E97A74', EndColorStr='#9f312c'); /* IE6–IE9 */
162 border: 1px solid #9f312c;
163 }
164
165 div.comment.locked {
166 color: gray;
167 }
168 p.locked {
169 color: black;
170 }
171
172 a.nitdoc-github-cancel {
173 color: #b33630;
174 cursor: pointer;
175 }
176
177 a.nitdoc-github-update {
178 color: orange;
179 cursor: pointer;
180 }
181
182 .nitdoc-dialog h4 {
183 font-weight: bold;
184 }
185
186 /* hljs */
187
188 .hljs.nitcode {
189 padding-left: 10px;
190 }
191
192 .hljs-comment, .hljs-comment-block {
193 color: #777;
194 }
195
196 .hljs-keyword {
197 color: #000;
198 font-weight: bold;
199 }
200
201 .hljs-title {
202 font-weight: bold;
203 }
204
205 .hljs-module {
206 color: #3762E4;
207 }
208
209 .hljs-class .hljs-title {
210 color: #3762E4;
211 }
212
213 .hljs-type {
214 color: #3762E4;
215 }
216
217 .hljs-string {
218 color: #8F1546;
219 }
220
221 .hljs-subst {
222 color: #9E6BEB;
223 }
224
225 .hljs-fun .hljs-title {
226 color: #3762E4;
227 }
228
229 .hljs-char, .hljs-number {
230 color: #009999;
231 }