webgen 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +132 -6742
- data/Rakefile +3 -1
- data/THANKS +27 -0
- data/VERSION +1 -1
- data/doc/examples/website_styles/1024px/README +9 -0
- data/doc/examples/website_styles/1024px/config.yaml +2 -0
- data/doc/examples/website_styles/1024px/src/about.page +12 -0
- data/doc/examples/website_styles/1024px/src/default.css +188 -0
- data/doc/examples/website_styles/1024px/src/default.template +62 -0
- data/doc/examples/website_styles/1024px/src/download.page +15 -0
- data/doc/examples/website_styles/1024px/src/features.page +8 -0
- data/doc/examples/website_styles/1024px/src/images/background.gif +0 -0
- data/doc/examples/website_styles/1024px/src/index.page +9 -0
- data/doc/examples/website_styles/1024px/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas00/README +9 -0
- data/doc/examples/website_styles/andreas00/config.yaml +2 -0
- data/doc/examples/website_styles/andreas00/src/about.page +12 -0
- data/doc/examples/website_styles/andreas00/src/default.css +290 -0
- data/doc/examples/website_styles/andreas00/src/default.template +62 -0
- data/doc/examples/website_styles/andreas00/src/download.page +15 -0
- data/doc/examples/website_styles/andreas00/src/features.page +8 -0
- data/doc/examples/website_styles/andreas00/src/images/bg.gif +0 -0
- data/doc/examples/website_styles/andreas00/src/images/front.jpg +0 -0
- data/doc/examples/website_styles/andreas00/src/images/menubg.gif +0 -0
- data/doc/examples/website_styles/andreas00/src/images/menubg2.gif +0 -0
- data/doc/examples/website_styles/andreas00/src/index.page +9 -0
- data/doc/examples/website_styles/andreas00/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas01/README +9 -0
- data/doc/examples/website_styles/andreas01/config.yaml +2 -0
- data/doc/examples/website_styles/andreas01/src/about.page +12 -0
- data/doc/examples/website_styles/andreas01/src/default.css +310 -0
- data/doc/examples/website_styles/andreas01/src/default.template +63 -0
- data/doc/examples/website_styles/andreas01/src/download.page +15 -0
- data/doc/examples/website_styles/andreas01/src/features.page +8 -0
- data/doc/examples/website_styles/andreas01/src/images/bg.gif +0 -0
- data/doc/examples/website_styles/andreas01/src/images/front.jpg +0 -0
- data/doc/examples/website_styles/andreas01/src/index.page +9 -0
- data/doc/examples/website_styles/andreas01/src/print.css +35 -0
- data/doc/examples/website_styles/andreas01/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas03/README +9 -0
- data/doc/examples/website_styles/andreas03/config.yaml +2 -0
- data/doc/examples/website_styles/andreas03/src/about.page +12 -0
- data/doc/examples/website_styles/andreas03/src/default.css +223 -0
- data/doc/examples/website_styles/andreas03/src/default.template +60 -0
- data/doc/examples/website_styles/andreas03/src/download.page +15 -0
- data/doc/examples/website_styles/andreas03/src/features.page +8 -0
- data/doc/examples/website_styles/andreas03/src/images/bodybg.png +0 -0
- data/doc/examples/website_styles/andreas03/src/images/contbg.png +0 -0
- data/doc/examples/website_styles/andreas03/src/images/footerbg.png +0 -0
- data/doc/examples/website_styles/andreas03/src/images/gradient1.png +0 -0
- data/doc/examples/website_styles/andreas03/src/images/gradient2.png +0 -0
- data/doc/examples/website_styles/andreas03/src/index.page +9 -0
- data/doc/examples/website_styles/andreas03/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas04/README +9 -0
- data/doc/examples/website_styles/andreas04/config.yaml +2 -0
- data/doc/examples/website_styles/andreas04/src/about.page +12 -0
- data/doc/examples/website_styles/andreas04/src/default.css +290 -0
- data/doc/examples/website_styles/andreas04/src/default.template +83 -0
- data/doc/examples/website_styles/andreas04/src/download.page +15 -0
- data/doc/examples/website_styles/andreas04/src/features.page +8 -0
- data/doc/examples/website_styles/andreas04/src/images/blinkarrow.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/bodybg.png +0 -0
- data/doc/examples/website_styles/andreas04/src/images/contentbg.png +0 -0
- data/doc/examples/website_styles/andreas04/src/images/entrybg.png +0 -0
- data/doc/examples/website_styles/andreas04/src/images/flash.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/flash2.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/globe.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/globebottom.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/linkarrow.gif +0 -0
- data/doc/examples/website_styles/andreas04/src/images/menuhover.png +0 -0
- data/doc/examples/website_styles/andreas04/src/index.page +9 -0
- data/doc/examples/website_styles/andreas04/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas05/README +9 -0
- data/doc/examples/website_styles/andreas05/config.yaml +2 -0
- data/doc/examples/website_styles/andreas05/src/about.page +12 -0
- data/doc/examples/website_styles/andreas05/src/default.css +33 -0
- data/doc/examples/website_styles/andreas05/src/default.template +42 -0
- data/doc/examples/website_styles/andreas05/src/download.page +15 -0
- data/doc/examples/website_styles/andreas05/src/features.page +8 -0
- data/doc/examples/website_styles/andreas05/src/images/bodybg.gif +0 -0
- data/doc/examples/website_styles/andreas05/src/images/front.png +0 -0
- data/doc/examples/website_styles/andreas05/src/index.page +9 -0
- data/doc/examples/website_styles/andreas05/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas06/README +9 -0
- data/doc/examples/website_styles/andreas06/config.yaml +2 -0
- data/doc/examples/website_styles/andreas06/src/about.page +12 -0
- data/doc/examples/website_styles/andreas06/src/default.css +354 -0
- data/doc/examples/website_styles/andreas06/src/default.template +72 -0
- data/doc/examples/website_styles/andreas06/src/download.page +15 -0
- data/doc/examples/website_styles/andreas06/src/features.page +8 -0
- data/doc/examples/website_styles/andreas06/src/images/bodybg.gif +0 -0
- data/doc/examples/website_styles/andreas06/src/images/boxbg.gif +0 -0
- data/doc/examples/website_styles/andreas06/src/images/greypx.gif +0 -0
- data/doc/examples/website_styles/andreas06/src/images/header.jpg +0 -0
- data/doc/examples/website_styles/andreas06/src/images/innerbg.gif +0 -0
- data/doc/examples/website_styles/andreas06/src/images/leaves.jpg +0 -0
- data/doc/examples/website_styles/andreas06/src/images/tabs.gif +0 -0
- data/doc/examples/website_styles/andreas06/src/index.page +9 -0
- data/doc/examples/website_styles/andreas06/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas07/README +9 -0
- data/doc/examples/website_styles/andreas07/config.yaml +2 -0
- data/doc/examples/website_styles/andreas07/src/about.page +12 -0
- data/doc/examples/website_styles/andreas07/src/browserfix.css +7 -0
- data/doc/examples/website_styles/andreas07/src/default.css +92 -0
- data/doc/examples/website_styles/andreas07/src/default.template +44 -0
- data/doc/examples/website_styles/andreas07/src/download.page +15 -0
- data/doc/examples/website_styles/andreas07/src/features.page +8 -0
- data/doc/examples/website_styles/andreas07/src/images/bodybg.gif +0 -0
- data/doc/examples/website_styles/andreas07/src/images/sidebarbg.gif +0 -0
- data/doc/examples/website_styles/andreas07/src/index.page +9 -0
- data/doc/examples/website_styles/andreas07/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas08/README +9 -0
- data/doc/examples/website_styles/andreas08/config.yaml +2 -0
- data/doc/examples/website_styles/andreas08/src/about.page +12 -0
- data/doc/examples/website_styles/andreas08/src/default.css +224 -0
- data/doc/examples/website_styles/andreas08/src/default.template +53 -0
- data/doc/examples/website_styles/andreas08/src/download.page +15 -0
- data/doc/examples/website_styles/andreas08/src/features.page +8 -0
- data/doc/examples/website_styles/andreas08/src/index.page +9 -0
- data/doc/examples/website_styles/andreas08/src/screenshots.page +18 -0
- data/doc/examples/website_styles/andreas09/README +9 -0
- data/doc/examples/website_styles/andreas09/config.yaml +2 -0
- data/doc/examples/website_styles/andreas09/src/about.page +12 -0
- data/doc/examples/website_styles/andreas09/src/default.css +308 -0
- data/doc/examples/website_styles/andreas09/src/default.template +70 -0
- data/doc/examples/website_styles/andreas09/src/download.page +15 -0
- data/doc/examples/website_styles/andreas09/src/features.page +8 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg-black.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg-green.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg-orange.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg-purple.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg-red.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/bodybg.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/footerbg.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover-black.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover-green.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover-orange.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover-purple.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover-red.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/images/menuhover.jpg +0 -0
- data/doc/examples/website_styles/andreas09/src/index.page +9 -0
- data/doc/examples/website_styles/andreas09/src/screenshots.page +18 -0
- data/doc/examples/website_styles/default/README +9 -0
- data/doc/examples/website_styles/default/config.yaml +2 -0
- data/doc/examples/website_styles/default/src/about.page +12 -0
- data/doc/examples/website_styles/default/src/default.css +84 -0
- data/doc/examples/website_styles/default/src/default.template +38 -0
- data/doc/examples/website_styles/default/src/download.page +15 -0
- data/doc/examples/website_styles/default/src/features.page +8 -0
- data/doc/examples/website_styles/default/src/index.page +9 -0
- data/doc/examples/website_styles/default/src/screenshots.page +18 -0
- data/doc/examples/website_templates/default/README +8 -0
- data/doc/examples/website_templates/default/config.yaml +2 -0
- data/doc/examples/website_templates/default/src/default.css +84 -0
- data/doc/examples/website_templates/default/src/default.template +38 -0
- data/doc/examples/website_templates/default/src/index.page +8 -0
- data/doc/examples/website_templates/personal_hp/README +8 -0
- data/doc/examples/website_templates/personal_hp/config.yaml +2 -0
- data/doc/examples/website_templates/personal_hp/src/about.page +12 -0
- data/doc/examples/website_templates/personal_hp/src/default.css +84 -0
- data/doc/examples/website_templates/personal_hp/src/default.template +38 -0
- data/doc/examples/website_templates/personal_hp/src/index.page +9 -0
- data/doc/examples/website_templates/personal_hp/src/links.page +22 -0
- data/doc/examples/website_templates/personal_hp/src/projects.page +20 -0
- data/doc/examples/website_templates/project/README +9 -0
- data/doc/examples/website_templates/project/config.yaml +2 -0
- data/doc/examples/website_templates/project/src/about.page +12 -0
- data/doc/examples/website_templates/project/src/default.css +84 -0
- data/doc/examples/website_templates/project/src/default.template +38 -0
- data/doc/examples/website_templates/project/src/download.page +15 -0
- data/doc/examples/website_templates/project/src/features.page +8 -0
- data/doc/examples/website_templates/project/src/index.page +9 -0
- data/doc/examples/website_templates/project/src/screenshots.page +18 -0
- data/doc/plugin/gallery/slides/collage.rb +337 -0
- data/doc/src/default.template +12 -5
- data/doc/src/documentation/plugins/contentconverter/maruku.page +23 -0
- data/doc/src/documentation/plugins/menustyle/horizontal.page +4 -0
- data/doc/src/documentation/plugins/tag/htmlmetainfo.page +32 -0
- data/doc/src/documentation/plugins/tag/news.page +48 -0
- data/doc/src/download.page +3 -3
- data/doc/src/examples/example_sites/index.page +4 -0
- data/doc/src/examples/example_sites/personal.zip +0 -0
- data/doc/src/examples/example_sites/photo_gallery.zip +0 -0
- data/doc/src/examples/gallery_styles/default/default.gallery +78 -0
- data/doc/src/examples/gallery_styles/default/gallery_gallery.template +38 -0
- data/doc/src/examples/gallery_styles/default/gallery_image.template +30 -0
- data/doc/src/examples/gallery_styles/default/gallery_main.template +18 -0
- data/doc/src/examples/gallery_styles/index.page +22 -0
- data/doc/src/examples/gallery_styles/slides/gallery_gallery.template +62 -0
- data/doc/src/examples/gallery_styles/slides/gallery_image.template +53 -0
- data/doc/src/examples/gallery_styles/slides/gallery_main.template +32 -0
- data/doc/src/examples/gallery_styles/slides/slides.gallery +79 -0
- data/doc/src/examples/sipttra_styles/default.page +5 -0
- data/doc/src/examples/sipttra_styles/default/css/sipttra.rcss +71 -0
- data/doc/src/examples/sipttra_styles/default/default.template +16 -0
- data/doc/src/examples/sipttra_styles/default/index.todo +60 -0
- data/doc/src/examples/sipttra_styles/default/js/sipttra.js +7 -0
- data/doc/src/examples/sipttra_styles/default/sipttra.template +105 -0
- data/doc/src/examples/sipttra_styles/index.page +17 -0
- data/doc/src/examples/website_styles/1024px.page +5 -0
- data/doc/src/examples/website_styles/andreas00.page +5 -0
- data/doc/src/examples/website_styles/andreas01.page +5 -0
- data/doc/src/examples/website_styles/andreas03.page +5 -0
- data/doc/src/examples/website_styles/andreas04.page +5 -0
- data/doc/src/examples/website_styles/andreas05.page +5 -0
- data/doc/src/examples/website_styles/andreas06.page +5 -0
- data/doc/src/examples/website_styles/andreas07.page +5 -0
- data/doc/src/examples/website_styles/andreas08.page +5 -0
- data/doc/src/examples/website_styles/andreas09.page +5 -0
- data/doc/src/examples/website_styles/default.page +5 -0
- data/doc/src/examples/website_styles/index.page +76 -0
- data/doc/src/examples/website_templates/default.page +5 -0
- data/doc/src/examples/website_templates/index.page +24 -0
- data/doc/src/examples/website_templates/personal_hp.page +5 -0
- data/doc/src/examples/website_templates/project.page +5 -0
- data/doc/src/news.page +24 -0
- data/doc/src/project.todo +34 -0
- data/lib/webgen/config.rb +3 -3
- data/lib/webgen/content.rb +1 -1
- data/lib/webgen/plugins/contentconverters/maruku.rb +33 -0
- data/lib/webgen/plugins/filehandlers/gallery.rb +1 -1
- data/lib/webgen/plugins/filehandlers/template.rb +2 -3
- data/lib/webgen/plugins/menustyles/horizontal.rb +14 -3
- data/lib/webgen/plugins/tags/htmlmetainfo.rb +27 -0
- data/lib/webgen/plugins/tags/news.rb +149 -0
- data/lib/webgen/website.rb +1 -0
- data/test/unittests/tc_config.rb +1 -1
- data/test/unittests/tc_content.rb +8 -0
- data/test/unittests/tc_menustyles_horizontal.rb +49 -3
- metadata +704 -445
- data/data/webgen/website_styles/plain/README +0 -17
- data/data/webgen/website_styles/plain/default.css +0 -244
- data/data/webgen/website_styles/plain/default.template +0 -63
- data/data/webgen/website_styles/plain/images/a_hover.jpg +0 -0
- data/data/webgen/website_styles/plain/images/desc.jpg +0 -0
- data/data/webgen/website_styles/plain/images/li.gif +0 -0
- data/data/webgen/website_styles/plain/images/mainbar.jpg +0 -0
- data/data/webgen/website_styles/plain/images/menu.jpg +0 -0
- data/data/webgen/website_styles/plain/images/submenua.gif +0 -0
- data/data/webgen/website_styles/plain/images/submenua_hover.jpg +0 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
--- content, html
|
2
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
+
<meta name="description" content="your description goes here" />
|
8
|
+
<meta name="keywords" content="your,keywords,goes,here" />
|
9
|
+
<meta name="author" content="Your Name / Original design: Andreas Viklund - http://andreasviklund.com/" />
|
10
|
+
<meta name="generator" content="webgen - http://webgen.rubyforge.org" />
|
11
|
+
<link rel="stylesheet" href="{relocatable: default.css}" type="text/css" media="screen,projection" />
|
12
|
+
<link rel="stylesheet" href="{resource: webgen-css}" type="text/css" />
|
13
|
+
<title>{title:}</title>
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
<div id="container">
|
18
|
+
<a id="top"></a>
|
19
|
+
<p class="hide">Skip to: <a href="#menu">site menu</a> | <a href="#sectionmenu">section menu</a> | <a href="#main">main content</a></p>
|
20
|
+
|
21
|
+
<div id="sitename">
|
22
|
+
<h1>website titel</h1>
|
23
|
+
<span>your website slogan here</span>
|
24
|
+
<a id="menu"></a>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div id="nav">
|
28
|
+
{menu: {menuStyle: vertical, options: {maxLevels: 1}}}
|
29
|
+
<p class="hide"><a href="#top">Back to top</a></p>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div id="wrap1">
|
33
|
+
<div id="wrap2">
|
34
|
+
|
35
|
+
<div id="topbox">
|
36
|
+
<strong><span class="hide">Currently viewing: </span>{breadcrumbTrail: {separator: ' » '}}</strong>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="leftside">
|
40
|
+
<a id="sectionmenu"></a>
|
41
|
+
<p class="soft">Some text here, maybe a website description</p>
|
42
|
+
<% if node.level > 1 %>
|
43
|
+
<h1>Site menu:</h1>
|
44
|
+
{menu: {menuStyle: vertical, options: {startLevel: 2, maxLevels: 2}}}
|
45
|
+
<% end %>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="rightside">
|
49
|
+
<h1>Other info:</h1>
|
50
|
+
<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>
|
51
|
+
|
52
|
+
<h1>Links:</h1>
|
53
|
+
<p>
|
54
|
+
<a href="http://webgen.rubyforge.org">webgen homepage</a><br />
|
55
|
+
<a href="http://andreasviklund.com/templates">Free templates</a><br />
|
56
|
+
<a href="http://openwebdesign.org">Open Web Design</a><br />
|
57
|
+
<a href="http://oswd.org">OSWD.org</a><br />
|
58
|
+
</p>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<a id="main"></a>
|
62
|
+
<div id="content">
|
63
|
+
{block: }
|
64
|
+
<p class="hide"><a href="#top">Back to top</a></p>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<div id="footer">© 2005 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></div>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</body>
|
72
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,92 @@
|
|
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 .webgen-menu ul
|
63
|
+
{list-style-type: none; margin: 0px; padding: 0px; font-size: 1.0em;}
|
64
|
+
|
65
|
+
#menu .webgen-menu li
|
66
|
+
{margin: 0px; padding: 0px}
|
67
|
+
|
68
|
+
#menu .webgen-menu a, #menu .webgen-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 .webgen-menu a:hover, #menu .webgen-menu span:hover
|
72
|
+
{color:#303030; background:#f0f0f0 url(images/sidebarbg.gif) top right repeat-y;}
|
73
|
+
|
74
|
+
#menu .webgen-menu li.webgen-menu-item-selected a, #menu .webgen-menu li.webgen-menu-item-selected span
|
75
|
+
{padding:5px 18px 5px 0; background:#fafafa; border-top:2px solid #c0c0c0; border-bottom:2px solid #c0c0c0;}
|
76
|
+
|
77
|
+
#menu .webgen-menu li.webgen-menu-item-selected a:hover, #menu .webgen-menu li.webgen-menu-item-selected span: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;}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
--- content, html
|
2
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
3
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
7
|
+
<meta name="description" content="description goes here" />
|
8
|
+
<meta name="keywords" content="keywords,goes,here" />
|
9
|
+
<meta name="author" content="Your Name" />
|
10
|
+
<meta name="generator" content="webgen - http://webgen.rubyforge.org" />
|
11
|
+
<link rel="stylesheet" type="text/css" href="{relocatable: default.css}" />
|
12
|
+
<link rel="stylesheet" type="text/css" href="{resource: webgen-css}" />
|
13
|
+
<!--[if IE 6]>
|
14
|
+
<link rel="stylesheet" href="{relocatable: browserfix.css}" type="text/css" />
|
15
|
+
<![endif]-->
|
16
|
+
<title>{title:}</title>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<div id="sidebar">
|
21
|
+
<h1>Website Title</h1>
|
22
|
+
<h2>your website slogan</h2>
|
23
|
+
|
24
|
+
<div id="menu">
|
25
|
+
{menu: {menuStyle: vertical, options: {maxLevels: 1}}}
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<h3>Links:</h3>
|
29
|
+
<ul>
|
30
|
+
<li><a href="http://webgen.rubyforge.org">webgen homepage</a></li>
|
31
|
+
<li><a href="http://andreasviklund.com/templates/">Website templates</a></li>
|
32
|
+
<li><a href="http://openwebdesign.org/">Open Web Design</a></li>
|
33
|
+
<li><a href="http://oswd.org/">OSWD.org</a></li>
|
34
|
+
</ul>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="content">
|
38
|
+
{block:}
|
39
|
+
|
40
|
+
<h2>site info</h2>
|
41
|
+
<p>© 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>
|
42
|
+
</div>
|
43
|
+
</body>
|
44
|
+
</html>
|
Binary file
|
Binary file
|
@@ -0,0 +1,224 @@
|
|
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 .webgen-menu ul, .linkblock {margin:0 0 20px 8px; font-size:0.9em;}
|
163
|
+
#subcontent .webgen-menu ul li, .linkblock li {list-style:none; display:block; padding:2px; margin-bottom:2px;}
|
164
|
+
#subcontent .webgen-menu ul li a, .linkblock li a {font-weight:bold; text-decoration:none;}
|
165
|
+
#subcontent .webgen-menu ul li a:hover, .linkblock li a:hover {text-decoration:none;}
|
166
|
+
#subcontent .webgen-menu ul li ul, .linkblock li ul {margin:3px 0 3px 15px; font-size:1em; font-weight:normal;}
|
167
|
+
#subcontent .webgen-menu ul li ul li, .linkblock li ul li {margin-bottom:0;}
|
168
|
+
#subcontent .webgen-menu 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
|
+
}
|