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.
- data/COPYING +34 -1
- data/Rakefile +1 -8
- data/data/webgen/passive_sources/default.metainfo +5 -0
- data/data/webgen/passive_sources/stylesheets/api.css +284 -0
- data/data/webgen/passive_sources/templates/api.template +151 -0
- data/data/webgen/passive_sources/templates/feed.template +4 -0
- data/lib/webgen/bundle/built-in/init.rb +12 -3
- data/lib/webgen/bundle_loader.rb +8 -2
- data/lib/webgen/cli/create_command.rb +3 -1
- data/lib/webgen/cli/show_tree_command.rb +4 -3
- data/lib/webgen/content_processor.rb +2 -2
- data/lib/webgen/content_processor/blocks.rb +2 -2
- data/lib/webgen/content_processor/haml.rb +1 -1
- data/lib/webgen/content_processor/html_head.rb +5 -4
- data/lib/webgen/content_processor/kramdown.rb +3 -1
- data/lib/webgen/content_processor/r_doc.rb +16 -3
- data/lib/webgen/content_processor/sass.rb +3 -3
- data/lib/webgen/content_processor/scss.rb +1 -1
- data/lib/webgen/content_processor/tikz.rb +2 -2
- data/lib/webgen/context/html_head.rb +1 -1
- data/lib/webgen/destination/file_system.rb +2 -1
- data/lib/webgen/item_tracker/node_content.rb +4 -4
- data/lib/webgen/item_tracker/node_meta_info.rb +6 -6
- data/lib/webgen/item_tracker/nodes.rb +1 -1
- data/lib/webgen/node.rb +5 -7
- data/lib/webgen/node_finder.rb +40 -17
- data/lib/webgen/page.rb +10 -0
- data/lib/webgen/path.rb +14 -14
- data/lib/webgen/path_handler.rb +19 -13
- data/lib/webgen/path_handler/api.rb +173 -0
- data/lib/webgen/path_handler/base.rb +33 -11
- data/lib/webgen/path_handler/copy.rb +2 -27
- data/lib/webgen/path_handler/feed.rb +4 -3
- data/lib/webgen/path_handler/meta_info.rb +1 -1
- data/lib/webgen/path_handler/page_utils.rb +4 -3
- data/lib/webgen/path_handler/sitemap.rb +3 -2
- data/lib/webgen/path_handler/virtual.rb +7 -2
- data/lib/webgen/tag.rb +5 -5
- data/lib/webgen/tag/execute_command.rb +1 -1
- data/lib/webgen/tag/include_file.rb +1 -1
- data/lib/webgen/tag/link.rb +2 -2
- data/lib/webgen/tag/menu.rb +1 -1
- data/lib/webgen/tag/meta_info.rb +1 -0
- data/lib/webgen/tag/relocatable.rb +1 -1
- data/lib/webgen/tag/tikz.rb +2 -2
- data/lib/webgen/task/create_website.rb +1 -1
- data/lib/webgen/test_helper.rb +20 -16
- data/lib/webgen/tree.rb +5 -1
- data/lib/webgen/version.rb +1 -1
- data/lib/webgen/website.rb +8 -8
- data/test/webgen/content_processor/test_kramdown.rb +7 -5
- data/test/webgen/content_processor/test_sass.rb +4 -0
- data/test/webgen/content_processor/test_scss.rb +4 -0
- data/test/webgen/content_processor/test_tikz.rb +6 -2
- data/test/webgen/destination/test_file_system.rb +3 -4
- data/test/webgen/item_tracker/test_missing_node.rb +3 -3
- data/test/webgen/item_tracker/test_node_content.rb +9 -12
- data/test/webgen/item_tracker/test_node_meta_info.rb +7 -11
- data/test/webgen/item_tracker/test_nodes.rb +11 -5
- data/test/webgen/path_handler/test_api.rb +111 -0
- data/test/webgen/path_handler/test_page_utils.rb +1 -1
- data/test/webgen/source/test_file_system.rb +3 -3
- data/test/webgen/tag/test_coderay.rb +3 -4
- data/test/webgen/tag/test_meta_info.rb +3 -0
- data/test/webgen/task/test_create_website.rb +2 -2
- data/test/webgen/test_item_tracker.rb +11 -16
- data/test/webgen/test_node.rb +2 -0
- data/test/webgen/test_node_finder.rb +30 -2
- data/test/webgen/test_page.rb +8 -0
- data/test/webgen/test_source.rb +11 -18
- data/test/webgen/test_tag.rb +1 -1
- data/test/webgen/test_tree.rb +8 -8
- metadata +8 -88
- data/ChangeLog +0 -23710
- data/data/webgen/website_bundles/default/README +0 -6
- data/data/webgen/website_bundles/default/src/index.page +0 -15
- data/data/webgen/website_bundles/style/1024px/README +0 -13
- data/data/webgen/website_bundles/style/1024px/src/default.css +0 -188
- data/data/webgen/website_bundles/style/1024px/src/default.template +0 -60
- data/data/webgen/website_bundles/style/1024px/src/images/background.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/README +0 -13
- data/data/webgen/website_bundles/style/andreas00/src/default.css +0 -290
- data/data/webgen/website_bundles/style/andreas00/src/default.template +0 -60
- data/data/webgen/website_bundles/style/andreas00/src/images/bg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/front.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/menubg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas00/src/images/menubg2.gif +0 -0
- data/data/webgen/website_bundles/style/andreas01/README +0 -14
- data/data/webgen/website_bundles/style/andreas01/src/default.css +0 -310
- data/data/webgen/website_bundles/style/andreas01/src/default.template +0 -62
- data/data/webgen/website_bundles/style/andreas01/src/images/bg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas01/src/images/front.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas01/src/print.css +0 -35
- data/data/webgen/website_bundles/style/andreas03/README +0 -14
- data/data/webgen/website_bundles/style/andreas03/src/default.css +0 -223
- data/data/webgen/website_bundles/style/andreas03/src/default.template +0 -58
- data/data/webgen/website_bundles/style/andreas03/src/images/bodybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/contbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/footerbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/gradient1.png +0 -0
- data/data/webgen/website_bundles/style/andreas03/src/images/gradient2.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/README +0 -15
- data/data/webgen/website_bundles/style/andreas04/src/default.css +0 -290
- data/data/webgen/website_bundles/style/andreas04/src/default.template +0 -81
- data/data/webgen/website_bundles/style/andreas04/src/images/blinkarrow.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/bodybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/contentbg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/entrybg.png +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/flash.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/flash2.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/globe.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/globebottom.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/linkarrow.gif +0 -0
- data/data/webgen/website_bundles/style/andreas04/src/images/menuhover.png +0 -0
- data/data/webgen/website_bundles/style/andreas05/README +0 -14
- data/data/webgen/website_bundles/style/andreas05/src/default.css +0 -33
- data/data/webgen/website_bundles/style/andreas05/src/default.template +0 -40
- data/data/webgen/website_bundles/style/andreas05/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas05/src/images/front.png +0 -0
- data/data/webgen/website_bundles/style/andreas06/README +0 -14
- data/data/webgen/website_bundles/style/andreas06/src/default.css +0 -356
- data/data/webgen/website_bundles/style/andreas06/src/default.template +0 -70
- data/data/webgen/website_bundles/style/andreas06/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/boxbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/greypx.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/header.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/innerbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/leaves.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas06/src/images/tabs.gif +0 -0
- data/data/webgen/website_bundles/style/andreas07/README +0 -15
- data/data/webgen/website_bundles/style/andreas07/src/browserfix.css +0 -7
- data/data/webgen/website_bundles/style/andreas07/src/default.css +0 -92
- data/data/webgen/website_bundles/style/andreas07/src/default.template +0 -42
- data/data/webgen/website_bundles/style/andreas07/src/images/bodybg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas07/src/images/sidebarbg.gif +0 -0
- data/data/webgen/website_bundles/style/andreas08/README +0 -14
- data/data/webgen/website_bundles/style/andreas08/src/default.css +0 -224
- data/data/webgen/website_bundles/style/andreas08/src/default.template +0 -51
- data/data/webgen/website_bundles/style/andreas09/README +0 -14
- data/data/webgen/website_bundles/style/andreas09/src/default.css +0 -308
- data/data/webgen/website_bundles/style/andreas09/src/default.template +0 -68
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-black.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-green.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-orange.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-purple.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg-red.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/bodybg.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/footerbg.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-black.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-green.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-orange.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-purple.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover-red.jpg +0 -0
- data/data/webgen/website_bundles/style/andreas09/src/images/menuhover.jpg +0 -0
- data/data/webgen/website_bundles/style/simple/README +0 -6
- data/data/webgen/website_bundles/style/simple/src/default.css +0 -84
- data/data/webgen/website_bundles/style/simple/src/default.template +0 -36
Binary file
|
Binary file
|
@@ -1,35 +0,0 @@
|
|
1
|
-
/* andreas01 - 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: 2.0 (Jun 25, 2006)
|
3
|
-
Print layout: */
|
4
|
-
|
5
|
-
body{
|
6
|
-
margin:0 auto;
|
7
|
-
padding:0;
|
8
|
-
font-family:"Times New Roman",serif;
|
9
|
-
background:#ffffff;
|
10
|
-
color:#000000;
|
11
|
-
}
|
12
|
-
|
13
|
-
#wrap{
|
14
|
-
margin:2%;
|
15
|
-
width:auto;
|
16
|
-
float:none !important;
|
17
|
-
}
|
18
|
-
|
19
|
-
#header h1{
|
20
|
-
margin:0 0 25px 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
#frontphoto, #leftside ul, #extras, .announce, .hide{
|
24
|
-
display:none;
|
25
|
-
}
|
26
|
-
|
27
|
-
#content img{
|
28
|
-
display:none;
|
29
|
-
}
|
30
|
-
|
31
|
-
a{
|
32
|
-
text-decoration:underline;
|
33
|
-
color:#0000ff;
|
34
|
-
background-color:inherit;
|
35
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
description:
|
2
|
-
Open source web design template by Andreas Viklund. An accessible 2-column template in blue, grey
|
3
|
-
and white which loads fast and works in all common browsers. Would be a good one for a blog!
|
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,223 +0,0 @@
|
|
1
|
-
/* andreas03 - 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
|
-
|
3
|
-
Version: 1.2
|
4
|
-
(Nov 28, 2005)
|
5
|
-
|
6
|
-
Screen layout: */
|
7
|
-
|
8
|
-
body{
|
9
|
-
margin:0;
|
10
|
-
padding:30px 0;
|
11
|
-
font:76% tahoma,verdana,sans-serif;
|
12
|
-
background:#047 url(images/bodybg.png) repeat-x fixed;
|
13
|
-
color:#222;
|
14
|
-
}
|
15
|
-
|
16
|
-
#thetop{
|
17
|
-
margin:0;
|
18
|
-
}
|
19
|
-
|
20
|
-
#container{
|
21
|
-
width:720px;
|
22
|
-
margin:0 auto;
|
23
|
-
padding:20px 20px 0 20px;
|
24
|
-
background:#fff url(images/contbg.png) no-repeat;
|
25
|
-
color:#222;
|
26
|
-
}
|
27
|
-
|
28
|
-
a{
|
29
|
-
text-decoration:none;
|
30
|
-
background-color:inherit;
|
31
|
-
color:#26c;
|
32
|
-
}
|
33
|
-
|
34
|
-
a:hover {
|
35
|
-
text-decoration:underline;
|
36
|
-
}
|
37
|
-
|
38
|
-
a img{
|
39
|
-
border:0;
|
40
|
-
}
|
41
|
-
|
42
|
-
p{
|
43
|
-
margin:0 0 15px 0;
|
44
|
-
line-height:1.5em;
|
45
|
-
}
|
46
|
-
|
47
|
-
#main p,#sidebar p{
|
48
|
-
padding:0 0 0 10px;
|
49
|
-
}
|
50
|
-
|
51
|
-
#logo{
|
52
|
-
float:left;
|
53
|
-
width:240px;
|
54
|
-
margin:0 20px 0 0;
|
55
|
-
padding:0 0 25px 0;
|
56
|
-
background:#eee;
|
57
|
-
border:4px solid #dde;
|
58
|
-
text-align:center;
|
59
|
-
color:#555;
|
60
|
-
overflow:auto;
|
61
|
-
}
|
62
|
-
|
63
|
-
#logo h1{
|
64
|
-
margin:50px 5px 1px 5px;
|
65
|
-
letter-spacing:-3px;
|
66
|
-
}
|
67
|
-
|
68
|
-
#logo a{
|
69
|
-
background-color:inherit;
|
70
|
-
color:#26a;
|
71
|
-
text-decoration:none;
|
72
|
-
}
|
73
|
-
|
74
|
-
#logo a:hover{
|
75
|
-
background-color:inherit;
|
76
|
-
color:#69e;
|
77
|
-
}
|
78
|
-
|
79
|
-
#tagline{
|
80
|
-
text-align:center;
|
81
|
-
font-size:1.2em;
|
82
|
-
}
|
83
|
-
|
84
|
-
#intro p{
|
85
|
-
line-height:1.5em;
|
86
|
-
}
|
87
|
-
|
88
|
-
#main{
|
89
|
-
float:left;
|
90
|
-
width:530px;
|
91
|
-
margin-right:20px;
|
92
|
-
padding:0;
|
93
|
-
}
|
94
|
-
|
95
|
-
#main h2 {
|
96
|
-
display:block;
|
97
|
-
margin:30px 0 10px 0;
|
98
|
-
padding:5px 0 5px 8px;
|
99
|
-
background:#eee url(images/gradient2.png) repeat-x;
|
100
|
-
color:#222;
|
101
|
-
border-top:1px solid #ddd;
|
102
|
-
border-right:1px solid #bbb;
|
103
|
-
border-bottom:1px solid #bbb;
|
104
|
-
border-left:1px solid #ddd;
|
105
|
-
text-decoration:none;
|
106
|
-
}
|
107
|
-
|
108
|
-
#sidebar{
|
109
|
-
width:155px;
|
110
|
-
float:right;
|
111
|
-
margin-top:20px;
|
112
|
-
font-size:1em;
|
113
|
-
line-height:1.3em;
|
114
|
-
}
|
115
|
-
|
116
|
-
#sidebar p, #sidebar .linklist {
|
117
|
-
font-size:0.9em;
|
118
|
-
}
|
119
|
-
|
120
|
-
#sidebar ul.linklist {
|
121
|
-
list-style-type: none;
|
122
|
-
margin: 0px;
|
123
|
-
padding: 5px 0px 5px 8px;
|
124
|
-
}
|
125
|
-
|
126
|
-
#sidebar #menu ul {
|
127
|
-
list-style-type: none;
|
128
|
-
margin: 0px;
|
129
|
-
padding: 0px;
|
130
|
-
}
|
131
|
-
|
132
|
-
#sidebar #menu li a, #sidebar #menu li span, .sidelink{
|
133
|
-
display:block;
|
134
|
-
width:140px;
|
135
|
-
margin:3px 10px 2px 0;
|
136
|
-
padding:5px 0 5px 8px;
|
137
|
-
font-size:1.1em;
|
138
|
-
font-weight:bold;
|
139
|
-
text-align:left;
|
140
|
-
background:#eee url(images/gradient1.png) repeat-x;
|
141
|
-
color:#26c;
|
142
|
-
border-top:1px solid #ddd;
|
143
|
-
border-right:1px solid #bbb;
|
144
|
-
border-bottom:1px solid #bbb;
|
145
|
-
border-left:1px solid #ddd;
|
146
|
-
}
|
147
|
-
|
148
|
-
#sidebar #menu li a:hover, #sidebar li.webgen-menu-item-selected a, #sidebar li.webgen-menu-item-selected span, .sidelink:hover, .menuheader {
|
149
|
-
background:#fff url(images/gradient2.png) repeat-x;
|
150
|
-
color:#222;
|
151
|
-
border-top:1px solid #ddd;
|
152
|
-
border-right:1px solid #888;
|
153
|
-
border-bottom:1px solid #888;
|
154
|
-
border-left:1px solid #ddd;
|
155
|
-
text-decoration:none;
|
156
|
-
}
|
157
|
-
|
158
|
-
#footer{
|
159
|
-
margin:0 auto 20px auto;
|
160
|
-
width:760px;
|
161
|
-
background:#fff url(images/footerbg.png) bottom left no-repeat;
|
162
|
-
padding:0 0 5px 0;
|
163
|
-
font-size:0.9em;
|
164
|
-
color:#888;
|
165
|
-
text-align:center;
|
166
|
-
}
|
167
|
-
|
168
|
-
h1,h2,h3,h4{
|
169
|
-
margin:0 0 10px 0;
|
170
|
-
font-weight:normal;
|
171
|
-
}
|
172
|
-
|
173
|
-
h1{
|
174
|
-
font-size:2.8em;
|
175
|
-
}
|
176
|
-
|
177
|
-
h2{
|
178
|
-
margin:0 0 4px 0;
|
179
|
-
font-size:1.8em;
|
180
|
-
}
|
181
|
-
|
182
|
-
h3{
|
183
|
-
margin:20px 0 8px 0;
|
184
|
-
font-size:1.4em;
|
185
|
-
}
|
186
|
-
|
187
|
-
h4{
|
188
|
-
margin:10px 0 5px 0;
|
189
|
-
font-size:1.2em;
|
190
|
-
}
|
191
|
-
|
192
|
-
.clear{
|
193
|
-
clear:both;
|
194
|
-
margin:0;
|
195
|
-
}
|
196
|
-
|
197
|
-
.right{
|
198
|
-
text-align:right;
|
199
|
-
}
|
200
|
-
|
201
|
-
.internallink{
|
202
|
-
font-size:0.9em;
|
203
|
-
text-align:center;
|
204
|
-
}
|
205
|
-
|
206
|
-
.block{
|
207
|
-
padding:20px;
|
208
|
-
background:#eee;
|
209
|
-
color:#222;
|
210
|
-
border:2px solid #ddd;
|
211
|
-
}
|
212
|
-
|
213
|
-
.credit{
|
214
|
-
color:#888;
|
215
|
-
background-color:inherit;
|
216
|
-
}
|
217
|
-
|
218
|
-
.hide{
|
219
|
-
display:none;
|
220
|
-
}
|
221
|
-
|
222
|
-
/* Original open source design by Andreas Viklund - http://andreasviklund.com
|
223
|
-
Released through OSWD.org */
|
@@ -1,58 +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" type="text/css" href="{relocatable: default.css}" />
|
11
|
-
<title>{title: }</title>
|
12
|
-
</head>
|
13
|
-
|
14
|
-
<body>
|
15
|
-
<div id="thetop">
|
16
|
-
<a id="top"></a>
|
17
|
-
<p class="hide">Skip to: <a href="#sitemenu" accesskey="2">Site menu</a> | <a href="#maincontent" accesskey="3">Main content</a></p>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div id="container">
|
21
|
-
<div id="main">
|
22
|
-
|
23
|
-
<div id="logo">
|
24
|
-
<h1>[<a href="{relocatable: /index.html}" accesskey="4">your site title</a>]</h1>
|
25
|
-
<span id="tagline">Your striking site slogan!</span>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div id="intro">
|
29
|
-
<h2><a id="maincontent"></a>Website description!</h2>
|
30
|
-
<p>Here could go a description of your website! Or a quick overview of the page!</p>
|
31
|
-
</div>
|
32
|
-
<div class="clear"></div>
|
33
|
-
|
34
|
-
<webgen:block name="content" />
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div id="sidebar">
|
38
|
-
|
39
|
-
<h2 class="sidelink menuheader"><a id="sitemenu"></a>Menu:</h2>
|
40
|
-
<div id="menu">{menu: {max_levels: 1, used_nodes: files}}</div>
|
41
|
-
<a class="hide" href="#top" accesskey="1">Top of page</a>
|
42
|
-
|
43
|
-
<h3>Regular links</h3>
|
44
|
-
<ul class="linklist">
|
45
|
-
<li><a href="http://andreasviklund.com/templates">Free website templates</a></li>
|
46
|
-
<li><a href="http://openwebdesign.org">Open Web Design</a></li>
|
47
|
-
<li><a href="http://oswd.org">OSWD.org</a></li>
|
48
|
-
<li><a href="http://andreasviklund.com/music/lagoona">Lagoona MP3s</a></li>
|
49
|
-
</ul>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
<div class="clear"> </div>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div id="footer"><p>© 2005 Your name | Generated by <a href="http://webgen.rubyforge.org/">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a></p></div>
|
56
|
-
|
57
|
-
</body>
|
58
|
-
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
description:
|
2
|
-
Open source web design template by Andreas Viklund. A simple two-column fluid width template
|
3
|
-
in orange and grey using animated GIFs. Can be used for normal websites but it is probably best
|
4
|
-
used for a blog!
|
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,290 +0,0 @@
|
|
1
|
-
/* andreas04 - 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: 1.5, July 15, 2006 */
|
3
|
-
|
4
|
-
body{
|
5
|
-
margin:0;
|
6
|
-
padding:0;
|
7
|
-
font:76% tahoma,verdana,sans-serif;
|
8
|
-
background:#e6e6e6 url(images/bodybg.png) repeat-x;
|
9
|
-
color:#333;
|
10
|
-
text-align:center;
|
11
|
-
}
|
12
|
-
|
13
|
-
a{
|
14
|
-
text-decoration:none;
|
15
|
-
color:#269;
|
16
|
-
font-weight:bold;
|
17
|
-
}
|
18
|
-
|
19
|
-
a:hover{
|
20
|
-
text-decoration:underline;
|
21
|
-
}
|
22
|
-
|
23
|
-
p{
|
24
|
-
margin:0 0 15px 0;
|
25
|
-
line-height:1.5em;
|
26
|
-
}
|
27
|
-
|
28
|
-
h1,h2,h3,h4{
|
29
|
-
margin:0;
|
30
|
-
padding:0;
|
31
|
-
font-weight:normal;
|
32
|
-
}
|
33
|
-
|
34
|
-
h1{
|
35
|
-
font-size:3.2em;
|
36
|
-
letter-spacing:-3px;
|
37
|
-
color:#567;
|
38
|
-
margin:12px 0 5px 20px;
|
39
|
-
}
|
40
|
-
|
41
|
-
h1 a:hover{
|
42
|
-
text-decoration:none;
|
43
|
-
}
|
44
|
-
|
45
|
-
h2{
|
46
|
-
font-size:1.8em;
|
47
|
-
letter-spacing:-1px;
|
48
|
-
margin:-10px 0 0 50px;
|
49
|
-
color:#888;
|
50
|
-
}
|
51
|
-
|
52
|
-
h3{
|
53
|
-
color: #555;
|
54
|
-
font-size:1.4em;
|
55
|
-
margin:1em 0 0.5em 0.5em;
|
56
|
-
}
|
57
|
-
|
58
|
-
h4{
|
59
|
-
font-size:1.2em;
|
60
|
-
font-weight:bold;
|
61
|
-
}
|
62
|
-
|
63
|
-
#container{
|
64
|
-
width:92%;
|
65
|
-
min-width:700px;
|
66
|
-
padding:0 20px;
|
67
|
-
margin:0 auto;
|
68
|
-
background:#f0f0f0 url(images/contentbg.png) repeat-x;
|
69
|
-
color:#333;
|
70
|
-
text-align:left;
|
71
|
-
border-left:1px solid #eef;
|
72
|
-
border-right:1px solid #eef;
|
73
|
-
}
|
74
|
-
|
75
|
-
#sitetitle{
|
76
|
-
float:left;
|
77
|
-
height:100px;
|
78
|
-
background:url(images/globe.gif) no-repeat; /* Delete this line to remove the animated globe */
|
79
|
-
width: 42%;
|
80
|
-
color: #333;
|
81
|
-
}
|
82
|
-
|
83
|
-
#sitetitle a{
|
84
|
-
color:#567;
|
85
|
-
font-weight:normal;
|
86
|
-
}
|
87
|
-
|
88
|
-
#sitetitle a:hover{
|
89
|
-
color:#269;
|
90
|
-
}
|
91
|
-
|
92
|
-
#menu{
|
93
|
-
height:71px;
|
94
|
-
padding-top:35px;
|
95
|
-
text-align: right;
|
96
|
-
}
|
97
|
-
|
98
|
-
#menu ul, #menu li {
|
99
|
-
display: inline;
|
100
|
-
margin: 0px;
|
101
|
-
padding: 0px;
|
102
|
-
}
|
103
|
-
|
104
|
-
#menu a, #menu span {
|
105
|
-
margin:0;
|
106
|
-
height:100px;
|
107
|
-
padding:35px 6px 41px 6px;
|
108
|
-
font-size:1.6em;
|
109
|
-
font-weight:normal;
|
110
|
-
letter-spacing:-1px;
|
111
|
-
color: #888;
|
112
|
-
}
|
113
|
-
|
114
|
-
#menu a:hover, #menu li.webgen-menu-item-selected span, #menu li.webgen-menu-item-selected a {
|
115
|
-
color:#269;
|
116
|
-
text-decoration:none;
|
117
|
-
background: #fff url(images/menuhover.png) repeat-x;
|
118
|
-
padding:35px 5px 41px 5px;
|
119
|
-
border-left: 1px solid #eee;
|
120
|
-
border-right: 1px solid #eee;
|
121
|
-
}
|
122
|
-
|
123
|
-
#content{
|
124
|
-
margin-top:30px;
|
125
|
-
width:100%;
|
126
|
-
clear:both;
|
127
|
-
background:url(images/globebottom.gif) bottom left no-repeat;
|
128
|
-
}
|
129
|
-
|
130
|
-
#content h2{
|
131
|
-
margin:0 0 10px 0;
|
132
|
-
color:#555;
|
133
|
-
border-bottom:2px solid #abb;
|
134
|
-
}
|
135
|
-
|
136
|
-
#content h2 a{
|
137
|
-
color:#555;
|
138
|
-
font-weight:normal;
|
139
|
-
}
|
140
|
-
|
141
|
-
#content h2 a:hover{
|
142
|
-
color:#269;
|
143
|
-
text-decoration:none;
|
144
|
-
background:none;
|
145
|
-
}
|
146
|
-
|
147
|
-
#content p{
|
148
|
-
margin:0 0.5em 1.2em 0.5em;
|
149
|
-
}
|
150
|
-
|
151
|
-
#left{
|
152
|
-
width:68%;
|
153
|
-
float:left;
|
154
|
-
}
|
155
|
-
|
156
|
-
#right{
|
157
|
-
margin-left:70%;
|
158
|
-
margin-top:-15px;
|
159
|
-
}
|
160
|
-
|
161
|
-
#right h2{
|
162
|
-
margin:0 0 8px 0;
|
163
|
-
padding:12px 0 0 0;
|
164
|
-
font-size:1.6em;
|
165
|
-
}
|
166
|
-
|
167
|
-
#footer{
|
168
|
-
clear:both;
|
169
|
-
padding:10px 0 12px 24px;
|
170
|
-
text-align:left;
|
171
|
-
color:#888;
|
172
|
-
}
|
173
|
-
|
174
|
-
#footer a{
|
175
|
-
color:#888;
|
176
|
-
font-weight:normal;
|
177
|
-
}
|
178
|
-
|
179
|
-
#footer span{
|
180
|
-
color:#aaa;
|
181
|
-
font-size:2em;
|
182
|
-
letter-spacing:-2px;
|
183
|
-
}
|
184
|
-
|
185
|
-
.entry{
|
186
|
-
position:relative;
|
187
|
-
margin:0 0 20px 0;
|
188
|
-
border:2px solid #fff;
|
189
|
-
background:#eee url(images/entrybg.png) repeat-x;
|
190
|
-
color:#333;
|
191
|
-
padding:10px 10px 0 10px;
|
192
|
-
}
|
193
|
-
|
194
|
-
.entry a:hover, .intro a:hover{
|
195
|
-
text-decoration:none;
|
196
|
-
padding-bottom:2px;
|
197
|
-
background:url(images/flash2.gif) bottom left repeat-x; /* Delete this line to remove the flashing underline for regular links */
|
198
|
-
}
|
199
|
-
|
200
|
-
.link{
|
201
|
-
color:#269;
|
202
|
-
background:url(images/linkarrow.gif) left no-repeat;
|
203
|
-
display:block;
|
204
|
-
margin:4px 0 0 0;
|
205
|
-
padding:2px 1em;
|
206
|
-
}
|
207
|
-
|
208
|
-
.link:hover{
|
209
|
-
color:#48b;
|
210
|
-
background:url(images/blinkarrow.gif) left no-repeat; /* Delete this line to remove the blinking arrows by the links */
|
211
|
-
text-decoration:none;
|
212
|
-
}
|
213
|
-
|
214
|
-
.thumbs img{
|
215
|
-
position:relative;
|
216
|
-
padding:3px;
|
217
|
-
margin:0 2px 2px 0;
|
218
|
-
border:1px solid #fff;
|
219
|
-
background-color:#ddd;
|
220
|
-
color: #555;
|
221
|
-
}
|
222
|
-
|
223
|
-
.thumbs img:hover{
|
224
|
-
background: url(images/flash.gif); /* Delete this line to remove the blinkingblue frame around the thumbnails */
|
225
|
-
}
|
226
|
-
|
227
|
-
.entryphoto{
|
228
|
-
margin:5px 10px 10px 0;
|
229
|
-
float:left;
|
230
|
-
padding:3px;
|
231
|
-
border:1px solid #fff;
|
232
|
-
background-color:#ddd;
|
233
|
-
color:#333;
|
234
|
-
}
|
235
|
-
|
236
|
-
.meta{
|
237
|
-
clear:both;
|
238
|
-
border-top: 2px solid #ccc;
|
239
|
-
padding: 5px 1px 0 0;
|
240
|
-
margin:10px 0 0 0;
|
241
|
-
text-align:right;
|
242
|
-
font-size:0.9em;
|
243
|
-
color: #567;
|
244
|
-
}
|
245
|
-
|
246
|
-
.pagenav{
|
247
|
-
color: #888;
|
248
|
-
text-align:center;
|
249
|
-
}
|
250
|
-
|
251
|
-
.entry img{
|
252
|
-
position:relative;
|
253
|
-
}
|
254
|
-
|
255
|
-
.subcontainer {
|
256
|
-
width:98%;
|
257
|
-
}
|
258
|
-
|
259
|
-
.rightsub{
|
260
|
-
float:left;
|
261
|
-
width:45%;
|
262
|
-
padding:0;
|
263
|
-
}
|
264
|
-
|
265
|
-
.rightsub2{
|
266
|
-
margin-left:50%;
|
267
|
-
padding:0;
|
268
|
-
}
|
269
|
-
|
270
|
-
.date{
|
271
|
-
display:block;
|
272
|
-
float:left;
|
273
|
-
font-weight:bold;
|
274
|
-
}
|
275
|
-
|
276
|
-
.right{
|
277
|
-
text-align:right;
|
278
|
-
}
|
279
|
-
|
280
|
-
.center{
|
281
|
-
text-align:center;
|
282
|
-
}
|
283
|
-
|
284
|
-
.clear{
|
285
|
-
clear:both;
|
286
|
-
}
|
287
|
-
|
288
|
-
.hide{
|
289
|
-
display:none;
|
290
|
-
}
|