webgen 1.0.0.beta2 → 1.0.0.beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. data/COPYING +34 -1
  2. data/Rakefile +1 -8
  3. data/data/webgen/passive_sources/default.metainfo +5 -0
  4. data/data/webgen/passive_sources/stylesheets/api.css +284 -0
  5. data/data/webgen/passive_sources/templates/api.template +151 -0
  6. data/data/webgen/passive_sources/templates/feed.template +4 -0
  7. data/lib/webgen/bundle/built-in/init.rb +12 -3
  8. data/lib/webgen/bundle_loader.rb +8 -2
  9. data/lib/webgen/cli/create_command.rb +3 -1
  10. data/lib/webgen/cli/show_tree_command.rb +4 -3
  11. data/lib/webgen/content_processor.rb +2 -2
  12. data/lib/webgen/content_processor/blocks.rb +2 -2
  13. data/lib/webgen/content_processor/haml.rb +1 -1
  14. data/lib/webgen/content_processor/html_head.rb +5 -4
  15. data/lib/webgen/content_processor/kramdown.rb +3 -1
  16. data/lib/webgen/content_processor/r_doc.rb +16 -3
  17. data/lib/webgen/content_processor/sass.rb +3 -3
  18. data/lib/webgen/content_processor/scss.rb +1 -1
  19. data/lib/webgen/content_processor/tikz.rb +2 -2
  20. data/lib/webgen/context/html_head.rb +1 -1
  21. data/lib/webgen/destination/file_system.rb +2 -1
  22. data/lib/webgen/item_tracker/node_content.rb +4 -4
  23. data/lib/webgen/item_tracker/node_meta_info.rb +6 -6
  24. data/lib/webgen/item_tracker/nodes.rb +1 -1
  25. data/lib/webgen/node.rb +5 -7
  26. data/lib/webgen/node_finder.rb +40 -17
  27. data/lib/webgen/page.rb +10 -0
  28. data/lib/webgen/path.rb +14 -14
  29. data/lib/webgen/path_handler.rb +19 -13
  30. data/lib/webgen/path_handler/api.rb +173 -0
  31. data/lib/webgen/path_handler/base.rb +33 -11
  32. data/lib/webgen/path_handler/copy.rb +2 -27
  33. data/lib/webgen/path_handler/feed.rb +4 -3
  34. data/lib/webgen/path_handler/meta_info.rb +1 -1
  35. data/lib/webgen/path_handler/page_utils.rb +4 -3
  36. data/lib/webgen/path_handler/sitemap.rb +3 -2
  37. data/lib/webgen/path_handler/virtual.rb +7 -2
  38. data/lib/webgen/tag.rb +5 -5
  39. data/lib/webgen/tag/execute_command.rb +1 -1
  40. data/lib/webgen/tag/include_file.rb +1 -1
  41. data/lib/webgen/tag/link.rb +2 -2
  42. data/lib/webgen/tag/menu.rb +1 -1
  43. data/lib/webgen/tag/meta_info.rb +1 -0
  44. data/lib/webgen/tag/relocatable.rb +1 -1
  45. data/lib/webgen/tag/tikz.rb +2 -2
  46. data/lib/webgen/task/create_website.rb +1 -1
  47. data/lib/webgen/test_helper.rb +20 -16
  48. data/lib/webgen/tree.rb +5 -1
  49. data/lib/webgen/version.rb +1 -1
  50. data/lib/webgen/website.rb +8 -8
  51. data/test/webgen/content_processor/test_kramdown.rb +7 -5
  52. data/test/webgen/content_processor/test_sass.rb +4 -0
  53. data/test/webgen/content_processor/test_scss.rb +4 -0
  54. data/test/webgen/content_processor/test_tikz.rb +6 -2
  55. data/test/webgen/destination/test_file_system.rb +3 -4
  56. data/test/webgen/item_tracker/test_missing_node.rb +3 -3
  57. data/test/webgen/item_tracker/test_node_content.rb +9 -12
  58. data/test/webgen/item_tracker/test_node_meta_info.rb +7 -11
  59. data/test/webgen/item_tracker/test_nodes.rb +11 -5
  60. data/test/webgen/path_handler/test_api.rb +111 -0
  61. data/test/webgen/path_handler/test_page_utils.rb +1 -1
  62. data/test/webgen/source/test_file_system.rb +3 -3
  63. data/test/webgen/tag/test_coderay.rb +3 -4
  64. data/test/webgen/tag/test_meta_info.rb +3 -0
  65. data/test/webgen/task/test_create_website.rb +2 -2
  66. data/test/webgen/test_item_tracker.rb +11 -16
  67. data/test/webgen/test_node.rb +2 -0
  68. data/test/webgen/test_node_finder.rb +30 -2
  69. data/test/webgen/test_page.rb +8 -0
  70. data/test/webgen/test_source.rb +11 -18
  71. data/test/webgen/test_tag.rb +1 -1
  72. data/test/webgen/test_tree.rb +8 -8
  73. metadata +8 -88
  74. data/ChangeLog +0 -23710
  75. data/data/webgen/website_bundles/default/README +0 -6
  76. data/data/webgen/website_bundles/default/src/index.page +0 -15
  77. data/data/webgen/website_bundles/style/1024px/README +0 -13
  78. data/data/webgen/website_bundles/style/1024px/src/default.css +0 -188
  79. data/data/webgen/website_bundles/style/1024px/src/default.template +0 -60
  80. data/data/webgen/website_bundles/style/1024px/src/images/background.gif +0 -0
  81. data/data/webgen/website_bundles/style/andreas00/README +0 -13
  82. data/data/webgen/website_bundles/style/andreas00/src/default.css +0 -290
  83. data/data/webgen/website_bundles/style/andreas00/src/default.template +0 -60
  84. data/data/webgen/website_bundles/style/andreas00/src/images/bg.gif +0 -0
  85. data/data/webgen/website_bundles/style/andreas00/src/images/front.jpg +0 -0
  86. data/data/webgen/website_bundles/style/andreas00/src/images/menubg.gif +0 -0
  87. data/data/webgen/website_bundles/style/andreas00/src/images/menubg2.gif +0 -0
  88. data/data/webgen/website_bundles/style/andreas01/README +0 -14
  89. data/data/webgen/website_bundles/style/andreas01/src/default.css +0 -310
  90. data/data/webgen/website_bundles/style/andreas01/src/default.template +0 -62
  91. data/data/webgen/website_bundles/style/andreas01/src/images/bg.gif +0 -0
  92. data/data/webgen/website_bundles/style/andreas01/src/images/front.jpg +0 -0
  93. data/data/webgen/website_bundles/style/andreas01/src/print.css +0 -35
  94. data/data/webgen/website_bundles/style/andreas03/README +0 -14
  95. data/data/webgen/website_bundles/style/andreas03/src/default.css +0 -223
  96. data/data/webgen/website_bundles/style/andreas03/src/default.template +0 -58
  97. data/data/webgen/website_bundles/style/andreas03/src/images/bodybg.png +0 -0
  98. data/data/webgen/website_bundles/style/andreas03/src/images/contbg.png +0 -0
  99. data/data/webgen/website_bundles/style/andreas03/src/images/footerbg.png +0 -0
  100. data/data/webgen/website_bundles/style/andreas03/src/images/gradient1.png +0 -0
  101. data/data/webgen/website_bundles/style/andreas03/src/images/gradient2.png +0 -0
  102. data/data/webgen/website_bundles/style/andreas04/README +0 -15
  103. data/data/webgen/website_bundles/style/andreas04/src/default.css +0 -290
  104. data/data/webgen/website_bundles/style/andreas04/src/default.template +0 -81
  105. data/data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif +0 -0
  106. data/data/webgen/website_bundles/style/andreas04/src/images/bodybg.png +0 -0
  107. data/data/webgen/website_bundles/style/andreas04/src/images/contentbg.png +0 -0
  108. data/data/webgen/website_bundles/style/andreas04/src/images/entrybg.png +0 -0
  109. data/data/webgen/website_bundles/style/andreas04/src/images/flash.gif +0 -0
  110. data/data/webgen/website_bundles/style/andreas04/src/images/flash2.gif +0 -0
  111. data/data/webgen/website_bundles/style/andreas04/src/images/globe.gif +0 -0
  112. data/data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif +0 -0
  113. data/data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif +0 -0
  114. data/data/webgen/website_bundles/style/andreas04/src/images/menuhover.png +0 -0
  115. data/data/webgen/website_bundles/style/andreas05/README +0 -14
  116. data/data/webgen/website_bundles/style/andreas05/src/default.css +0 -33
  117. data/data/webgen/website_bundles/style/andreas05/src/default.template +0 -40
  118. data/data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif +0 -0
  119. data/data/webgen/website_bundles/style/andreas05/src/images/front.png +0 -0
  120. data/data/webgen/website_bundles/style/andreas06/README +0 -14
  121. data/data/webgen/website_bundles/style/andreas06/src/default.css +0 -356
  122. data/data/webgen/website_bundles/style/andreas06/src/default.template +0 -70
  123. data/data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif +0 -0
  124. data/data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif +0 -0
  125. data/data/webgen/website_bundles/style/andreas06/src/images/greypx.gif +0 -0
  126. data/data/webgen/website_bundles/style/andreas06/src/images/header.jpg +0 -0
  127. data/data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif +0 -0
  128. data/data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg +0 -0
  129. data/data/webgen/website_bundles/style/andreas06/src/images/tabs.gif +0 -0
  130. data/data/webgen/website_bundles/style/andreas07/README +0 -15
  131. data/data/webgen/website_bundles/style/andreas07/src/browserfix.css +0 -7
  132. data/data/webgen/website_bundles/style/andreas07/src/default.css +0 -92
  133. data/data/webgen/website_bundles/style/andreas07/src/default.template +0 -42
  134. data/data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif +0 -0
  135. data/data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif +0 -0
  136. data/data/webgen/website_bundles/style/andreas08/README +0 -14
  137. data/data/webgen/website_bundles/style/andreas08/src/default.css +0 -224
  138. data/data/webgen/website_bundles/style/andreas08/src/default.template +0 -51
  139. data/data/webgen/website_bundles/style/andreas09/README +0 -14
  140. data/data/webgen/website_bundles/style/andreas09/src/default.css +0 -308
  141. data/data/webgen/website_bundles/style/andreas09/src/default.template +0 -68
  142. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg +0 -0
  143. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg +0 -0
  144. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg +0 -0
  145. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg +0 -0
  146. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg +0 -0
  147. data/data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg +0 -0
  148. data/data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg +0 -0
  149. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg +0 -0
  150. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg +0 -0
  151. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg +0 -0
  152. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg +0 -0
  153. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg +0 -0
  154. data/data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg +0 -0
  155. data/data/webgen/website_bundles/style/simple/README +0 -6
  156. data/data/webgen/website_bundles/style/simple/src/default.css +0 -84
  157. data/data/webgen/website_bundles/style/simple/src/default.template +0 -36
