TwP-webby 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +8 -0
- data/Manifest.txt +35 -29
- data/{README.txt → README.rdoc} +9 -9
- data/Rakefile +9 -2
- data/examples/webby/content/communicate/index.txt +2 -2
- data/examples/webby/content/index.txt +1 -1
- data/examples/website/content/css/blueprint/ie.css +26 -0
- data/examples/website/content/css/blueprint/plugins/buttons/{Readme → readme.txt} +3 -2
- data/examples/website/content/css/blueprint/plugins/buttons/{buttons.css → screen.css} +1 -1
- data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/{fancy-type.css → screen.css} +71 -74
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
- data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
- data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
- data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
- data/examples/website/content/css/blueprint/print.css +30 -68
- data/examples/website/content/css/blueprint/screen.css +251 -22
- data/examples/website/content/css/blueprint/src/forms.css +49 -0
- data/examples/website/content/css/blueprint/src/grid.css +212 -0
- data/examples/website/content/css/blueprint/src/ie.css +59 -0
- data/examples/website/content/css/blueprint/src/print.css +85 -0
- data/examples/website/content/css/blueprint/{lib → src}/reset.css +14 -15
- data/examples/website/content/css/blueprint/src/typography.css +105 -0
- data/examples/website/layouts/default.txt +5 -2
- data/lib/webby/apps/main.rb +4 -1
- data/lib/webby/auto_builder.rb +3 -3
- data/lib/webby/builder.rb +5 -13
- data/lib/webby/filters/maruku.rb +16 -0
- data/lib/webby/filters/outline.rb +1 -1
- data/lib/webby/link_validator.rb +59 -51
- data/lib/webby/tasks/create.rake +4 -1
- data/lib/webby/tasks/validate.rake +1 -1
- data/lib/webby.rb +14 -3
- data/spec/data/html/anchor.html +11 -0
- data/spec/data/html/external.html +10 -0
- data/spec/data/html/invalid-relative.html +10 -0
- data/spec/data/html/relative-anchor.html +10 -0
- data/spec/data/html/relative-invalid-anchor.html +10 -0
- data/spec/data/html/relative.html +10 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/webby/filters/maruku_spec.rb +31 -0
- data/spec/webby/filters/textile_spec.rb +15 -4
- data/spec/webby/link_validator_spec.rb +154 -0
- data/tasks/mswin32.rake +38 -0
- data/tasks/website.rake +0 -1
- metadata +52 -24
- data/examples/website/content/css/blueprint/License.txt +0 -21
- data/examples/website/content/css/blueprint/Readme.txt +0 -100
- data/examples/website/content/css/blueprint/compressed/print.css +0 -76
- data/examples/website/content/css/blueprint/compressed/screen.css +0 -696
- data/examples/website/content/css/blueprint/lib/forms.css +0 -45
- data/examples/website/content/css/blueprint/lib/grid.css +0 -193
- data/examples/website/content/css/blueprint/lib/ie.css +0 -30
- data/examples/website/content/css/blueprint/lib/typography.css +0 -116
- data/examples/website/content/css/blueprint/plugins/css-classes/Readme +0 -14
- data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +0 -24
- data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +0 -22
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +0 -5
- data/tasks/ann.rake +0 -81
- data/tasks/bones.rake +0 -21
- data/tasks/gem.rake +0 -187
- data/tasks/git.rake +0 -41
- data/tasks/manifest.rake +0 -48
- data/tasks/notes.rake +0 -28
- data/tasks/post_load.rake +0 -39
- data/tasks/rdoc.rake +0 -51
- data/tasks/rubyforge.rake +0 -55
- data/tasks/setup.rb +0 -268
- data/tasks/spec.rake +0 -55
- /data/examples/website/content/css/blueprint/{lib → src}/grid.png +0 -0
data/History.txt
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
== 0.9.4 / 2008-12-
|
|
2
|
+
|
|
3
|
+
* 2 minor enhancements
|
|
4
|
+
- Added a Maruku filter (thanks to Martyn Loughran)
|
|
5
|
+
- Updated to version 0.8.0 of Blueprint css
|
|
6
|
+
* 1 bug fix
|
|
7
|
+
- Editor launching now handles switches passed to the editor
|
|
8
|
+
|
|
1
9
|
== 0.9.3 / 2008-10-08
|
|
2
10
|
|
|
3
11
|
* 4 minor enhancements
|
data/Manifest.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
History.txt
|
|
2
2
|
Manifest.txt
|
|
3
|
-
README.
|
|
3
|
+
README.rdoc
|
|
4
4
|
Rakefile
|
|
5
5
|
bin/webby
|
|
6
6
|
bin/webby-gen
|
|
@@ -75,28 +75,35 @@ examples/webby/content/user-manual/index.txt
|
|
|
75
75
|
examples/webby/layouts/default.txt
|
|
76
76
|
examples/webby/templates/page.erb
|
|
77
77
|
examples/website/Sitefile
|
|
78
|
-
examples/website/content/css/blueprint/
|
|
79
|
-
examples/website/content/css/blueprint/Readme.txt
|
|
80
|
-
examples/website/content/css/blueprint/compressed/print.css
|
|
81
|
-
examples/website/content/css/blueprint/compressed/screen.css
|
|
82
|
-
examples/website/content/css/blueprint/lib/forms.css
|
|
83
|
-
examples/website/content/css/blueprint/lib/grid.css
|
|
84
|
-
examples/website/content/css/blueprint/lib/grid.png
|
|
85
|
-
examples/website/content/css/blueprint/lib/ie.css
|
|
86
|
-
examples/website/content/css/blueprint/lib/reset.css
|
|
87
|
-
examples/website/content/css/blueprint/lib/typography.css
|
|
88
|
-
examples/website/content/css/blueprint/plugins/buttons/Readme
|
|
89
|
-
examples/website/content/css/blueprint/plugins/buttons/buttons.css
|
|
78
|
+
examples/website/content/css/blueprint/ie.css
|
|
90
79
|
examples/website/content/css/blueprint/plugins/buttons/icons/cross.png
|
|
91
80
|
examples/website/content/css/blueprint/plugins/buttons/icons/key.png
|
|
92
81
|
examples/website/content/css/blueprint/plugins/buttons/icons/tick.png
|
|
93
|
-
examples/website/content/css/blueprint/plugins/
|
|
94
|
-
examples/website/content/css/blueprint/plugins/
|
|
95
|
-
examples/website/content/css/blueprint/plugins/fancy-type/
|
|
96
|
-
examples/website/content/css/blueprint/plugins/fancy-type/
|
|
97
|
-
examples/website/content/css/blueprint/plugins/
|
|
82
|
+
examples/website/content/css/blueprint/plugins/buttons/readme.txt
|
|
83
|
+
examples/website/content/css/blueprint/plugins/buttons/screen.css
|
|
84
|
+
examples/website/content/css/blueprint/plugins/fancy-type/readme.txt
|
|
85
|
+
examples/website/content/css/blueprint/plugins/fancy-type/screen.css
|
|
86
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png
|
|
87
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/email.png
|
|
88
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/external.png
|
|
89
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png
|
|
90
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/im.png
|
|
91
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png
|
|
92
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png
|
|
93
|
+
examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png
|
|
94
|
+
examples/website/content/css/blueprint/plugins/link-icons/readme.txt
|
|
95
|
+
examples/website/content/css/blueprint/plugins/link-icons/screen.css
|
|
96
|
+
examples/website/content/css/blueprint/plugins/rtl/readme.txt
|
|
97
|
+
examples/website/content/css/blueprint/plugins/rtl/screen.css
|
|
98
98
|
examples/website/content/css/blueprint/print.css
|
|
99
99
|
examples/website/content/css/blueprint/screen.css
|
|
100
|
+
examples/website/content/css/blueprint/src/forms.css
|
|
101
|
+
examples/website/content/css/blueprint/src/grid.css
|
|
102
|
+
examples/website/content/css/blueprint/src/grid.png
|
|
103
|
+
examples/website/content/css/blueprint/src/ie.css
|
|
104
|
+
examples/website/content/css/blueprint/src/print.css
|
|
105
|
+
examples/website/content/css/blueprint/src/reset.css
|
|
106
|
+
examples/website/content/css/blueprint/src/typography.css
|
|
100
107
|
examples/website/content/css/coderay.css
|
|
101
108
|
examples/website/content/css/site.css
|
|
102
109
|
examples/website/content/index.txt
|
|
@@ -120,6 +127,7 @@ lib/webby/filters/basepath.rb
|
|
|
120
127
|
lib/webby/filters/erb.rb
|
|
121
128
|
lib/webby/filters/haml.rb
|
|
122
129
|
lib/webby/filters/markdown.rb
|
|
130
|
+
lib/webby/filters/maruku.rb
|
|
123
131
|
lib/webby/filters/outline.rb
|
|
124
132
|
lib/webby/filters/sass.rb
|
|
125
133
|
lib/webby/filters/slides.rb
|
|
@@ -157,6 +165,12 @@ spec/core_ext/string_spec.rb
|
|
|
157
165
|
spec/core_ext/time_spec.rb
|
|
158
166
|
spec/data/hooligans/bad_meta_data_1.txt
|
|
159
167
|
spec/data/hooligans/bad_meta_data_2.txt
|
|
168
|
+
spec/data/html/anchor.html
|
|
169
|
+
spec/data/html/external.html
|
|
170
|
+
spec/data/html/invalid-relative.html
|
|
171
|
+
spec/data/html/relative-anchor.html
|
|
172
|
+
spec/data/html/relative-invalid-anchor.html
|
|
173
|
+
spec/data/html/relative.html
|
|
160
174
|
spec/data/outline/basic.out
|
|
161
175
|
spec/data/outline/basic.txt
|
|
162
176
|
spec/data/outline/no_clobber.out
|
|
@@ -201,9 +215,11 @@ spec/spec_helper.rb
|
|
|
201
215
|
spec/webby/apps/generator_spec.rb
|
|
202
216
|
spec/webby/apps/main_spec.rb
|
|
203
217
|
spec/webby/filters/basepath_spec.rb
|
|
218
|
+
spec/webby/filters/maruku_spec.rb
|
|
204
219
|
spec/webby/filters/outline_spec.rb
|
|
205
220
|
spec/webby/filters/textile_spec.rb
|
|
206
221
|
spec/webby/helpers/capture_helper_spec.rb
|
|
222
|
+
spec/webby/link_validator_spec.rb
|
|
207
223
|
spec/webby/renderer_spec.rb
|
|
208
224
|
spec/webby/resources/db_spec.rb
|
|
209
225
|
spec/webby/resources/layout_spec.rb
|
|
@@ -213,15 +229,5 @@ spec/webby/resources/partial_spec.rb
|
|
|
213
229
|
spec/webby/resources/resource_spec.rb
|
|
214
230
|
spec/webby/resources/static_spec.rb
|
|
215
231
|
spec/webby/resources_spec.rb
|
|
216
|
-
tasks/
|
|
217
|
-
tasks/bones.rake
|
|
218
|
-
tasks/gem.rake
|
|
219
|
-
tasks/git.rake
|
|
220
|
-
tasks/manifest.rake
|
|
221
|
-
tasks/notes.rake
|
|
222
|
-
tasks/post_load.rake
|
|
223
|
-
tasks/rdoc.rake
|
|
224
|
-
tasks/rubyforge.rake
|
|
225
|
-
tasks/setup.rb
|
|
226
|
-
tasks/spec.rake
|
|
232
|
+
tasks/mswin32.rake
|
|
227
233
|
tasks/website.rake
|
data/{README.txt → README.rdoc}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Webby
|
|
1
|
+
= Webby
|
|
2
2
|
|
|
3
3
|
* {Homepage}[http://webby.rubyforge.org/]
|
|
4
4
|
* {Rubyforge Project}[http://rubyforge.org/projects/webby]
|
|
@@ -6,7 +6,7 @@ Webby
|
|
|
6
6
|
|
|
7
7
|
== DESCRIPTION:
|
|
8
8
|
|
|
9
|
-
*Webby* is a fantastic little website management system. It would be called a
|
|
9
|
+
*Webby* is a fantastic little website management system. It would be called a *content management system* if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will.
|
|
10
10
|
|
|
11
11
|
Webby works by combining the contents of a *page* with a *layout* to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few.
|
|
12
12
|
|
|
@@ -15,18 +15,18 @@ Install Webby and try it out!
|
|
|
15
15
|
== FEATURES:
|
|
16
16
|
|
|
17
17
|
* choose your templating language: *ERB*, *Textile*, *Markdown*, *HAML*, *SASS*
|
|
18
|
-
* support for
|
|
19
|
-
* embeddable DOT scripts for
|
|
20
|
-
*
|
|
21
|
-
* automatically clean up generated content using
|
|
18
|
+
* support for {UltraViolet}[http://ultraviolet.rubyforge.org/] and {CodeRay}[http://coderay.rubychan.de/] syntax highlighting
|
|
19
|
+
* embeddable DOT scripts for {Graphviz}[http://www.graphviz.org/] graphs
|
|
20
|
+
* {LaTeX}[http://www.latex-project.org/] snippets for mathematical formulas
|
|
21
|
+
* automatically clean up generated content using {Tidy}[http://tidy.sourceforge.net/]
|
|
22
22
|
* quick and speedy - only builds pages that have changed
|
|
23
23
|
* deploy anywhere - it's just HTML, no special server stuff required
|
|
24
|
-
* happy
|
|
24
|
+
* happy {Rake}[http://docs.rubyrake.org/] tasks for deploying your website to a server
|
|
25
25
|
* build new pages from templates for quicker blog posts and news items
|
|
26
26
|
|
|
27
27
|
But Wait! There's More!
|
|
28
28
|
|
|
29
|
-
Webby has a great _autobuild_ feature that continuously generates HTML whenever the *pages* or *layouts* change. The HTML is served up via
|
|
29
|
+
Webby has a great _autobuild_ feature that continuously generates HTML whenever the *pages* or *layouts* change. The HTML is served up via _WebBrick_, a simple webserver that comes with Ruby. Whenever you change a page, you can immediately see those changes without having to run any commands.
|
|
30
30
|
|
|
31
31
|
$ webby autobuild
|
|
32
32
|
[10:21:26] INFO: starting autobuild (Ctrl-C to stop)
|
|
@@ -61,11 +61,11 @@ Webby is not limited to producing HTML. By no means! Do you ever get tired of re
|
|
|
61
61
|
== REQUIREMENTS:
|
|
62
62
|
|
|
63
63
|
* directory_watcher
|
|
64
|
-
* heel
|
|
65
64
|
* hpricot
|
|
66
65
|
* logging
|
|
67
66
|
* rake
|
|
68
67
|
* rspec
|
|
68
|
+
* bones
|
|
69
69
|
|
|
70
70
|
== LICENSE:
|
|
71
71
|
|
data/Rakefile
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
begin
|
|
3
|
+
require 'bones'
|
|
4
|
+
Bones.setup
|
|
5
|
+
rescue LoadError
|
|
6
|
+
load 'tasks/setup.rb'
|
|
7
|
+
end
|
|
3
8
|
|
|
4
9
|
ensure_in_path 'lib'
|
|
5
10
|
require 'webby'
|
|
@@ -11,10 +16,10 @@ PROJ.summary = 'static website creation and management'
|
|
|
11
16
|
PROJ.authors = 'Tim Pease'
|
|
12
17
|
PROJ.email = 'tim.pease@gmail.com'
|
|
13
18
|
PROJ.url = 'http://webby.rubyforge.org/'
|
|
14
|
-
PROJ.description = paragraphs_of('README.txt', 3).join("\n\n")
|
|
15
19
|
PROJ.rubyforge.name = 'webby'
|
|
16
20
|
PROJ.version = Webby::VERSION
|
|
17
21
|
PROJ.release_name = 'Bill Gates Alien Love Child'
|
|
22
|
+
PROJ.readme_file = 'README.rdoc'
|
|
18
23
|
|
|
19
24
|
PROJ.ruby_opts = %w[-W0]
|
|
20
25
|
PROJ.exclude << %w(^examples/[^/]+/output ^tasks/archive ^tags$ ^webby.gemspec$)
|
|
@@ -22,12 +27,14 @@ PROJ.exclude << %w(^examples/[^/]+/output ^tasks/archive ^tags$ ^webby.gemspec$)
|
|
|
22
27
|
PROJ.rdoc.dir = 'doc/rdoc'
|
|
23
28
|
PROJ.rdoc.remote_dir = 'rdoc'
|
|
24
29
|
PROJ.rdoc.exclude << %w(^examples)
|
|
30
|
+
PROJ.rdoc.include << PROJ.readme_file
|
|
25
31
|
|
|
26
32
|
PROJ.spec.opts << '--color'
|
|
27
33
|
|
|
28
34
|
PROJ.ann.email[:to] << 'webby-forum@googlegroups.com'
|
|
29
35
|
PROJ.ann.email[:server] = 'smtp.gmail.com'
|
|
30
36
|
PROJ.ann.email[:port] = 587
|
|
37
|
+
PROJ.ann.email[:from] = 'Tim Pease'
|
|
31
38
|
|
|
32
39
|
PROJ.ann.text = <<-ANN
|
|
33
40
|
== POST SCRIPT
|
|
@@ -13,9 +13,9 @@ p(pull). *<%= link_to('Forum', 'http://groups.google.com/group/webby-forum') %>*
|
|
|
13
13
|
|
|
14
14
|
p(pulltext). The Google group dedicated to Webby and _ASCII Alchemy_.
|
|
15
15
|
|
|
16
|
-
p(pull).
|
|
16
|
+
p(pull). *<%= link_to('Reporting Bugs', 'http://webby.lighthouseapp.com') %>*
|
|
17
17
|
|
|
18
|
-
p(pulltext). The occasional bug does rear its ugly head from time to time. If this happens please report it
|
|
18
|
+
p(pulltext). The occasional bug does rear its ugly head from time to time. If this happens please report it using the Lighthouse bug tracker.
|
|
19
19
|
|
|
20
20
|
h2. Elsewhere
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ h2. Features
|
|
|
25
25
|
|
|
26
26
|
h2. But Wait! There's More!
|
|
27
27
|
|
|
28
|
-
Webby has a great _autobuild_ feature that continuously generates HTML whenever the *pages* or *layouts* change. The HTML is served up
|
|
28
|
+
Webby has a great _autobuild_ feature that continuously generates HTML whenever the *pages* or *layouts* change. The HTML is served up using Webrick, a simple webserver that is bundled with Ruby. Whenever you change a page, you can immediately see those changes without having to run any commands.
|
|
29
29
|
|
|
30
30
|
pre. $ webby autobuild
|
|
31
31
|
[10:21:26] INFO: starting autobuild (Ctrl-C to stop)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* -----------------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Blueprint CSS Framework 0.8
|
|
5
|
+
http://blueprintcss.org
|
|
6
|
+
|
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
|
8
|
+
* See README for instructions on how to use Blueprint.
|
|
9
|
+
* For credits and origins, see AUTHORS.
|
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
|
11
|
+
|
|
12
|
+
----------------------------------------------------------------------- */
|
|
13
|
+
|
|
14
|
+
/* ie.css */
|
|
15
|
+
body {text-align:center;}
|
|
16
|
+
.container {text-align:left;}
|
|
17
|
+
* html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
|
|
18
|
+
* html legend {margin:-18px -8px 16px 0;padding:0;}
|
|
19
|
+
ol {margin-left:2em;}
|
|
20
|
+
sup {vertical-align:text-top;}
|
|
21
|
+
sub {vertical-align:text-bottom;}
|
|
22
|
+
html>body p code {*white-space:normal;}
|
|
23
|
+
hr {margin:-8px auto 11px;}
|
|
24
|
+
.clearfix, .container {display:inline-block;}
|
|
25
|
+
* html .clearfix, * html .container {height:1%;}
|
|
26
|
+
fieldset {padding-top:0;}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
Buttons
|
|
2
|
+
|
|
2
3
|
* Gives you great looking CSS buttons, for both <a> and <button>.
|
|
3
4
|
* Demo: particletree.com/features/rediscovering-the-button-element
|
|
4
5
|
|
|
@@ -13,8 +14,8 @@ Credits
|
|
|
13
14
|
Usage
|
|
14
15
|
----------------------------------------------------------------
|
|
15
16
|
|
|
16
|
-
1) Add this
|
|
17
|
-
|
|
17
|
+
1) Add this plugin to lib/settings.yml.
|
|
18
|
+
See compress.rb for instructions.
|
|
18
19
|
|
|
19
20
|
2) Use the following HTML code to place the buttons on your site:
|
|
20
21
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Fancy Type
|
|
2
|
+
|
|
3
|
+
* Gives you classes to use if you'd like some
|
|
4
|
+
extra fancy typography.
|
|
5
|
+
|
|
6
|
+
Credits and instructions are specified above each class
|
|
7
|
+
in the fancy-type.css file in this directory.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Usage
|
|
11
|
+
----------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
1) Add this plugin to lib/settings.yml.
|
|
14
|
+
See compress.rb for instructions.
|
data/examples/website/content/css/blueprint/plugins/fancy-type/{fancy-type.css → screen.css}
RENAMED
|
@@ -1,74 +1,71 @@
|
|
|
1
|
-
/* --------------------------------------------------------------
|
|
2
|
-
|
|
3
|
-
fancy-type.css
|
|
4
|
-
* Lots of pretty advanced classes for manipulating text.
|
|
5
|
-
|
|
6
|
-
See the Readme file in this folder for additional instructions.
|
|
7
|
-
|
|
8
|
-
-------------------------------------------------------------- */
|
|
9
|
-
|
|
10
|
-
/* Indentation instead of line shifts for sibling paragraphs. */
|
|
11
|
-
p + p { text-indent:2em; margin-top:-1.5em; }
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
New
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
font-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
font-weight:bold;
|
|
73
|
-
padding:0 2px;
|
|
74
|
-
}
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
fancy-type.css
|
|
4
|
+
* Lots of pretty advanced classes for manipulating text.
|
|
5
|
+
|
|
6
|
+
See the Readme file in this folder for additional instructions.
|
|
7
|
+
|
|
8
|
+
-------------------------------------------------------------- */
|
|
9
|
+
|
|
10
|
+
/* Indentation instead of line shifts for sibling paragraphs. */
|
|
11
|
+
p + p { text-indent:2em; margin-top:-1.5em; }
|
|
12
|
+
form p + p { text-indent: 0; } /* Don't want this in forms. */
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* For great looking type, use this code instead of asdf:
|
|
16
|
+
<span class="alt">asdf</span>
|
|
17
|
+
Best used on prepositions and ampersands. */
|
|
18
|
+
|
|
19
|
+
.alt {
|
|
20
|
+
color: #666;
|
|
21
|
+
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
|
|
22
|
+
font-style: italic;
|
|
23
|
+
font-weight: normal;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* For great looking quote marks in titles, replace "asdf" with:
|
|
28
|
+
<span class="dquo">“</span>asdf”
|
|
29
|
+
(That is, when the title starts with a quote mark).
|
|
30
|
+
(You may have to change this value depending on your font size). */
|
|
31
|
+
|
|
32
|
+
.dquo { margin-left: -.5em; }
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/* Reduced size type with incremental leading
|
|
36
|
+
(http://www.markboulton.co.uk/journal/comments/incremental_leading/)
|
|
37
|
+
|
|
38
|
+
This could be used for side notes. For smaller type, you don't necessarily want to
|
|
39
|
+
follow the 1.5x vertical rhythm -- the line-height is too much.
|
|
40
|
+
|
|
41
|
+
Using this class, it reduces your font size and line-height so that for
|
|
42
|
+
every four lines of normal sized type, there is five lines of the sidenote. eg:
|
|
43
|
+
|
|
44
|
+
New type size in em's:
|
|
45
|
+
10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)
|
|
46
|
+
|
|
47
|
+
New line-height value:
|
|
48
|
+
12px x 1.5 = 18px (old line-height)
|
|
49
|
+
18px x 4 = 72px
|
|
50
|
+
72px / 5 = 14.4px (new line height)
|
|
51
|
+
14.4px / 10px = 1.44 (new line height in em's) */
|
|
52
|
+
|
|
53
|
+
p.incr, .incr p {
|
|
54
|
+
font-size: 10px;
|
|
55
|
+
line-height: 1.44em;
|
|
56
|
+
margin-bottom: 1.5em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
/* Surround uppercase words and abbreviations with this class.
|
|
61
|
+
Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
|
|
62
|
+
|
|
63
|
+
.caps {
|
|
64
|
+
font-variant: small-caps;
|
|
65
|
+
letter-spacing: 1px;
|
|
66
|
+
text-transform: lowercase;
|
|
67
|
+
font-size:1.2em;
|
|
68
|
+
line-height:1%;
|
|
69
|
+
font-weight:bold;
|
|
70
|
+
padding:0 2px;
|
|
71
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Link Icons
|
|
2
|
+
* Icons for links based on protocol or file type.
|
|
3
|
+
|
|
4
|
+
This is not supported in IE versions < 7.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Credits
|
|
8
|
+
----------------------------------------------------------------
|
|
9
|
+
|
|
10
|
+
* Marc Morgan
|
|
11
|
+
* Olav Bjorkoy [bjorkoy.com]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Usage
|
|
15
|
+
----------------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
1) Add this line to your HTML:
|
|
18
|
+
<link rel="stylesheet" href="css/blueprint/plugins/link-icons/screen.css" type="text/css" media="screen, projection">
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* --------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
link-icons.css
|
|
4
|
+
* Icons for links based on protocol or file type.
|
|
5
|
+
|
|
6
|
+
See the Readme file in this folder for additional instructions.
|
|
7
|
+
|
|
8
|
+
-------------------------------------------------------------- */
|
|
9
|
+
|
|
10
|
+
/* Use this class if a link gets an icon when it shouldn't. */
|
|
11
|
+
body a.noicon {
|
|
12
|
+
background:transparent none !important;
|
|
13
|
+
padding:0 !important;
|
|
14
|
+
margin:0 !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Make sure the icons are not cut */
|
|
18
|
+
a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
|
|
19
|
+
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
|
|
20
|
+
a[href$=".rdf"], a[href^="aim:"] {
|
|
21
|
+
padding:2px 22px 2px 0;
|
|
22
|
+
margin:-2px 0;
|
|
23
|
+
background-repeat: no-repeat;
|
|
24
|
+
background-position: right center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* External links */
|
|
28
|
+
a[href^="http:"] { background-image: url(icons/external.png); }
|
|
29
|
+
a[href^="mailto:"] { background-image: url(icons/email.png); }
|
|
30
|
+
a[href^="http:"]:visited { background-image: url(icons/visited.png); }
|
|
31
|
+
|
|
32
|
+
/* Files */
|
|
33
|
+
a[href$=".pdf"] { background-image: url(icons/pdf.png); }
|
|
34
|
+
a[href$=".doc"] { background-image: url(icons/doc.png); }
|
|
35
|
+
a[href$=".xls"] { background-image: url(icons/xls.png); }
|
|
36
|
+
|
|
37
|
+
/* Misc */
|
|
38
|
+
a[href$=".rss"],
|
|
39
|
+
a[href$=".rdf"] { background-image: url(icons/feed.png); }
|
|
40
|
+
a[href^="aim:"] { background-image: url(icons/im.png); }
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
RTL
|
|
2
|
+
* Mirrors Blueprint, so it can be used with Right-to-Left languages.
|
|
3
|
+
|
|
4
|
+
By Ran Yaniv Hartstein, ranh.co.il
|
|
5
|
+
|
|
6
|
+
Usage
|
|
7
|
+
----------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
1) Add this line to your HTML:
|
|
10
|
+
<link rel="stylesheet" href="css/blueprint/plugins/rtl/screen.css" type="text/css" media="screen, projection">
|