webgen 1.0.0.beta2 → 1.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
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,70 +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 / Original design: Andreas Viklund - http://andreasviklund.com/" />
9
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
10
- <link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen,projection" />
11
- <title>{title:}</title>
12
- </head>
13
-
14
- <body>
15
- <div id="container">
16
- <a id="top"></a>
17
- <p class="hide">Skip to: <a href="#menu">site menu</a> | <a href="#sectionmenu">section menu</a> | <a href="#main">main content</a></p>
18
-
19
- <div id="sitename">
20
- <h1>website titel</h1>
21
- <span>your website slogan here</span>
22
- <a id="menu"></a>
23
- </div>
24
-
25
- <div id="nav">
26
- {menu: {max_levels: 1, used_nodes: files}}
27
- <p class="hide"><a href="#top">Back to top</a></p>
28
- </div>
29
-
30
- <div id="wrap1">
31
- <div id="wrap2">
32
-
33
- <div id="topbox">
34
- <strong><span class="hide">Currently viewing: </span>{breadcrumb_trail: {separator: ' &raquo; '}}</strong>
35
- </div>
36
-
37
- <div id="leftside">
38
- <a id="sectionmenu"></a>
39
- <p class="soft">Some text here, maybe a website description</p>
40
- <% if context.node.level > 1 %>
41
- <h1>Site menu:</h1>
42
- <div id="submenu">{menu: {start_level: 2, max_levels: 2}}</div>
43
- <% end %>
44
- </div>
45
-
46
- <div id="rightside">
47
- <h1>Other info:</h1>
48
- <p>Here you can put other information - you can also remove the right sidebar to have a broader main content. See the homepage of the design for more information!</p>
49
-
50
- <h1>Links:</h1>
51
- <p>
52
- <a href="http://webgen.rubyforge.org">webgen homepage</a><br />
53
- <a href="http://andreasviklund.com/templates">Free templates</a><br />
54
- <a href="http://openwebdesign.org">Open Web Design</a><br />
55
- <a href="http://oswd.org">OSWD.org</a><br />
56
- </p>
57
- </div>
58
-
59
- <a id="main"></a>
60
- <div id="content">
61
- <webgen:block name="content" />
62
- <p class="hide"><a href="#top">Back to top</a></p>
63
- </div>
64
- </div>
65
-
66
- <div id="footer">&copy; 2005 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></div>
67
- </div>
68
- </div>
69
- </body>
70
- </html>
@@ -1,15 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. A very simple design with minimalistic use
3
- of .classes or IDs in the CSS file. Uses a fixed position site menu, good for small or personal
4
- sites.
5
- Have a look at the available styles in the CSS file and visit the homepage to see the original
6
- template and what can be done with it.
7
-
8
- author:
9
- Andreas Viklund (adapted for webgen by Thomas Leitner)
10
-
11
- copyright:
12
- http://andreasviklund.com/about/copyright/
13
-
14
- homepage:
15
- http://andreasviklund.com/templates
@@ -1,7 +0,0 @@
1
- /**************** IE fixes ****************/
2
-
3
- html
4
- {overflow:hidden;}
5
-
6
- body
7
- {height:100%; width:100%; overflow:auto;}
@@ -1,92 +0,0 @@
1
- /* andreas07 - 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 for the original design work.
2
-
3
- Version: 1.1, November 28, 2005 */
4
-
5
- /**************** Page and tag styles ****************/
6
-
7
- body
8
- {margin:0; padding:0; color:#303030; background:#fafafa url(images/bodybg.gif) top left repeat-y; font:76% Verdana,Tahoma,sans-serif;}
9
-
10
- ul
11
- {list-style:circle; margin:15px 0 20px 0; font-size:0.9em;}
12
-
13
- li
14
- {margin:0 0 8px 25px;}
15
-
16
- a
17
- {color:#d85d5d; font-weight:bold; text-decoration:none;}
18
-
19
- a:hover
20
- {color:#505050; text-decoration:underline;}
21
-
22
- img
23
- {float:left; margin:0 15px 15px 0; padding:1px; background:#ffffff; border:1px solid #d0d0d0;}
24
-
25
- a img
26
- {border-color:#d85d5d;}
27
-
28
- a img:hover
29
- {background:#d85d5d; border-color:#d85d5d;}
30
-
31
- /**************** Sidebar area styles ****************/
32
-
33
- #sidebar
34
- {position:absolute; top:0; left:0; width:220px; height:100%; overflow:auto; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; text-align:right;}
35
-
36
- body > #sidebar
37
- {position:fixed;}
38
-
39
- #sidebar h1
40
- {margin:20px 18px 0 5px; color:#d85d5d; font-size:1.6em; letter-spacing:-2px; text-align:right;}
41
-
42
- #sidebar h2, #sidebar h3
43
- {margin:0 20px 18px 5px; color:#808080; font-size:1.1em; font-weight:bold; letter-spacing:-1px; text-align:right;}
44
-
45
- #sidebar h3
46
- {margin:20px 18px 4px 5px; color:#606060;}
47
-
48
- #sidebar p
49
- {margin:0 20px 18px 5px; color:#606060; font-size:0.8em;}
50
-
51
- #sidebar a
52
- {color:#808080}
53
-
54
- #sidebar ul
55
- {margin-right: 20px; margin-left: 5px; list-style-type: none;}
56
-
57
- #sidebar li
58
- {margin: 0px; padding-left: 5px;}
59
-
60
- /**************** Navigation menu styles ****************/
61
-
62
- #menu ul
63
- {list-style-type: none; margin: 0px; padding: 0px; font-size: 1.0em;}
64
-
65
- #menu li
66
- {margin: 0px; padding: 0px}
67
-
68
- #menu a, #menu span
69
- {display:block; width:202px; padding:5px 18px 5px 0; color:#606060; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; font-size:1.8em; font-weight:normal; text-decoration:none; letter-spacing:-2px;}
70
-
71
- #menu a:hover, #menu span:hover
72
- {color:#303030; background:#f0f0f0 url(images/sidebarbg.gif) top right repeat-y;}
73
-
74
- #menu li.webgen-menu-item-selected a, #menu li.webgen-menu-item-selected span, #menu li.webgen-menu-submenu-inhierarchy span, #menu li.webgen-menu-submenu-inhierarchy a
75
- {padding:5px 18px 5px 0; background:#fafafa; border-top:2px solid #c0c0c0; border-bottom:2px solid #c0c0c0;}
76
-
77
- #menu li.webgen-menu-item-selected a:hover, #menu li.webgen-menu-item-selected span:hover, #menu li.webgen-menu-submenu-inhierarchy span:hover, #menu li.webgen-menu-submenu-inhierarchy a:hover
78
- {color:#505050; background:#fafafa;}
79
-
80
- /**************** Content area styles ****************/
81
-
82
- #content
83
- {width:520px; margin:0 0 0 240px; padding:20px 0; background:#fafafa;}
84
-
85
- #content p
86
- {margin:0 0 20px 0; line-height:1.5em;}
87
-
88
- #content h1
89
- {margin:0; color:#808080; font-weight:normal; font-size:2.5em; letter-spacing:-2px; text-align:center;}
90
-
91
- #content h2
92
- {clear:both; margin:30px 0 10px 0; color:#d85d5d; font-weight:normal; font-size: 2em; letter-spacing:-2px;}
@@ -1,42 +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="description goes here" />
7
- <meta name="keywords" content="keywords,goes,here" />
8
- <meta name="author" content="Your Name" />
9
- <meta name="generator" content="webgen - http://webgen.rubyforge.org" />
10
- <link rel="stylesheet" type="text/css" href="{relocatable: default.css}" />
11
- <!--[if IE 6]>
12
- <link rel="stylesheet" href="{relocatable: browserfix.css}" type="text/css" />
13
- <![endif]-->
14
- <title>{title:}</title>
15
- </head>
16
-
17
- <body>
18
- <div id="sidebar">
19
- <h1>Website Title</h1>
20
- <h2>your website slogan</h2>
21
-
22
- <div id="menu">
23
- {menu: {max_levels: 1, used_nodes: files}}
24
- </div>
25
-
26
- <h3>Links:</h3>
27
- <ul>
28
- <li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
29
- <li><a href="http://andreasviklund.com/templates/">Website templates</a></li>
30
- <li><a href="http://openwebdesign.org/">Open Web Design</a></li>
31
- <li><a href="http://oswd.org/">OSWD.org</a></li>
32
- </ul>
33
- </div>
34
-
35
- <div id="content">
36
- <webgen:block name="content" />
37
-
38
- <h2>site info</h2>
39
- <p>&copy; 2005-2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a>.</p>
40
- </div>
41
- </body>
42
- </html>
@@ -1,14 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. Very simple and basic template without
3
- images in light blue and white.
4
- Have a look at the available styles in the CSS file and visit the homepage to see the original
5
- template and what can be done with it.
6
-
7
- author:
8
- Andreas Viklund (adapted for webgen by Thomas Leitner)
9
-
10
- copyright:
11
- http://andreasviklund.com/about/copyright/
12
-
13
- homepage:
14
- http://andreasviklund.com/templates
@@ -1,224 +0,0 @@
1
- /* andreas08 - an open source xhtml/css website layout 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. Version: 1.0, November 28, 2005 */
2
-
3
- /**************** Body and tag styles ****************/
4
-
5
- *{margin:0; padding:0;}
6
-
7
- body{
8
- font:76% Verdana,Tahoma,Arial,sans-serif;
9
- line-height:1.4em;
10
- text-align:center;
11
- color:#303030;
12
- background:#e8eaec;
13
- }
14
-
15
- a{
16
- color:#467aa7;
17
- font-weight:bold;
18
- text-decoration:none;
19
- background-color:inherit;
20
- }
21
-
22
- a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}
23
- a img{border:none;}
24
-
25
- p{padding:0 0 1.6em 0;}
26
- p form{margin-top:0; margin-bottom:20px;}
27
-
28
- img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;}
29
- img.left{float:left; margin:0 12px 5px 0;}
30
- img.center{display:block; margin:0 auto 5px auto;}
31
- img.right{float:right; margin:0 0 5px 12px;}
32
-
33
- /**************** Header and navigation styles ****************/
34
-
35
- #container{
36
- width:760px;
37
- margin:20px auto;
38
- padding:1px 0;
39
- text-align:left;
40
- background:#ffffff;
41
- color:#303030;
42
- border:2px solid #a0a0a0;
43
- }
44
-
45
- #header{
46
- height:110px;
47
- width:758px;
48
- margin:0 1px 1px 1px;
49
- background:#467aa7;
50
- color:#ffffff;
51
- }
52
-
53
- #header h1{
54
- padding:35px 0 0 20px;
55
- font-size:2.4em;
56
- background-color:inherit;
57
- color:#ffffff;
58
- letter-spacing:-2px;
59
- font-weight:normal;
60
- }
61
-
62
- #header h2{
63
- margin:10px 0 0 40px;
64
- font-size:1.4em;
65
- background-color:inherit;
66
- color:#f0f2f4;
67
- letter-spacing:-1px;
68
- font-weight:normal;
69
- }
70
-
71
- #header a {
72
- text-decoration:none;
73
- color: #ffffff;
74
- }
75
-
76
- #navigation{
77
- height:2.2em;
78
- line-height:2.2em;
79
- width:758px;
80
- margin:0 1px;
81
- background:#578bb8;
82
- color:#ffffff;
83
- }
84
-
85
- #navigation li{
86
- float:left;
87
- list-style-type:none;
88
- border-right:1px solid #ffffff;
89
- white-space:nowrap;
90
- }
91
-
92
- #navigation li a, #navigation li span {
93
- display:block;
94
- padding:0 10px;
95
- font-size:0.8em;
96
- font-weight:normal;
97
- text-transform:uppercase;
98
- text-decoration:none;
99
- background-color:inherit;
100
- color: #ffffff;
101
- }
102
-
103
- * html #navigation a {width:1%;}
104
-
105
- #navigation .webgen-menu-item-selected a, #navigation .webgen-menu-item-selected span, #navigation a:hover {
106
- background:#80b0da;
107
- color:#ffffff;
108
- text-decoration:none;
109
- }
110
-
111
- /**************** Content styles ****************/
112
-
113
- #content{
114
- float:left;
115
- width:530px;
116
- font-size:0.9em;
117
- padding:20px 0 0 20px;
118
- }
119
-
120
- #content h2{
121
- display:block;
122
- margin:0 0 16px 0;
123
- font-size:1.7em;
124
- font-weight:normal;
125
- letter-spacing:-1px;
126
- color:#505050;
127
- background-color:inherit;
128
- }
129
-
130
- #content h2 a{font-weight:normal;}
131
- #content h3{margin:0 0 5px 0; font-size:1.4em; letter-spacing:-1px;}
132
- #content a:hover,#subcontent a:hover{text-decoration:underline;}
133
- #content ul,#content ol{margin:0 5px 16px 35px;}
134
- #content dl{margin:0 5px 10px 25px;}
135
- #content dt{font-weight:bold; margin-bottom:5px;}
136
- #content dd{margin:0 0 10px 15px;}
137
-
138
- /**************** Sidebar styles ****************/
139
-
140
- #subcontent{
141
- float:right;
142
- width:170px;
143
- padding:20px 20px 10px 0;
144
- line-height:1.4em;
145
- }
146
-
147
- #subcontent h2{
148
- display:block;
149
- margin:0 0 15px 0;
150
- font-size:1.6em;
151
- font-weight:normal;
152
- text-align:left;
153
- letter-spacing:-1px;
154
- color:#505050;
155
- background-color:inherit;
156
- }
157
-
158
- #subcontent p{margin:0 0 16px 0; font-size:0.9em;}
159
-
160
- /**************** Menublock styles ****************/
161
-
162
- #subcontent #submenu ul, .linkblock {margin:0 0 20px 8px; font-size:0.9em;}
163
- #subcontent #submenu ul li, .linkblock li {list-style:none; display:block; padding:2px; margin-bottom:2px;}
164
- #subcontent #submenu ul li a, .linkblock li a {font-weight:bold; text-decoration:none;}
165
- #subcontent #submenu ul li a:hover, .linkblock li a:hover {text-decoration:none;}
166
- #subcontent #submenu ul li ul, .linkblock li ul {margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}
167
- #subcontent #submenu ul li ul li, .linkblock li ul li {margin-bottom:0;}
168
- #subcontent #submenu ul li ul a, .linkblock li ul a {font-weight:normal;}
169
-
170
- /**************** Searchbar styles ****************/
171
-
172
- #searchbar{margin:0 0 20px 0;}
173
- #searchbar form fieldset{margin-left:10px; border:0 solid;}
174
-
175
- #searchbar #s{
176
- height:1.2em;
177
- width:110px;
178
- margin:0 5px 0 0;
179
- border:1px solid #a0a0a0;
180
- }
181
-
182
- #searchbar #searchbutton{
183
- width:auto;
184
- padding:0 1px;
185
- border:1px solid #808080;
186
- font-size:0.9em;
187
- text-align:center;
188
- }
189
-
190
- /**************** Footer styles ****************/
191
-
192
- #footer{
193
- clear:both;
194
- width:758px;
195
- padding:5px 0;
196
- margin:0 1px;
197
- font-size:0.9em;
198
- color:#f0f0f0;
199
- background:#467aa7;
200
- }
201
-
202
- #footer p{padding:0; margin:0; text-align:center;}
203
- #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}
204
- #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;}
205
-
206
- /**************** Misc classes and styles ****************/
207
-
208
- .splitcontentleft{float:left; width:48%;}
209
- .splitcontentright{float:right; width:48%;}
210
- .clear{clear:both;}
211
- .small{font-size:0.8em;}
212
- .hide{display:none;}
213
- .textcenter{text-align:center;}
214
- .textright{text-align:right;}
215
- .important{color:#f02025; background-color:inherit; font-weight:bold;}
216
-
217
- .box{
218
- margin:0 0 20px 0;
219
- padding:10px;
220
- border:1px solid #c0c0c0;
221
- background-color:#fafbfc;
222
- color:#505050;
223
- line-height:1.5em;
224
- }