@@ -1,6 +0,0 @@
1
- description:
2
- This is the default website bundle. It only contains a sample index page so that something is
3
- shown after a new website is created.
4
-
5
- author:
6
- Thomas Leitner
@@ -1,15 +0,0 @@
1
- ---
2
- title: Empty Index Page
3
- in_menu: true
4
- routed_title: New webgen Website
5
- ---
6
- ## Welcome to *webgen*!
7
-
8
- This is just a place holder for the start page for your new website!
9
-
10
- You can start by adjusting the meta information for this page file and adding some real content and
11
- then adding some more page files!
12
-
13
- For more information about webgen have a look at the [documentation]!
14
-
15
- [documentation]: http://webgen.rubyforge.org/documentation/index.html
@@ -1,13 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. Features a simple blue and grey
3
- two column interface, with a left or a right sidebar. Have a look at the homepage
4
- to see the original template and what can be done with it.
5
-
6
- author:
7
- Andreas Viklund (adapted for webgen by Thomas Leitner)
8
-
9
- copyright:
10
- http://andreasviklund.com/about/copyright/
11
-
12
- homepage:
13
- http://andreasviklund.com/templates
@@ -1,188 +0,0 @@
1
- /* 1024px - An open source xhtml/css website template by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer.
2
-
3
- Version: 1.2, April 20, 2006 */
4
-
5
- /******** General tags ********/
6
- body{
7
- font:76% Verdana,Tahoma,Arial,sans-serif;
8
- background:#ffffff url(images/background.gif) top center repeat-y;
9
- color:#404040;
10
- line-height:1.2em;
11
- margin:0 auto;
12
- padding:0;
13
- }
14
-
15
- a, #sidebar #menu span {
16
- text-decoration:none;
17
- color:#4088b8;
18
- font-weight:bold;
19
- }
20
-
21
- a:hover{text-decoration:underline;}
22
- a img{border:0;}
23
- p{margin:0 0 18px 10px;}
24
- ul,ol,dl{font-size:0.9em; margin:2px 0 16px 35px;}
25
- ul ul,ol ol{margin:4px 0 4px 35px;}
26
-
27
- h1{
28
- font-size:4.2em;
29
- letter-spacing:-5px;
30
- margin:0 0 30px 25px;
31
- color:#4088b8;
32
- }
33
-
34
- h1 a{text-transform:none; color:#4088b8;}
35
-
36
- h2{
37
- font-size:1.4em;
38
- color:#4088b8;
39
- border-bottom:4px solid #dadada;
40
- padding:0 2px 2px 5px;
41
- margin:0 0 10px 0;
42
- letter-spacing:-1px;
43
- }
44
-
45
- h3{
46
- font-size:1.2em;
47
- font-weight:bold;
48
- color:#4088b8;
49
- border-bottom:1px solid #dadada;
50
- margin:10px 0 8px 0;
51
- padding:1px 2px 2px 3px;
52
- }
53
-
54
- blockquote{
55
- font-size:0.9em;
56
- border:1px solid #dadada;
57
- margin:20px 10px;
58
- padding:8px;
59
- }
60
-
61
- /******** Main wrap ********/
62
- #wrap{
63
- color:#404040;
64
- width:970px;
65
- margin:10px auto;
66
- padding:0;
67
- }
68
-
69
- #header{margin:0;}
70
-
71
- #header h1 {margin-top: -30px}
72
-
73
- #toplinks{text-align:right; padding:5px 2px 2px 3px;}
74
-
75
- #slogan{
76
- font-size:1.5em;
77
- color:#808080;
78
- font-weight:bold;
79
- letter-spacing:-1px;
80
- margin:15px 0px 20px 35px;
81
- line-height:1.2em;
82
- }
83
-
84
- /******** sidebar ********/
85
- #sidebar{
86
- float:left;
87
- width:195px;
88
- margin:0 0 5px 0;
89
- padding:1px 0 0 0;
90
- }
91
-
92
- #sidebar ul{
93
- list-style:none;
94
- font-size:0.9em;
95
- margin:0;
96
- padding:0 0 15px 10px;
97
- }
98
-
99
- #sidebar li{
100
- list-style:none;
101
- margin:0 0 4px 0;
102
- padding:0;
103
- }
104
-
105
- #sidebar li a, #sidebar li span {
106
- font-size:1.2em;
107
- font-weight:bold;
108
- padding:2px;
109
- }
110
-
111
- #sidebar ul ul{
112
- margin:4px 0 3px 15px;
113
- line-height:1.2em;
114
- padding:0;
115
- }
116
-
117
- #sidebar ul ul li a, #sidebar ul ul li span {font-weight:normal;}
118
- #sidebar h2{margin:3px 0px 8px 0px;}
119
-
120
- /******** Content variations ********/
121
- #content{
122
- line-height:1.5em;
123
- width:750px;
124
- float:right;
125
- text-align:left;
126
- margin:0;
127
- padding:0;
128
- }
129
-
130
- #contentalt{
131
- line-height:1.5em;
132
- width:750px;
133
- float:left;
134
- text-align:left;
135
- padding:0;
136
- margin-right:20px;
137
- }
138
-
139
- #content h3, #contentalt h3{margin:10px 0 8px;}
140
-
141
- /******** Footer ********/
142
- #footer{
143
- clear:both;
144
- text-align:right;
145
- color:#808080;
146
- font-size:0.9em;
147
- border-top:4px solid #dadada;
148
- margin:0 auto;
149
- padding:8px 0;
150
- line-height:1.6em;
151
- }
152
-
153
- #footer p{margin:0; padding:0;}
154
- #footer a{color:#808080;}
155
-
156
- /******** Various classes ********/
157
- .box{
158
- color:#ffffff;
159
- font-size:0.9em;
160
- background-color:#4088b8;
161
- border:1px solid #c8c8c8;
162
- line-height:1.3em;
163
- padding:5px 5px 5px 8px;
164
- }
165
-
166
- .box a{color:#f0f0f0;}
167
- .left{float:left; margin:0 15px 4px 0;}
168
- .right{float:right; margin:0 0 4px 15px;}
169
- .textright{text-align:right;}
170
- .readmore{text-align:right; margin:-10px 10px 12px 0;}
171
-
172
- .center{text-align:center;}
173
- .blue{color:#4088b8;}
174
- .big{font-size:1.3em;}
175
- .small{font-size:0.8em;}
176
- .bold{font-weight:bold;}
177
-
178
- .clear{clear:both;}
179
- .hide{display:none;}
180
- .fade{color:#c8c8c8;}
181
- .gray{color:#808080;}
182
-
183
- .photo{
184
- border:1px solid #bababa;
185
- padding:2px;
186
- background-color:#ffffff;
187
- margin:6px 18px 2px 5px;
188
- }
@@ -1,60 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
4
- <head>
5
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
- <meta name="description" content="Your description goes here..." />
7
- <meta name="keywords" content="your,keywords,goes,here" />
8
- <meta name="author" content="Your Name / Design by Andreas Viklund - http://andreasviklund.com/" />
9
- <meta name="generator" content="webgen - http://webgen.rubyforge.com/" />
10
- <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" media="screen,projection" />
11
- <title>{title: }</title>
12
- </head>
13
-
14
- <body>
15
- <div id="wrap">
16
-
17
- <div id="header">
18
- <p id="toplinks">Skip to: <a href="#content">Content</a> | <a href="#sidebar">Navigation</a> | <a href="#footer">Footer</a><br />
19
- Location: {breadcrumb_trail: }<br />
20
- Language: {langbar: }
21
- </p>
22
- <h1><a href="{relocatable: /index.html}">Title<span class="fade">appendix</span></a></h1>
23
- <p id="slogan">the slogan of the site...</p>
24
- </div>
25
-
26
- <div id="content">
27
- <webgen:block name="content" />
28
-
29
- <p class="readmore"><a href="styles.html">Example "Read more" link</a> &raquo;</p>
30
- <p class="box"><strong>Example Note:</strong>This is a note! Check out the CSS file for other CSS classes and styles included!</p>
31
- </div>
32
-
33
- <div id="sidebar">
34
- <h2>Welcome!</h2>
35
- <p>Write a short presentation of yourself or the site right here!</p>
36
-
37
- <h2>Pages:</h2>
38
- <div id="menu">{menu: {max_levels: 2, used_nodes: files}}</div>
39
-
40
- <h2>Site news:</h2>
41
- <p><strong>09.09.2009</strong><br />
42
- Something will have happened by then.</p>
43
-
44
- <h2>Links:</h2>
45
- <ul class="links">
46
- <li><a href="http://webgen.rubyforge.org/">webgen homepage</a></li>
47
- <li><a href="http://andreasviklund.com/templates/">Free templates</a></li>
48
- <li><a href="http://openwebdesign.org">Open Webdesign</a></li>
49
- <li><a href="http://oswd.org">OSWD.org</a></li>
50
- </ul>
51
- </div>
52
-
53
- <div id="footer">
54
- <p><a href="#">Contact us</a> | <a href="#">Privacy policy</a> | <a href="#">Sitemap</a> | <a href="#">RSS</a> | <a href="#header">Back to top</a><br />
55
- &copy; 2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com/">Andreas Viklund</a></p>
56
- </div>
57
-
58
- </div>
59
- </body>
60
- </html>
@@ -1,13 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. Features a one-, two- or three-column
3
- interface in white and grey with many predefined styles for menus, tables, forms, ... Have
4
- a look at the homepage to see the original template and what can be done with it.
5
-
6
- author:
7
- Andreas Viklund (adapted for webgen by Thomas Leitner)
8
-
9
- copyright:
10
- http://andreasviklund.com/about/copyright/
11
-
12
- homepage:
13
- http://andreasviklund.com/templates
@@ -1,290 +0,0 @@
1
- /* andreas00 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
2
- Version: 1.1 (Apr 20, 2006) */
3
-
4
- /***** Body and main container *****/
5
-
6
- body {
7
- margin:0 auto;padding:0;font:76% Verdana,Tahoma,Arial,sans-serif;background:#eaeaea url(images/bg.gif) top center repeat-y;color:#3a3a3a;
8
- }
9
-
10
- #wrap {
11
- background-color:#ffffff;color:#303030;margin:0 auto;padding:1px 5px;width:760px;
12
- }
13
-
14
- /***** Header *****/
15
-
16
- #header {
17
- color:#505050;background:#ffffff url(images/front.jpg) bottom left no-repeat;height:250px;margin:0 0 10px 0;padding:0;
18
- }
19
-
20
- #header h1 {
21
- font-size:2.5em;font-weight:normal;letter-spacing:-2px;margin:0 0 4px 15px;padding:15px 0 0 0;
22
- }
23
-
24
- #header h1 a,#header h1 a:hover {
25
- padding:0;
26
- }
27
-
28
- #header p {
29
- font-size:1.1em;letter-spacing:-1px;margin:0 0 20px 15px;padding:0 0 0 3px;
30
- }
31
-
32
- /***** Left sidebar *****/
33
-
34
- #avmenu {
35
- clear:left;float:left;width:150px;margin:0 0 10px 0;padding:0;
36
- }
37
-
38
- #avmenu ul {
39
- list-style:none;width:150px;margin:0 0 20px 0;padding:0;
40
- }
41
-
42
- #avmenu li {
43
- margin-bottom:5px;
44
- }
45
-
46
- #avmenu li a, #avmenu li span {
47
- font-weight:bold;height:20px;text-decoration:none;color:#505050;display:block;padding:6px 0 0 10px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;
48
- }
49
-
50
- #avmenu li a:hover, #avmenu li a.current, #avmenu li.webgen-menu-item-selected a, #avmenu li.webgen-menu-item-selected span {
51
- background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;border-top:1px solid #b0b0b0;border-right:1px solid #b0b0b0;border-bottom:1px solid #b0b0b0;border-left:4px solid #505050;
52
- }
53
-
54
- #avmenu ul ul {
55
- margin:5px 0 5px 15px;font-size:0.9em;width:135px;
56
- }
57
-
58
- #avmenu ul ul a {
59
- height:16px;margin:0;padding:4px 0 0 8px;
60
- }
61
-
62
- #avmenu h2 {
63
- font-size:1.5em;font-weight:normal;
64
- }
65
-
66
- /***** Right sidebar *****/
67
-
68
- #extras {
69
- float:right;width:130px;margin:0 0 10px 0;padding:0;font-size:0.9em;
70
- }
71
-
72
- #extras p, #extras ul {
73
- margin:0 0 1.5em 0;line-height:1.3em;padding:0;
74
- }
75
-
76
- #extras a {
77
- font-weight:bold;
78
- }
79
-
80
- #extras li {
81
- list-style:none;margin:0 0 6px 0;padding:0;
82
- }
83
-
84
- #extras h2 {
85
- font-size:1.6em;font-weight:normal;margin:0 0 6px 0;;letter-spacing:-1px;
86
- }
87
-
88
- /***** Main content *****/
89
-
90
- #content {
91
- margin:10px 140px 10px 160px;padding:0;line-height:1.5em;text-align:left;
92
- }
93
-
94
- #contentwide {
95
- margin:10px 0 10px 160px;padding:0;line-height:1.5em;text-align:left;
96
- }
97
-
98
- #contentfull {
99
- margin:10px 10px 10px 10px;padding:2px 0 0 0;line-height:1.5em;text-align:left;
100
- }
101
-
102
- #content h2, #contentwide h2, #contentfull h2 {
103
- font-size:1.8em;letter-spacing:-1px;font-weight:normal;margin:8px 0 10px 0;padding:0;
104
- }
105
-
106
- #content h3, #contentwide h3, #contentfull h3 {
107
- font-size:1.5em;font-weight:normal;margin:6px 0 6px 0;padding:0;
108
- }
109
-
110
- #content img, #contentwide img, #contentfull img {
111
- padding:1px;display:inline;background:#cccccc;color:#303030;border:4px solid #f0f0f0;
112
- }
113
-
114
- #content a, #contentwide a, #contentfull a {
115
- font-weight:bold;
116
- }
117
-
118
- #content ul, #content ol,
119
- #contentwide ul, #contentwide ol,
120
- #contentfull ul, #contentfull ol {
121
- margin:0 0 16px 20px;
122
- padding:0;
123
- }
124
-
125
- #content ul ul, #content ol ol,
126
- #contentwide ul ul, #contentwide ol ol,
127
- #contentfull ul ul, #contentfull ol ol {
128
- margin:2px 0 2px 20px;
129
- }
130
-
131
- #content li, #contentwide li, #contentfull li {
132
- margin:0 0 2px 10px;
133
- padding:0 0 0 4px;
134
- }
135
-
136
- /***** Footer *****/
137
-
138
- #footer {
139
- clear:both;margin:0 auto;padding:8px 0;border-top:2px solid #dadada;width:760px;text-align:center;color:#808080;background-color:#ffffff;font-size:0.9em;
140
- }
141
-
142
- #footer p {
143
- padding:0;margin:0;
144
- }
145
-
146
- #footer a {
147
- color:#808080;background-color:inherit;text-decoration:none;
148
- }
149
-
150
- #footer a:hover {
151
- text-decoration:underline;
152
- }
153
-
154
- /***** Various tags *****/
155
-
156
- a {
157
- text-decoration:none;color:#505050;background-color:inherit;
158
- }
159
-
160
- a:hover {
161
- text-decoration:underline;color:#286ea0;background-color:inherit;
162
- }
163
-
164
- a img {
165
- border:0;
166
- }
167
-
168
- p {
169
- margin:0 0 16px 0;
170
- }
171
-
172
- blockquote {
173
- border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:16px;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;
174
- }
175
-
176
- blockquote p {
177
- font-size:1.1em;line-height:1.3em;margin:0;
178
- }
179
-
180
- /***** Table styles *****/
181
-
182
- table {
183
- margin:0 0 16px 0;padding:0;line-height:1.3em;border-collapse:collapse;border:1px solid #d8d8d8;
184
- }
185
-
186
- caption {
187
- text-align:left;font-size:1.5em;font-weight:normal;margin:0;padding:6px 0 8px 0;
188
- }
189
-
190
- th {
191
- padding:7px;text-align:left;background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;color:#505050;
192
- }
193
-
194
- td {
195
- padding:7px;font-size:0.9em;text-align:left;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#303030;
196
- }
197
-
198
- /***** Form styles *****/
199
-
200
- .button {
201
- border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;margin:0 0 15px 0;padding:7px 7px 7px 11px;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;color:#505050;font-weight:bold;width:120px;
202
- }
203
-
204
- input, textarea {
205
- border:1px solid #cccccc;font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:1em;margin:0;padding:4px;
206
- }
207
-
208
- label {
209
- margin:2px;
210
- }
211
-
212
- input {
213
- width:200px;
214
- }
215
-
216
- textarea {
217
- width:400px;
218
- }
219
-
220
- /***** Search box *****/
221
-
222
- #searchbox {
223
- padding:0;margin:6px 0 16px 0;
224
- }
225
-
226
- #searchform {
227
- background:#ffffff;border:1px solid #cccccc;color:#505050;font-size:0.9em;padding:4px;width:116px;
228
- }
229
-
230
- #searchbox label {
231
- display:none;
232
- }
233
-
234
- /***** Various classes *****/
235
-
236
- .left {
237
- margin:10px 10px 5px 0;float:left;
238
- }
239
-
240
- .right {
241
- margin:10px 0 5px 10px;float:right;
242
- }
243
-
244
- .announce {
245
- margin:10px 0 10px 0;padding:10px 10px 5px 10px;width:105px;color:#505050;background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;border-left:4px solid #cccccc;line-height:1.3em;
246
- }
247
-
248
- .announce a {
249
- font-weight:bold;
250
- }
251
-
252
- .announce p {
253
- font-size:0.9em;
254
- }
255
-
256
- .announce h2 {
257
- margin:0 0 10px 0;padding:0;
258
- }
259
-
260
- #avmenu .announce {
261
- width:125px;
262
- }
263
-
264
- .textright {
265
- text-align:right;margin:-10px 0 4px 0;
266
- }
267
-
268
- .center {
269
- text-align:center;
270
- }
271
-
272
- .small {
273
- font-size:0.8em;
274
- }
275
-
276
- .large {
277
- font-size:1.3em;
278
- }
279
-
280
- .bold {
281
- font-weight:bold;
282
- }
283
-
284
- .highlighted {
285
- padding:3px;background-color:#f0f0f0;color:#303030;border:1px solid #b0b0b0;
286
- }
287
-
288
- .hide {
289
- display:none;
290
- }