Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 450
- Log:
Fix Ticket #352.
- Author:
- rool
- Date:
- Tue Sep 03 07:56:27 +0100 2013
- Size:
- 12968 Bytes
- Properties:
- Property svn:mergeinfo is set
1 | /* RISC OS Open basic site stylesheet. |
2 | * |
3 | * (C) RISC OS Open Limited 2011. |
4 | * |
5 | * For printing styles, see the end of this file. |
6 | */ |
7 | |
8 | body |
9 | { |
10 | font-family: homerton, tahoma, helvetica, sans-serif; |
11 | color: #333; |
12 | background: #dbdbdb; |
13 | margin: 0; |
14 | padding: 0; |
15 | font-size: 12pt; |
16 | } |
17 | |
18 | /* "Push away" bottom-of-window footer CSS fragment start */ |
19 | html { height: 100%; } |
20 | body { height: 100%; } |
21 | #template_above_footer { min-height: 100%; } |
22 | /* "Push away" bottom-of-window footer CSS fragment end */ |
23 | |
24 | #template_above_footer |
25 | { |
26 | background: #fff; |
27 | } |
28 | |
29 | address |
30 | { |
31 | font-style: normal; |
32 | padding-left: 2em; |
33 | } |
34 | |
35 | code |
36 | { |
37 | font-size: 11pt; |
38 | } |
39 | |
40 | pre, pre code, code pre |
41 | { |
42 | font-size: 10pt; |
43 | } |
44 | |
45 | pre |
46 | { |
47 | background: #eee; |
48 | border: 1px solid #bbb; |
49 | padding: 5px; |
50 | overflow: auto; |
51 | } |
52 | |
53 | blockquote |
54 | { |
55 | border: 1px solid #b8a6c4; |
56 | border-left: 3px solid #61377a; |
57 | border-right: 0; |
58 | background: #e2dae6; |
59 | padding: 1px 10px; |
60 | margin-left: 0; |
61 | margin-right: 0; |
62 | } |
63 | |
64 | blockquote p, blockquote blockquote |
65 | { |
66 | margin: 0.5em 0; |
67 | } |
68 | |
69 | /* Common heading styles and block behaviour */ |
70 | |
71 | h1, h2, h3, h4, h5, h6, form, div |
72 | { |
73 | margin: 0; |
74 | padding: 0; |
75 | } |
76 | |
77 | h1, h2, h3, h4, h5, h6 { |
78 | margin-bottom: 5px; |
79 | } |
80 | |
81 | h3 |
82 | { |
83 | font: normal 125% homerton, tahoma, helvetica, sans-serif; |
84 | color: #61377a; |
85 | } |
86 | |
87 | h2 ~ h3 |
88 | { |
89 | margin-top: 14px; |
90 | } |
91 | |
92 | /* Common form element and form-related styles */ |
93 | |
94 | input[type="text"], input[type="password"], textarea, select |
95 | { |
96 | border: 1px solid #4e713e; |
97 | background: #fff; |
98 | padding: 3px; |
99 | } |
100 | |
101 | input[type="submit"] |
102 | { |
103 | /* border-radius: 6px; */ /* Valid, but the W3C CSS3 validator is buggy and complains - and has since 2006! */ |
104 | -moz-border-radius: 6px; |
105 | -webkit-border-radius: 6px; |
106 | |
107 | background: #eee url( /images/risc_os_open/button_fade.png ) top left repeat-x; |
108 | border: 2px solid #e5e5e5; |
109 | |
110 | /* Some browsers reset the font family in button elements, so it must be |
111 | * explicitly restated here. |
112 | */ |
113 | |
114 | font-family: homerton, tahoma, helvetica, sans-serif; |
115 | |
116 | font-size: 11pt; |
117 | line-height: 100%; |
118 | text-decoration: none; |
119 | font-weight: bold; |
120 | color: #4e713e; |
121 | cursor: pointer; |
122 | padding: 5px 9px 7px 9px; |
123 | margin: 1px 0; /* Stop vertically stacked buttons from touching */ |
124 | } |
125 | |
126 | input[type="submit"]:hover { |
127 | background-color: #e6efc2; |
128 | border-color: #c6d880; |
129 | color: #4c7c2e; |
130 | |
131 | box-shadow: 0px 0px 4px #888; |
132 | -moz-box-shadow: #888 0 0 4px; |
133 | -webkit-box-shadow: #888 0 0 4px; |
134 | } |
135 | |
136 | input.template_donate |
137 | { |
138 | width: 110px; |
139 | height: 23px; |
140 | border: none; |
141 | } |
142 | |
143 | input.template_buy |
144 | { |
145 | border: none; |
146 | } |
147 | |
148 | div.template_donate, div.template_buy |
149 | { |
150 | text-align: center; |
151 | } |
152 | |
153 | img.template_donate, img.template_buy |
154 | { |
155 | position: fixed; |
156 | top: 0; |
157 | left: 0; |
158 | visibility: hidden; |
159 | } |
160 | |
161 | div.template_sidebar_node form |
162 | { |
163 | text-align: center; |
164 | white-space: nowrap; |
165 | } |
166 | |
167 | /* Common link styles */ |
168 | |
169 | a |
170 | { |
171 | text-decoration: none; |
172 | border-bottom: 1px dotted; |
173 | padding: 0; |
174 | margin: 0; |
175 | color: #28477a; |
176 | } |
177 | |
178 | a:hover |
179 | { |
180 | background: #dadfe7; |
181 | border-bottom: 1px solid; |
182 | } |
183 | |
184 | a:visited |
185 | { |
186 | color: #5b6370; |
187 | } |
188 | |
189 | a img, a:hover img |
190 | { |
191 | border: none; |
192 | } |
193 | |
194 | a.img, a:hover.img |
195 | { |
196 | background: transparent; |
197 | border-bottom: none; |
198 | } |
199 | |
200 | .powered, |
201 | .powered img, |
202 | a.powered, |
203 | a.powered:hover |
204 | { |
205 | border: none; |
206 | background: none; |
207 | } |
208 | |
209 | /* Major functional blocks */ |
210 | |
211 | #template_header, |
212 | #template_navigation, |
213 | #template_main, |
214 | #template_footer |
215 | { |
216 | clear: both; |
217 | padding-left: 5%; |
218 | padding-right: 5%; |
219 | } |
220 | |
221 | /* Header */ |
222 | |
223 | #template_header |
224 | { |
225 | background: #e5ffd4 url( /images/risc_os_open/top_fade.png ) top left repeat-x; |
226 | padding-top: 20px; |
227 | padding-bottom: 15px; |
228 | } |
229 | |
230 | #template_header_titles |
231 | { |
232 | float: left; |
233 | margin-top: 18px; |
234 | } |
235 | |
236 | #template_header_logo |
237 | { |
238 | text-align: right; |
239 | } |
240 | |
241 | #template_header_subtitle |
242 | { |
243 | font-size: 90%; |
244 | margin: 4px 0; |
245 | color: #4e713e; |
246 | -webkit-text-size-adjust: none; |
247 | } |
248 | |
249 | /* Navigation bar */ |
250 | |
251 | #template_navigation |
252 | { |
253 | white-space: nowrap; |
254 | background: #757361 url( /images/risc_os_open/bottom_fade.png ) bottom left repeat-x; |
255 | |
256 | /* NetSurf 2.6 doesn't seem to support padding around "display:table" blocks, |
257 | * used for the main content so that the sidebar and content never overlap |
258 | * even if the content area has a wide, fixed width (e.g. big tables in the |
259 | * bug tracker, or PRE text with long lines of code). It does seem to work if |
260 | * we set relative positioning and offset from there, but pushing the content |
261 | * away from the header using a positive top offset screws up the footer push |
262 | * stuff, leaving part of the body container DIV visible below the footer if |
263 | * the page isn't as tall as the contained content. |
264 | * |
265 | * Simple hack to fix it: bottom margin on the navigation bar. |
266 | */ |
267 | |
268 | margin-bottom: 20px; |
269 | } |
270 | |
271 | #template_navigation_main |
272 | { |
273 | float: left; |
274 | font-weight: bold; |
275 | font-size: 80%; |
276 | } |
277 | |
278 | #template_navigation_hub |
279 | { |
280 | padding: 7px 0; |
281 | text-align: right; |
282 | } |
283 | |
284 | a.template_navigation |
285 | { |
286 | color: #c2bfa1; |
287 | border: 0; |
288 | padding: 8px 10px; |
289 | border-right: 1px solid #8a8872; |
290 | } |
291 | |
292 | a.template_navigation:first-child { |
293 | border-left: 1px solid #8a8872; |
294 | } |
295 | |
296 | a.template_navigation:hover |
297 | { |
298 | background: #c2bfa1; |
299 | color: #fff; |
300 | } |
301 | |
302 | #template_navigation_main a.template_navigation |
303 | { |
304 | display: inline-block; |
305 | } |
306 | |
307 | span.template_navigation_divider |
308 | { |
309 | display: none; |
310 | } |
311 | |
312 | /* Main content area */ |
313 | |
314 | #template_main |
315 | { |
316 | display: table; |
317 | position: relative; |
318 | left: 5%; |
319 | width: 90%; |
320 | padding: 0 0 112px 0; /* 97px (height of footer) + 15px padding; see below */ |
321 | background: #fff; |
322 | } |
323 | |
324 | /* Main body content */ |
325 | |
326 | #template_body |
327 | { |
328 | display: table-cell; |
329 | } |
330 | |
331 | /* Sidebar */ |
332 | |
333 | #template_sidebar |
334 | { |
335 | display: table-cell; |
336 | width: 230px; |
337 | padding-left: 40px; |
338 | background: #fff; |
339 | } |
340 | |
341 | div.template_sidebar_static |
342 | { |
343 | font-size: 80%; |
344 | } |
345 | |
346 | div.template_sidebar_node h3 |
347 | { |
348 | clear: both; /* See Castle logo floated element below */ |
349 | padding: 6px 0; |
350 | background: #dbdbdb url( /images/risc_os_open/top_fade.png ) top left repeat-x; |
351 | text-align: center; |
352 | color: #000; |
353 | font-size: 90%; |
354 | } |
355 | |
356 | div.template_sidebar_node > ul:last-child |
357 | { |
358 | margin-bottom: 0; |
359 | } |
360 | |
361 | div.template_sidebar_node li |
362 | { |
363 | margin-left: -20px; |
364 | font-size: 90%; |
365 | } |
366 | |
367 | /* Castle logo in sidebar */ |
368 | |
369 | span#template_castle_logo |
370 | { |
371 | display: block; |
372 | float: right; |
373 | width: 59px; |
374 | height: 75px; |
375 | background: url( /images/third_party/castle_shield_reflect.png ) 0 0 no-repeat; |
376 | margin-left: 5px; |
377 | } |
378 | |
379 | /* Footer */ |
380 | |
381 | #template_footer |
382 | { |
383 | /* "Push away" bottom-of-window footer CSS fragment start */ |
384 | position: relative; |
385 | height: 97px; |
386 | margin-top: -97px; /* Must be negative element total ("outer") height */ |
387 | /* "Push away" bottom-of-window footer CSS fragment end */ |
388 | |
389 | padding: 0; |
390 | background: #dbdbdb url( /images/risc_os_open/bottom_fade.png ) bottom left repeat-x; |
391 | color: #4e713e; |
392 | font-size: 80%; |
393 | } |
394 | |
395 | #template_footer_content |
396 | { |
397 | border-top: 1px solid black; |
398 | background: transparent url( /images/risc_os_open/shadow_ftr.png ) top left repeat-x; |
399 | padding: 22px 5% 10px 5%; |
400 | font-size: 90%; |
401 | } |
402 | |
403 | #template_footer_links_theme |
404 | { |
405 | float: left; |
406 | } |
407 | |
408 | #template_footer_links_powered |
409 | { |
410 | text-align: right; |
411 | } |
412 | |
413 | #template_footer_content span.template_navigation_divider |
414 | { |
415 | display: inline; |
416 | } |
417 | |
418 | #template_footer_content a, |
419 | #template_footer_content a.template_navigation, |
420 | #template_footer_content a:visited |
421 | #template_footer_content a.template_navigation:visited |
422 | { |
423 | border: none; |
424 | border-bottom: 1px dotted; |
425 | padding: 0; |
426 | margin: 0; |
427 | color: #28477a; |
428 | font-weight: bold; |
429 | } |
430 | |
431 | #template_footer_content a:hover |
432 | { |
433 | color: #28477a; |
434 | background: #b3bed0; |
435 | border-bottom: 1px solid; |
436 | } |
437 | |
438 | #template_footer_content .powered, |
439 | #template_footer_content .powered img, |
440 | #template_footer_content a.powered, |
441 | #template_footer_content a.powered:hover |
442 | { |
443 | border: none; |
444 | background: none; |
445 | } |
446 | |
447 | /* Notification messages */ |
448 | |
449 | h2.info, h2.notice, |
450 | h2.attention, |
451 | h2.alert, h2.error { |
452 | margin-top: 20px; |
453 | margin: 8px; |
454 | padding: 7px 10px 10px 10px; |
455 | |
456 | border: 3px solid #c3c3df; |
457 | background-color: #e3e3ff; |
458 | |
459 | /* border-radius: 8px; */ /* Valid, but the W3C CSS3 validator is buggy and complains - and has since 2006! */ |
460 | -moz-border-radius: 8px; |
461 | -webkit-border-radius: 8px; |
462 | |
463 | box-shadow: 0px 0px 8px #888; |
464 | -moz-box-shadow: #888 0 0 8px; |
465 | -webkit-box-shadow: #888 0 0 8px; |
466 | |
467 | font-weight: normal; |
468 | } |
469 | |
470 | h2.info, h2.notice { |
471 | border-color: #c3efc3; |
472 | background-color: #e3ffe3; |
473 | } |
474 | |
475 | h2.attention { |
476 | border-color: #d4c8bc; |
477 | background-color: #ffe8cc; |
478 | } |
479 | |
480 | h2.alert, h2.error { |
481 | border-color: #dfc3c3; |
482 | background-color: #ffe3e3; |
483 | } |
484 | |
485 | /* Highlight errors within form submissions */ |
486 | |
487 | .fieldWithErrors { |
488 | padding: 2px; |
489 | background-color: red; |
490 | display: table; /* For MSIE 6, better than nothing */ |
491 | display: inline-block; /* For less useless browsers...! */ |
492 | } |
493 | |
494 | #errorExplanation { |
495 | width: 400px; |
496 | border: 2px solid red; |
497 | padding: 7px; |
498 | padding-bottom: 12px; |
499 | margin-bottom: 20px; |
500 | background-color: #f0f0f0; |
501 | } |
502 | |
503 | #errorExplanation h2 { |
504 | text-align: left; |
505 | font-weight: bold; |
506 | padding: 5px 5px 5px 15px; |
507 | font-size: 12px; |
508 | margin: -7px; |
509 | background-color: #c00; |
510 | color: #fff; |
511 | } |
512 | |
513 | #errorExplanation p { |
514 | color: #333; |
515 | margin-bottom: 0; |
516 | padding: 5px; |
517 | } |
518 | |
519 | #errorExplanation ul li { |
520 | font-size: 12px; |
521 | list-style: square; |
522 | } |
523 | |
524 | /* Breadcrumb trails */ |
525 | |
526 | .breadcrumbs |
527 | { |
528 | margin-top: 5px; |
529 | border-top: 1px solid #e5ffd4; |
530 | } |
531 | |
532 | .breadcrumbs ul |
533 | { |
534 | margin: 0 0 5px 0; |
535 | padding: 0; |
536 | } |
537 | |
538 | .breadcrumbs ul li |
539 | { |
540 | display: inline; |
541 | font-size: 80%; |
542 | color: #333; |
543 | margin: 0; |
544 | padding: 0; |
545 | } |
546 | |
547 | /* Component list tables */ |
548 | |
549 | #template_body_content table.parsed_directory_listing |
550 | { |
551 | table-layout: auto; |
552 | border-collapse: collapse; |
553 | margin: 0 0 20px 0; |
554 | padding: 0; |
555 | } |
556 | |
557 | table.parsed_directory_listing td, |
558 | table.parsed_directory_listing th |
559 | { |
560 | white-space: nowrap; |
561 | padding: 10px; |
562 | } |
563 | |
564 | table.parsed_directory_listing td.can_wrap |
565 | { |
566 | white-space: normal; |
567 | } |
568 | |
569 | table.parsed_directory_listing tr.even |
570 | { |
571 | background: #eee; |
572 | } |
573 | |
574 | div.parsed_directory_listing_datestamp |
575 | { |
576 | margin-top: 5px; |
577 | font-size: 70%; |
578 | } |
579 | |
580 | div.parsed_directory_listing_md5 |
581 | { |
582 | margin-top: 3px; |
583 | font-size: 55%; |
584 | } |
585 | |
586 | /* Bordered tables */ |
587 | |
588 | #template_body_content table.bordered { |
589 | border-collapse:collapse; |
590 | margin-bottom: 20px; |
591 | border: 1px solid #888; |
592 | width: 100%; |
593 | } |
594 | |
595 | #template_body_content table.bordered th { |
596 | border: 1px solid #555; |
597 | background: #f0f0f0; |
598 | font-weight: bold; |
599 | padding: 4px; |
600 | } |
601 | |
602 | #template_body_content table.bordered td { |
603 | border: 1px solid #ccc; |
604 | padding: 4px; |
605 | } |
606 | |
607 | /* Don't let images make the body column too wide; scale them instead */ |
608 | |
609 | #template_body_content img |
610 | { |
611 | max-width: 100%; |
612 | } |
613 | |
614 | /* CVS revisions and SVN changesets */ |
615 | |
616 | div.log, |
617 | div.cvslog2web_p_entry div.cvslog2web_message |
618 | { |
619 | background-color: #ffc; |
620 | border: 1px solid #ccc; |
621 | margin-bottom: 10px; |
622 | } |
623 | |
624 | div.log p |
625 | { |
626 | margin: 10px; |
627 | } |
628 | |
629 | div.log-small |
630 | { |
631 | margin: 0 0 0 20px; |
632 | } |
633 | |
634 | div.log-small p |
635 | { |
636 | font-size: 80%; |
637 | } |
638 | |
639 | ul.changes, |
640 | div.cvslog2web_p_entry div.cvslog2web_filelist |
641 | { |
642 | list-style: none; |
643 | margin-top: 10px; |
644 | padding: 0; |
645 | font-size: 80%; |
646 | color: #9a9a9a; |
647 | } |
648 | |
649 | ul.changes li.change-name |
650 | { |
651 | color: #666; |
652 | } |
653 | |
654 | /*****************************************************************************\ |
655 | * Browser-specific styles: Firefox |
656 | \*****************************************************************************/ |
657 | |
658 | /* Firefox 5, 12 and 17 (!) all position a <canvas> element inside a <div> |
659 | * incorrectly on this site. |
660 | */ |
661 | |
662 | div > canvas { left: 0; } |
663 | |
664 | /*****************************************************************************\ |
665 | * Browser-specific styles: NetSurf |
666 | \*****************************************************************************/ |
667 | |
668 | /* Help NetSurf get sizes right, reducing page reformatting. Problems with |
669 | * image sizing, even when width and height is specified in HTML, have long |
670 | * existed in the browser. Harmless for other browsers. |
671 | * |
672 | * Suggested by M.Drake, 2011-03-18: |
673 | * |
674 | * https://www.riscosopen.org/forum/forums/1/topics/591?page=2 |
675 | */ |
676 | |
677 | #template_header_title > img |
678 | { |
679 | display: block; |
680 | } |
681 | |
682 | #template_header_logo > a > img, |
683 | #template_navigation_hub > a > img |
684 | { |
685 | display: block; |
686 | margin-left: auto; |
687 | margin-right: 0; |
688 | } |
689 | |
690 | /*****************************************************************************\ |
691 | * Printing specialisations |
692 | \*****************************************************************************/ |
693 | |
694 | /* The use of "!important" makes sure that the rules take precedence for |
695 | * matching elements even if there is a more specific rule above, which would |
696 | * otherwise have taken precedence instead. |
697 | */ |
698 | |
699 | @media print { |
700 | html, |
701 | body |
702 | { |
703 | height: auto !important; |
704 | } |
705 | |
706 | |
707 | #template_above_footer |
708 | { |
709 | min-height: 0 !important; |
710 | } |
711 | |
712 | #template_navigation, |
713 | .template_navigation, |
714 | .template_navigation_divider, |
715 | #template_sidebar |
716 | { |
717 | display: none !important; |
718 | } |
719 | |
720 | input[type="submit"], |
721 | #template_header, |
722 | #template_footer, |
723 | #template_footer_content |
724 | { |
725 | background: none !important; |
726 | } |
727 | |
728 | a, #template_footer_content a |
729 | { |
730 | border-bottom: #ddd 1px dashed; |
731 | } |
732 | |
733 | a img |
734 | { |
735 | border-bottom: none !important; |
736 | } |
737 | |
738 | a:visited |
739 | { |
740 | color: #28477a !important; |
741 | } |
742 | } |