Mercurial > hg
comparison templates/static/style-monoblue.css @ 7112:c9b88695d894
[PATCH 2 of 2] Re: created hgweb theme - monoblue
author | "Hiroshi Funai" <hfunai@gmail.com> |
---|---|
date | Sat, 18 Oct 2008 03:53:54 -0500 |
parents | |
children | e9a44a8e0ddc |
comparison
equal
deleted
inserted
replaced
7111:91b0ada2d94b | 7112:c9b88695d894 |
---|---|
1 /*** Initial Settings ***/ | |
2 * { | |
3 margin: 0; | |
4 padding: 0; | |
5 font-weight: normal; | |
6 font-style: normal; | |
7 } | |
8 | |
9 html { | |
10 font-size: 100%; | |
11 font-family: sans-serif; | |
12 } | |
13 | |
14 body { | |
15 font-size: 77%; | |
16 margin: 15px 50px; | |
17 background: #4B4B4C; | |
18 } | |
19 | |
20 a { | |
21 color:#0000cc; | |
22 text-decoration: none; | |
23 } | |
24 /*** end of Initial Settings ***/ | |
25 | |
26 | |
27 /** common settings **/ | |
28 div#container { | |
29 background: #FFFFFF; | |
30 position: relative; | |
31 color: #666; | |
32 } | |
33 | |
34 div.page-header { | |
35 padding: 50px 20px 0; | |
36 background: #006699 top left repeat-x; | |
37 position: relative; | |
38 } | |
39 div.page-header h1 { | |
40 margin: 10px 0 30px; | |
41 font-size: 1.8em; | |
42 font-weight: bold; | |
43 font-family: osaka,'MS P Gothic', Georgia, serif; | |
44 letter-spacing: 1px; | |
45 color: #DDD; | |
46 } | |
47 div.page-header h1 a { | |
48 font-weight: bold; | |
49 color: #FFF; | |
50 } | |
51 div.page-header a { | |
52 text-decoration: none; | |
53 } | |
54 | |
55 div.page-header form { | |
56 position: absolute; | |
57 top: 120px; | |
58 right: 20px; | |
59 } | |
60 div.page-header form label { | |
61 color: #DDD; | |
62 } | |
63 div.page-header form input { | |
64 padding: 2px; | |
65 border: solid 1px #DDD; | |
66 } | |
67 div.page-header form dl { | |
68 overflow: hidden; | |
69 } | |
70 div.page-header form dl dt { | |
71 font-size: 1.2em; | |
72 } | |
73 div.page-header form dl dt, | |
74 div.page-header form dl dd { | |
75 margin: 0 0 0 5px; | |
76 float: left; | |
77 height: 24px; | |
78 line-height: 20px; | |
79 } | |
80 | |
81 ul.page-nav { | |
82 margin: 10px 0 0 0; | |
83 list-style-type: none; | |
84 overflow: hidden; | |
85 width: 800px; | |
86 } | |
87 ul.page-nav li { | |
88 margin: 0 2px 0 0; | |
89 float: left; | |
90 width: 80px; | |
91 height: 24px; | |
92 font-size: 1.1em; | |
93 line-height: 24px; | |
94 text-align: center; | |
95 } | |
96 ul.page-nav li.current { | |
97 background: #FFF; | |
98 } | |
99 ul.page-nav li a { | |
100 height: 24px; | |
101 color: #666; | |
102 background: #DDD; | |
103 display: block; | |
104 text-decoration: none; | |
105 } | |
106 ul.page-nav li a:hover { | |
107 color:#333; | |
108 background: #FFF; | |
109 } | |
110 | |
111 ul.submenu { | |
112 margin: 10px 0 -10px 20px; | |
113 list-style-type: none; | |
114 } | |
115 ul.submenu li { | |
116 margin: 0 10px 0 0; | |
117 font-size: 1.2em; | |
118 display: inline; | |
119 } | |
120 | |
121 h2 { | |
122 margin: 20px 0 10px; | |
123 height: 30px; | |
124 line-height: 30px; | |
125 text-indent: 20px; | |
126 background: #FFF; | |
127 font-size: 1.2em; | |
128 border-top: dotted 1px #D5E1E6; | |
129 font-weight: bold; | |
130 } | |
131 h2.no-link { | |
132 color:#006699; | |
133 } | |
134 h2.no-border { | |
135 color: #FFF; | |
136 background: #006699; | |
137 border: 0; | |
138 } | |
139 h2 a { | |
140 font-weight:bold; | |
141 color:#006699; | |
142 } | |
143 | |
144 div.page-path { | |
145 text-align: right; | |
146 padding: 20px 30px 10px 0; | |
147 border:solid #d9d8d1; | |
148 border-width:0px 0px 1px; | |
149 font-size: 1.2em; | |
150 } | |
151 | |
152 div.page-footer { | |
153 margin: 50px 0 0; | |
154 position: relative; | |
155 } | |
156 div.page-footer p { | |
157 position: relative; | |
158 left: 20px; | |
159 bottom: 5px; | |
160 font-size: 1.2em; | |
161 } | |
162 | |
163 ul.rss-logo { | |
164 position: absolute; | |
165 top: -10px; | |
166 right: 20px; | |
167 height: 20px; | |
168 list-style-type: none; | |
169 } | |
170 ul.rss-logo li { | |
171 display: inline; | |
172 } | |
173 ul.rss-logo li a { | |
174 padding: 3px 6px; | |
175 line-height: 10px; | |
176 border:1px solid; | |
177 border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e; | |
178 color:#ffffff; | |
179 background-color:#ff6600; | |
180 font-weight:bold; | |
181 font-family:sans-serif; | |
182 font-size:10px; | |
183 text-align:center; | |
184 text-decoration:none; | |
185 } | |
186 div.rss-logo li a:hover { | |
187 background-color:#ee5500; | |
188 } | |
189 | |
190 p.normal { | |
191 margin: 20px 0 20px 30px; | |
192 font-size: 1.2em; | |
193 } | |
194 | |
195 table { | |
196 margin: 10px 0 0 20px; | |
197 width: 95%; | |
198 border-collapse: collapse; | |
199 } | |
200 table tr td { | |
201 font-size: 1.1em; | |
202 } | |
203 table tr td.nowrap { | |
204 white-space: nowrap; | |
205 } | |
206 /* | |
207 table tr.parity0:hover, | |
208 table tr.parity1:hover { | |
209 background: #D5E1E6; | |
210 } | |
211 */ | |
212 table tr.parity0 { | |
213 background: #F1F6F7; | |
214 } | |
215 table tr.parity1 { | |
216 background: #FFFFFF; | |
217 } | |
218 table tr td { | |
219 padding: 5px 5px; | |
220 } | |
221 | |
222 span.logtags span { | |
223 padding: 2px 6px; | |
224 font-weight: normal; | |
225 font-size: 11px; | |
226 border: 1px solid; | |
227 background-color: #ffaaff; | |
228 border-color: #ffccff #ff00ee #ff00ee #ffccff; | |
229 } | |
230 span.logtags span.tagtag { | |
231 background-color: #ffffaa; | |
232 border-color: #ffffcc #ffee00 #ffee00 #ffffcc; | |
233 } | |
234 span.logtags span.branchtag { | |
235 background-color: #aaffaa; | |
236 border-color: #ccffcc #00cc33 #00cc33 #ccffcc; | |
237 } | |
238 span.logtags span.inbranchtag { | |
239 background-color: #d5dde6; | |
240 border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4; | |
241 } | |
242 | |
243 div.diff pre { | |
244 margin: 10px 0 0 0; | |
245 } | |
246 div.diff pre span { | |
247 font-family: monospace; | |
248 white-space: pre; | |
249 font-size: 1.2em; | |
250 padding: 3px 0; | |
251 } | |
252 div.source { | |
253 margin: 10px 30px 0; | |
254 font-family: Tahoma, sans-serif, monospace; | |
255 font-size: 100%; | |
256 } | |
257 div.source div.parity0, | |
258 div.source div.parity1 { | |
259 padding: 1px; | |
260 font-size: 1.2em; | |
261 } | |
262 div.source div.parity0 { | |
263 background: #F1F6F7; | |
264 } | |
265 div.source div.parity1 { | |
266 background: #FFFFFF; | |
267 } | |
268 div.parity0:hover, | |
269 div.parity1:hover { | |
270 background: #D5E1E6; | |
271 } | |
272 .linenr { | |
273 color: #999; | |
274 text-align: right; | |
275 } | |
276 td.linenr { | |
277 width: 60px; | |
278 } | |
279 | |
280 div#powered-by { | |
281 position: absolute; | |
282 width: 75px; | |
283 top: 15px; | |
284 right: 20px; | |
285 font-size: 1.2em; | |
286 } | |
287 div#powered-by a { | |
288 color: #EEE; | |
289 text-decoration: none; | |
290 } | |
291 div#powered-by a:hover { | |
292 text-decoration: underline; | |
293 } | |
294 /* | |
295 div#monoblue-corner-top-left { | |
296 position: absolute; | |
297 top: 0; | |
298 left: 0; | |
299 width: 10px; | |
300 height: 10px; | |
301 background: url(./monoblue-corner.png) top left no-repeat !important; | |
302 background: none; | |
303 } | |
304 div#monoblue-corner-top-right { | |
305 position: absolute; | |
306 top: 0; | |
307 right: 0; | |
308 width: 10px; | |
309 height: 10px; | |
310 background: url(./monoblue-corner.png) top right no-repeat !important; | |
311 background: none; | |
312 } | |
313 div#monoblue-corner-bottom-left { | |
314 position: absolute; | |
315 bottom: 0; | |
316 left: 0; | |
317 width: 10px; | |
318 height: 10px; | |
319 background: url(./monoblue-corner.png) bottom left no-repeat !important; | |
320 background: none; | |
321 } | |
322 div#monoblue-corner-bottom-right { | |
323 position: absolute; | |
324 bottom: 0; | |
325 right: 0; | |
326 width: 10px; | |
327 height: 10px; | |
328 background: url(./monoblue-corner.png) bottom right no-repeat !important; | |
329 background: none; | |
330 } | |
331 */ | |
332 /** end of common settings **/ | |
333 | |
334 /** summary **/ | |
335 dl.overview { | |
336 margin: 0 0 0 30px; | |
337 font-size: 1.1em; | |
338 width: 450px; | |
339 overflow: hidden; | |
340 } | |
341 dl.overview dt, | |
342 dl.overview dd { | |
343 margin: 5px 0; | |
344 width: 300px; | |
345 float: left; | |
346 } | |
347 dl.overview dt { | |
348 font-weight: bold; | |
349 width: 150px; | |
350 } | |
351 /** end of summary **/ | |
352 | |
353 /** chagelog **/ | |
354 h3.changelog { | |
355 margin: 20px 0 5px 30px; | |
356 padding: 0 0 2px; | |
357 font-size: 1.4em; | |
358 border-bottom: dotted 1px #D5E1E6; | |
359 } | |
360 ul.changelog-entry { | |
361 margin: 0 0 10px 30px; | |
362 list-style-type: none; | |
363 position: relative; | |
364 } | |
365 ul.changelog-entry li span.revdate { | |
366 font-size: 1.1em; | |
367 } | |
368 ul.changelog-entry li.age { | |
369 position: absolute; | |
370 top: -25px; | |
371 right: 10px; | |
372 font-size: 1.4em; | |
373 color: #CCC; | |
374 font-weight: bold; | |
375 font-style: italic; | |
376 } | |
377 ul.changelog-entry li span.name { | |
378 font-size: 1.2em; | |
379 font-weight: bold; | |
380 } | |
381 ul.changelog-entry li.description { | |
382 margin: 10px 0 0; | |
383 font-size: 1.1em; | |
384 } | |
385 /** end of changelog **/ | |
386 | |
387 /** file **/ | |
388 p.files { | |
389 margin: 0 0 0 20px; | |
390 font-size: 2.0em; | |
391 font-weight: bold; | |
392 } | |
393 /** end of file **/ | |
394 | |
395 /** changeset **/ | |
396 h3.changeset { | |
397 margin: 20px 0 5px 20px; | |
398 padding: 0 0 2px; | |
399 font-size: 1.6em; | |
400 border-bottom: dotted 1px #D5E1E6; | |
401 } | |
402 p.changeset-age { | |
403 position: relative; | |
404 } | |
405 p.changeset-age span { | |
406 position: absolute; | |
407 top: -25px; | |
408 right: 10px; | |
409 font-size: 1.4em; | |
410 color: #CCC; | |
411 font-weight: bold; | |
412 font-style: italic; | |
413 } | |
414 p.description { | |
415 margin: 10px 30px 0 30px; | |
416 padding: 10px; | |
417 border: solid 1px #CCC; | |
418 font-size: 1.2em; | |
419 } | |
420 /** end of changeset **/ | |
421 | |
422 /** canvas **/ | |
423 div#wrapper { | |
424 position: relative; | |
425 font-size: 1.2em; | |
426 } | |
427 | |
428 canvas { | |
429 position: absolute; | |
430 z-index: 5; | |
431 top: -0.7em; | |
432 } | |
433 | |
434 ul#nodebgs li.parity0 { | |
435 background: #F1F6F7; | |
436 } | |
437 | |
438 ul#nodebgs li.parity1 { | |
439 background: #FFFFFF; | |
440 } | |
441 | |
442 ul#graphnodes { | |
443 position: absolute; | |
444 z-index: 10; | |
445 top: 7px; | |
446 list-style: none inside none; | |
447 } | |
448 | |
449 ul#nodebgs { | |
450 list-style: none inside none; | |
451 } | |
452 | |
453 ul#graphnodes li, ul#nodebgs li { | |
454 height: 39px; | |
455 } | |
456 | |
457 ul#graphnodes li .info { | |
458 display: block; | |
459 position: relative; | |
460 } | |
461 /** end of canvas **/ |