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,81 +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 type="text/css" rel="stylesheet" href="{relocatable: default.css}" media="screen,projection" />
11
- <title>{title:}</title>
12
- </head>
13
-
14
- <body>
15
- <div id="container">
16
- <div id="sitetitle">
17
- <h1><a href="index.html">website title</a></h1>
18
- <h2>your slogan here</h2>
19
- </div>
20
-
21
- <div id="menu">
22
- {menu: {max_levels: 1, used_nodes: files}}
23
- </div>
24
-
25
- <div id="content">
26
- <div id="left">
27
- <div class="entry">
28
- <webgen:block name="content" />
29
- <p class="meta"><span class="date">July 15, 2006</span> Posted by Andreas | Tags: Design, XHTML, CSS | 19 comments</p>
30
- </div>
31
- </div>
32
-
33
- <div id="right">
34
- <h2>Wait, what's this?</h2>
35
- <p class="intro">Here goes the description of your website or blog</p>
36
-
37
- <h2>Latest photos</h2>
38
- <p class="thumbs">
39
- Here could be some fotos
40
- </p>
41
-
42
- <div class="subcontainer">
43
- <div class="rightsub">
44
- <h2>Popular tags</h2>
45
- <a class="link" href="index.html">XHTML</a><br class="hide" />
46
- <a class="link" href="index.html">Music</a><br class="hide" />
47
- <a class="link" href="index.html">Podcast</a><br class="hide" />
48
- <a class="link" href="index.html">Photos</a><br class="hide" />
49
- <a class="link" href="index.html">CSS</a><br class="hide" />
50
- <a class="link" href="index.html">Webdesign</a><br class="hide" />
51
-
52
- <h2>RSS Feeds</h2>
53
- <a class="link" href="index.html">Blog entries</a><br class="hide" />
54
- <a class="link" href="index.html">Comments</a><br class="hide" />
55
- <a class="link" href="index.html">Podcasts</a><br class="hide" />
56
- </div>
57
-
58
- <div class="rightsub2">
59
- <h2>Latest entries</h2>
60
- <a class="link" href="index.html">With a touch fr...</a><br class="hide" />
61
- <a class="link" href="index.html">Open source</a><br class="hide" />
62
- <a class="link" href="index.html">Hello world!</a><br class="hide" />
63
-
64
- <h2>Favorite links</h2>
65
- <a class="link" href="http://webgen.rubyforge.org">webgen homepage</a><br class="hide" />
66
- <a class="link" href="http://andreasviklund.com/templates/">Free templates</a><br class="hide" />
67
- <a class="link" href="http://openwebdesign.org">Open Web Design</a><br class="hide" />
68
- <a class="link" href="http://oswd.org">OSWD.org</a><br class="hide" />
69
- </div>
70
- </div>
71
- </div>
72
-
73
- <div id="footer">
74
- <h2 class="hide">Site info</h2>
75
- <span>your slogan here again maybe</span><br />
76
- &copy; 2005 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a> | <a href="http://validator.w3.org/check?uri=referer">XHTML</a> / <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> / AA / 508
77
- </div>
78
- </div>
79
- </div>
80
- </body>
81
- </html>
@@ -1,14 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. Simplicity is the main feature of this design.
3
- No advanced features and no effects are used which makes it great for small sites.
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,33 +0,0 @@
1
- /* andreas05 - 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
- Version: 2.0, July 15, 2006 */
3
-
4
- /* General tags */
5
- *{margin:0; padding:0;}
6
- body{background:#ccc url(images/bodybg.gif) repeat; font:76% verdana,tahoma,sans-serif;}
7
- a{background-color:inherit; color:#286ea0; font-weight:bold; text-decoration:none;}
8
- a:hover{text-decoration:underline;}
9
- p{margin:0 0 16px 0;}
10
- ul, ol{margin:0 0 16px 15px; padding-left:5px;}
11
- ul ul, ol ol{margin:3px 0 0 15px;}
12
- img{float:left; margin:0 10px 5px 0;}
13
-
14
- /* Headers */
15
- h1{color:#555; font-size:3.6em; letter-spacing:-3px; margin:0; text-align:right;}
16
- h2{font-size:1.6em; font-weight:normal; letter-spacing:-1px; margin:5px 0 10px;}
17
-
18
- /* IDs */
19
- #title{margin:20px auto -9px; width:700px;}
20
- #container{background:#fff url(images/front.png) bottom left no-repeat; border:20px solid #555; color:#555; margin:0 auto 15px; padding:10px; width:700px; line-height:1.3em;}
21
- #sidebar{float:left; padding-left:175px; width:110px;}
22
- #sidebar p{margin:10px 0 5px 0; text-align:center; font-size:0.8em;}
23
- #main{float:right; width:385px;}
24
- #footer{clear:both;}
25
-
26
- /* Menu */
27
- #sidebar #menu ul {list-style-type: none; margin: 0px; padding: 0px;}
28
- #sidebar #menu a, #sidebar #menu span {border:1px solid #ffffff; color:#286ea0; display:block; font-size:1.1em; font-weight:bold; padding:4px 2px 4px 10px; width:110px;}
29
- #sidebar #menu a:hover, #sidebar .webgen-menu-item-selected a, #sidebar .webgen-menu-item-selected span {background-color:#f8f8f8; border:1px solid #dadada; color:#286ea0; text-decoration:none;}
30
-
31
- /* Various classes */
32
- .credits{color:#888; font-size:0.9em; margin-bottom:0;}
33
- .credits a{color:#888;}
@@ -1,40 +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="en">
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" type="text/css" href="{relocatable: default.css}" />
11
- <title>{title:}</title>
12
- </head>
13
-
14
- <body>
15
- <div id="title"><h1>Site Title</h1></div>
16
- <div id="container">
17
- <div id="sidebar">
18
-
19
- <h2>Site menu</h2>
20
- <div id="menu">{menu: {max_levels: 1, used_nodes: files}}</div>
21
-
22
- <p class="sidenote">
23
- Links:<br />
24
- <a href="http://webgen.rubyforge.org">webgen homepage</a><br />
25
- <a href="http://andreasviklund.com/templates">More templates</a><br />
26
- <a href="http://openwebdesign.org">OWD</a><br />
27
- <a href="http://oswd.org">OSWD</a>
28
- </p>
29
-
30
- </div>
31
-
32
- <div id="main">
33
- <webgen:block name="content" />
34
- <p class="credits"><strong>&copy; 2005 Your name</strong> | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com/">Andreas Viklund</a></p>
35
- </div>
36
-
37
- <div id="footer"></div>
38
- </div>
39
- </body>
40
- </html>
@@ -1,14 +0,0 @@
1
- description:
2
- Open source web design template by Andreas Viklund. A fall/autumn design in orange and blue
3
- with menu tabs and many in-built styles to use.
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,356 +0,0 @@
1
- /* andreas06 - 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
- body{
6
- background:#e0e0e0 url(images/bodybg.gif) repeat-x;
7
- color:#505050;
8
- font:76% Georgia,Verdana,Tahoma,Arial,sans-serif;
9
- margin:0;
10
- padding:0;
11
- text-align:center;
12
- }
13
-
14
- p{
15
- line-height:1.5em;
16
- margin:0 0 15px;
17
- }
18
-
19
- a{
20
- color:#fa9035;
21
- font-weight:700;
22
- text-decoration:none;
23
- }
24
-
25
- a:hover{
26
- color:#d04a10;
27
- }
28
-
29
- hr{
30
- height:1px;
31
- margin:10px 0;
32
- width:98%;
33
- }
34
-
35
- dt{
36
- font-weight:700;
37
- }
38
-
39
- dd{
40
- margin:1px 0 12px 15px;
41
- }
42
-
43
- #container{
44
- background:#c0c0c0 url(images/bodybg.gif) repeat-x;
45
- margin:0 auto;
46
- text-align:left;
47
- width:752px;
48
- }
49
-
50
- #sitename{
51
- background:url(images/leaves.jpg) top center no-repeat;
52
- color:#ffffff;
53
- font-weight:400;
54
- height:80px;
55
- margin:0 20px 10px 0;
56
- text-align:center;
57
- }
58
-
59
- #sitename h1{
60
- font-size:2.2em;
61
- margin:0;
62
- padding-top:20px;
63
- }
64
-
65
- #sitename span{
66
- font-size:1.6em;
67
- letter-spacing:-1px;
68
- margin:0;
69
- }
70
-
71
- #nav{
72
- background:url(images/greypx.gif) bottom left repeat-x;
73
- float:left;
74
- width:752px;
75
- }
76
-
77
- #nav ul, #nav li{
78
- list-style:none;
79
- margin:0;
80
- padding:0;
81
- }
82
-
83
- #nav a, #nav span {
84
- background:url(images/tabs.gif) no-repeat 100% 0;
85
- color:#808080;
86
- display:block;
87
- font-size:1.2em;
88
- font-weight: 700;
89
- letter-spacing:-1px;
90
- padding:7px 20px 4px 11px;
91
- text-decoration:none;
92
- }
93
-
94
- #nav a:hover{
95
- color:#505050;
96
- }
97
-
98
- #nav li{
99
- background:url(images/tabs.gif) no-repeat 0 0;
100
- float:left;
101
- margin:0 4px 0 0;
102
- padding:0 0 0 9px;
103
- }
104
-
105
- #nav li.webgen-menu-item-selected, #nav li.webgen-menu-submenu-inhierarchy {
106
- background:url(images/tabs.gif) no-repeat 0 -41px;
107
- }
108
-
109
- #nav li.webgen-menu-item-selected a, #nav li.webgen-menu-submenu-inhierarchy a, #nav li.webgen-menu-item-selected span {
110
- background:url(images/tabs.gif) no-repeat 100% -41px;
111
- color:#303030;
112
- padding:7px 20px 5px 11px;
113
- }
114
-
115
- #wrap1{
116
- background:#ffffff url(images/innerbg.gif) repeat-y;
117
- border-bottom:1px solid #808080;
118
- border-left:1px solid #808080;
119
- border-right:1px solid #808080;
120
- clear:both;
121
- padding:0;
122
- width:750px;
123
- }
124
-
125
- #wrap2{
126
- background:url(images/header.jpg) top left no-repeat;
127
- padding:10px;
128
- width:730px;
129
- }
130
-
131
- #header{
132
- height:30px;
133
- position:relative;
134
- width:730px;
135
- }
136
-
137
- #header h1{
138
- float:left;
139
- font-size:1.4em;
140
- margin:0;
141
- width:180px;
142
- }
143
-
144
- #topbox{
145
- color:#808080;
146
- margin:0 0 4px;
147
- text-align:right;
148
- }
149
-
150
- #topbox a{
151
- color:#d04a10;
152
- }
153
-
154
- #topbox a:hover{
155
- text-decoration:underline;
156
- }
157
-
158
- #leftside{
159
- float:left;
160
- margin:-15px 0 0;
161
- width:145px;
162
- }
163
-
164
- #leftside h1{
165
- font-size:1.4em;
166
- font-weight:400;
167
- }
168
-
169
- #rightside{
170
- float:right;
171
- margin:40px 15px 20px 0;
172
- width:130px;
173
- }
174
-
175
- #rightside h1{
176
- font-size:1.4em;
177
- font-weight:400;
178
- margin:0 0 12px;
179
- }
180
-
181
- #rightside p{
182
- font-size:0.9em;
183
- margin:2px 0 12px 10px;
184
- }
185
-
186
- #rightside img{
187
- border:1px solid #fa9035;
188
- margin:10px 0 5px 5px;
189
- padding:2px;
190
- }
191
-
192
- #content{
193
- margin:45px 160px 0 180px;
194
- }
195
-
196
- #contentalt{
197
- margin:45px 15px 0 180px;
198
- }
199
-
200
- #content p,#contentalt p{
201
- margin:8px 0 0 10px;
202
- }
203
-
204
- #content h1,#contentalt h1{
205
- color:#505050;
206
- font-size:2em;
207
- font-weight:400;
208
- margin:15px 0 10px;
209
- padding:0;
210
- }
211
-
212
- #content h2,#contentalt h2{
213
- color:#505050;
214
- font-size:1.5em;
215
- font-weight:400;
216
- margin:20px 0 10px;
217
- padding:0;
218
- }
219
-
220
- #content img,#contentalt img{
221
- border:1px solid #fa9035;
222
- float:left;
223
- margin:5px 15px 6px;
224
- }
225
-
226
- #footer{
227
- clear:both;
228
- color:#a0a0a0;
229
- font-size:0.9em;
230
- height:26px;
231
- margin-top:20px;
232
- padding:1px;
233
- text-align:right;
234
- width:730px;
235
- }
236
-
237
- #footer a{
238
- color:#a0a0a0;
239
- font-weight:400;
240
- }
241
-
242
- #footer a:hover{
243
- color:#a0a0a0;
244
- text-decoration:underline;
245
- }
246
-
247
- .menublock{
248
- margin-bottom:10px;
249
- }
250
-
251
- #leftside #submenu ul {
252
- margin: 0px;
253
- padding: 0px;
254
- list-style-type: none;
255
- }
256
-
257
- #leftside #submenu li {
258
- margin: 0px;
259
- padding: 0px;
260
- }
261
-
262
- .nav, #leftside #submenu ul a, #leftside #submenu ul span {
263
- color:#d04a10;
264
- display:block;
265
- font-size:1.1em;
266
- font-weight:700;
267
- margin-bottom:1px;
268
- padding:2px 2px 2px 10px;
269
- position:relative;
270
- text-decoration:none;
271
- width:125px;
272
- }
273
-
274
- .nav:hover, #leftside #submenu ul a:hover, #leftside #submenu ul span:hover,
275
- #leftside #submenu ul li.webgen-menu-item-selected a, #leftside #submenu ul li.webgen-menu-item-selected span {
276
- border:1px solid #fa9035;
277
- color:#505050;
278
- padding:1px 1px 1px 9px;
279
- }
280
-
281
- .sub, #leftside #submenu ul ul a, #leftside #submenu ul ul span {
282
- font-size:0.9em;
283
- margin-left:20px;
284
- padding:1px 1px 1px 6px;
285
- width:105px;
286
- }
287
-
288
- .sub:hover, #leftside #submenu ul ul a:hover, #leftside #submenu ul ul span:hover,
289
- #leftside #submenu ul ul li.webgen-menu-item-selected a, #leftside #submenu ul ul li.webgen-menu-item-selected span {
290
- border:1px solid #fa9035;
291
- color:#505050;
292
- padding:0 0 0 5px;
293
- }
294
-
295
- .intro{
296
- font-weight:700;
297
- }
298
-
299
- .active{
300
- border:1px solid #fa9035;
301
- padding:1px 1px 1px 9px;
302
- }
303
-
304
- .box{
305
- background:#f8f8f8 url(images/boxbg.gif) top left repeat-y;
306
- border:1px solid #d0d4d4;
307
- color:#505050;
308
- margin:15px auto;
309
- padding:10px 10px 10px 20px;
310
- width:75%;
311
- }
312
-
313
- .photo{
314
- margin:5px auto 15px;
315
- padding:5px;
316
- }
317
-
318
- .smallcaps{
319
- font-variant:small-caps;
320
- }
321
-
322
- .mini{
323
- color:#a0a0a0;
324
- font-size:0.75em;
325
- font-weight:400;
326
- line-height:1.2em;
327
- margin:20px 0 10px 8px;
328
- }
329
-
330
- .small{
331
- font-size:0.85em;
332
- }
333
-
334
- .large{
335
- font-size:1.4em;
336
- }
337
-
338
- .soft{
339
- color:#808080;
340
- }
341
-
342
- .normal{
343
- font-weight:400;
344
- }
345
-
346
- .sharp{
347
- color:#101010;
348
- }
349
-
350
- .center{
351
- text-align:center;
352
- }
353
-
354
- .hide{
355
- display:none;
356
- }