webby 0.9.3-x86-mswin32 → 0.9.4-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/History.txt +20 -0
  2. data/{README.txt → README.rdoc} +9 -9
  3. data/Rakefile +19 -6
  4. data/examples/blog/content/css/blueprint/ie.css +26 -0
  5. data/examples/blog/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  6. data/examples/blog/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  7. data/examples/blog/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  8. data/examples/{website/content/css/blueprint/plugins/buttons/Readme → blog/content/css/blueprint/plugins/buttons/readme.txt} +3 -2
  9. data/examples/{website/content/css/blueprint/plugins/buttons/buttons.css → blog/content/css/blueprint/plugins/buttons/screen.css} +1 -1
  10. data/examples/blog/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  11. data/examples/{website/content/css/blueprint/plugins/fancy-type/fancy-type.css → blog/content/css/blueprint/plugins/fancy-type/screen.css} +2 -5
  12. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  13. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  14. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  15. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  16. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  17. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  18. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  19. data/examples/blog/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  20. data/examples/blog/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  21. data/examples/blog/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  22. data/examples/blog/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  23. data/examples/blog/content/css/blueprint/plugins/rtl/screen.css +109 -0
  24. data/examples/blog/content/css/blueprint/print.css +30 -0
  25. data/examples/blog/content/css/blueprint/screen.css +251 -0
  26. data/examples/blog/content/css/blueprint/src/forms.css +49 -0
  27. data/examples/blog/content/css/blueprint/src/grid.css +212 -0
  28. data/examples/{website/content/css/blueprint/lib → blog/content/css/blueprint/src}/grid.png +0 -0
  29. data/examples/blog/content/css/blueprint/src/ie.css +59 -0
  30. data/examples/blog/content/css/blueprint/src/print.css +85 -0
  31. data/examples/{website/content/css/blueprint/lib → blog/content/css/blueprint/src}/reset.css +14 -15
  32. data/examples/blog/content/css/blueprint/src/typography.css +105 -0
  33. data/examples/blog/content/css/coderay.css +111 -0
  34. data/examples/blog/content/css/site.css +67 -0
  35. data/examples/blog/layouts/default.txt +61 -0
  36. data/examples/blog/tasks/blog.rake +5 -1
  37. data/examples/presentation/Sitefile +2 -2
  38. data/examples/tumblog/tasks/tumblog.rake +5 -1
  39. data/examples/webby/Sitefile +2 -2
  40. data/examples/webby/content/communicate/index.txt +2 -2
  41. data/examples/webby/content/index.txt +1 -1
  42. data/examples/webby/content/release-notes/rel-0-9-3/index.txt +0 -2
  43. data/examples/webby/content/release-notes/rel-0-9-4/index.txt +33 -0
  44. data/examples/webby/content/sitemap.txt +2 -2
  45. data/examples/webby/content/user-manual/index.txt +3 -3
  46. data/examples/website/content/css/blueprint/ie.css +26 -0
  47. data/examples/website/content/css/blueprint/plugins/buttons/readme.txt +32 -0
  48. data/examples/website/content/css/blueprint/plugins/buttons/screen.css +97 -0
  49. data/examples/website/content/css/blueprint/plugins/fancy-type/readme.txt +14 -0
  50. data/examples/website/content/css/blueprint/plugins/fancy-type/screen.css +71 -0
  51. data/examples/website/content/css/blueprint/plugins/link-icons/icons/doc.png +0 -0
  52. data/examples/website/content/css/blueprint/plugins/link-icons/icons/email.png +0 -0
  53. data/examples/website/content/css/blueprint/plugins/link-icons/icons/external.png +0 -0
  54. data/examples/website/content/css/blueprint/plugins/link-icons/icons/feed.png +0 -0
  55. data/examples/website/content/css/blueprint/plugins/link-icons/icons/im.png +0 -0
  56. data/examples/website/content/css/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  57. data/examples/website/content/css/blueprint/plugins/link-icons/icons/visited.png +0 -0
  58. data/examples/website/content/css/blueprint/plugins/link-icons/icons/xls.png +0 -0
  59. data/examples/website/content/css/blueprint/plugins/link-icons/readme.txt +18 -0
  60. data/examples/website/content/css/blueprint/plugins/link-icons/screen.css +40 -0
  61. data/examples/website/content/css/blueprint/plugins/rtl/readme.txt +10 -0
  62. data/examples/website/content/css/blueprint/plugins/rtl/screen.css +109 -0
  63. data/examples/website/content/css/blueprint/print.css +30 -68
  64. data/examples/website/content/css/blueprint/screen.css +251 -22
  65. data/examples/website/content/css/blueprint/src/forms.css +49 -0
  66. data/examples/website/content/css/blueprint/src/grid.css +212 -0
  67. data/examples/website/content/css/blueprint/src/grid.png +0 -0
  68. data/examples/website/content/css/blueprint/src/ie.css +59 -0
  69. data/examples/website/content/css/blueprint/src/print.css +85 -0
  70. data/examples/website/content/css/blueprint/src/reset.css +38 -0
  71. data/examples/website/content/css/blueprint/src/typography.css +105 -0
  72. data/examples/website/layouts/default.txt +5 -2
  73. data/lib/webby.rb +36 -102
  74. data/lib/webby/apps/generator.rb +2 -2
  75. data/lib/webby/apps/main.rb +36 -62
  76. data/lib/webby/auto_builder.rb +3 -3
  77. data/lib/webby/builder.rb +5 -13
  78. data/lib/webby/config.rb +172 -0
  79. data/lib/webby/filters.rb +2 -0
  80. data/lib/webby/filters/haml.rb +13 -0
  81. data/lib/webby/filters/maruku.rb +16 -0
  82. data/lib/webby/filters/outline.rb +1 -1
  83. data/lib/webby/filters/sass.rb +14 -0
  84. data/lib/webby/filters/slides.rb +2 -2
  85. data/lib/webby/filters/tidy.rb +5 -0
  86. data/lib/webby/helpers/coderay_helper.rb +27 -3
  87. data/lib/webby/helpers/graphviz_helper.rb +20 -3
  88. data/lib/webby/helpers/tex_img_helper.rb +25 -5
  89. data/lib/webby/helpers/ultraviolet_helper.rb +19 -5
  90. data/lib/webby/link_validator.rb +59 -51
  91. data/lib/webby/renderer.rb +9 -6
  92. data/lib/webby/resources.rb +2 -1
  93. data/lib/webby/resources/page.rb +4 -1
  94. data/lib/webby/tasks/create.rake +1 -1
  95. data/lib/webby/tasks/validate.rake +1 -1
  96. data/spec/data/html/anchor.html +11 -0
  97. data/spec/data/html/external.html +10 -0
  98. data/spec/data/html/invalid-relative.html +10 -0
  99. data/spec/data/html/relative-anchor.html +10 -0
  100. data/spec/data/html/relative-invalid-anchor.html +10 -0
  101. data/spec/data/html/relative.html +10 -0
  102. data/spec/data/site/tasks/tumblog.rake +5 -1
  103. data/spec/spec_helper.rb +8 -1
  104. data/spec/webby/apps/generator_spec.rb +36 -3
  105. data/spec/webby/apps/main_spec.rb +2 -1
  106. data/spec/webby/filters/basepath_spec.rb +2 -2
  107. data/spec/webby/filters/maruku_spec.rb +31 -0
  108. data/spec/webby/filters/textile_spec.rb +15 -4
  109. data/spec/webby/helpers/capture_helper_spec.rb +1 -1
  110. data/spec/webby/link_validator_spec.rb +154 -0
  111. data/spec/webby/resources/db_spec.rb +24 -24
  112. data/spec/webby/resources/layout_spec.rb +1 -1
  113. data/spec/webby/resources/page_spec.rb +8 -2
  114. data/spec/webby/resources/resource_spec.rb +1 -1
  115. data/spec/webby/resources_spec.rb +1 -1
  116. data/tasks/ann.rake +1 -2
  117. data/tasks/bones.rake +0 -1
  118. data/tasks/gem.rake +48 -34
  119. data/tasks/git.rake +0 -1
  120. data/tasks/mswin32.rake +38 -0
  121. data/tasks/notes.rake +0 -1
  122. data/tasks/post_load.rake +4 -9
  123. data/tasks/rdoc.rake +4 -4
  124. data/tasks/setup.rb +50 -26
  125. data/tasks/spec.rake +1 -2
  126. data/tasks/svn.rake +47 -0
  127. data/tasks/test.rake +40 -0
  128. data/tasks/website.rake +0 -1
  129. data/tasks/zentest.rake +36 -0
  130. metadata +104 -33
  131. data/Manifest.txt +0 -228
  132. data/examples/website/content/css/blueprint/License.txt +0 -21
  133. data/examples/website/content/css/blueprint/Readme.txt +0 -100
  134. data/examples/website/content/css/blueprint/compressed/print.css +0 -76
  135. data/examples/website/content/css/blueprint/compressed/screen.css +0 -696
  136. data/examples/website/content/css/blueprint/lib/forms.css +0 -45
  137. data/examples/website/content/css/blueprint/lib/grid.css +0 -193
  138. data/examples/website/content/css/blueprint/lib/ie.css +0 -30
  139. data/examples/website/content/css/blueprint/lib/typography.css +0 -116
  140. data/examples/website/content/css/blueprint/plugins/css-classes/Readme +0 -14
  141. data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +0 -24
  142. data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +0 -22
  143. data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +0 -5
  144. data/lib/webby/stelan/spawner.rb +0 -339
  145. data/tasks/manifest.rake +0 -48
@@ -1,3 +1,23 @@
1
+ == 0.9.4 / 2009-04-05
2
+
3
+ * 6 minor enhancements
4
+ - Added a Maruku filter (thanks to Martyn Loughran)
5
+ - Updated to version 0.8.0 of Blueprint css
6
+ - Better handling of errors generated by filters
7
+ - Modified how the editor is spawned when creating pages
8
+ - URLs for index pages now have a trailing slash
9
+ - Configuration options now have nice descriptions
10
+ webby --options
11
+ * 7 bug fixes
12
+ - Fixed haml & sass option handling [Alex Brem]
13
+ - Work around for a parsing bug in the rdiscount gem (markdown handling)
14
+ - Editor launching now handles switches passed to the editor
15
+ - When a page fails to render, it no longer writes an empty file to
16
+ the output folder (thereby overwriting the last good page)
17
+ - Pagination bug
18
+ - Presentation slides were not being found when headers had attributes
19
+ - The blog template now has all the CSS files
20
+
1
21
  == 0.9.3 / 2008-10-08
2
22
 
3
23
  * 4 minor enhancements
@@ -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 _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.
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 "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/
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 "rake":http://docs.rubyrake.org/ tasks for deploying your website to a server
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 "heel":http://copiousfreetime.rubyforge.org/heel/, a static file webserver based on mongrel. Whenever you change a page, you can immediately see those changes without having to run any commands.
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,14 @@
1
1
 
2
- load 'tasks/setup.rb'
2
+ begin
3
+ require 'bones'
4
+ Bones.setup
5
+ rescue LoadError
6
+ begin
7
+ load 'tasks/setup.rb'
8
+ rescue LoadError
9
+ raise RuntimeError, '### please install the "bones" gem ###'
10
+ end
11
+ end
3
12
 
4
13
  ensure_in_path 'lib'
5
14
  require 'webby'
@@ -7,27 +16,30 @@ require 'webby'
7
16
  task :default => 'spec:specdoc'
8
17
 
9
18
  PROJ.name = 'webby'
10
- PROJ.summary = 'static website creation and management'
19
+ PROJ.summary = 'Awesome static website creation and management!'
11
20
  PROJ.authors = 'Tim Pease'
12
21
  PROJ.email = 'tim.pease@gmail.com'
13
22
  PROJ.url = 'http://webby.rubyforge.org/'
14
- PROJ.description = paragraphs_of('README.txt', 3).join("\n\n")
15
23
  PROJ.rubyforge.name = 'webby'
16
24
  PROJ.version = Webby::VERSION
17
- PROJ.release_name = 'Bill Gates Alien Love Child'
25
+ PROJ.release_name = 'Supertaculous'
26
+ PROJ.readme_file = 'README.rdoc'
27
+ PROJ.ignore_file = '.gitignore'
18
28
 
19
29
  PROJ.ruby_opts = %w[-W0]
20
- PROJ.exclude << %w(^examples/[^/]+/output ^tasks/archive ^tags$ ^webby.gemspec$)
30
+ PROJ.exclude << %w(^webby.gemspec$)
21
31
 
22
32
  PROJ.rdoc.dir = 'doc/rdoc'
23
33
  PROJ.rdoc.remote_dir = 'rdoc'
24
34
  PROJ.rdoc.exclude << %w(^examples)
35
+ PROJ.rdoc.include << PROJ.readme_file
25
36
 
26
37
  PROJ.spec.opts << '--color'
27
38
 
28
39
  PROJ.ann.email[:to] << 'webby-forum@googlegroups.com'
29
40
  PROJ.ann.email[:server] = 'smtp.gmail.com'
30
41
  PROJ.ann.email[:port] = 587
42
+ PROJ.ann.email[:from] = 'Tim Pease'
31
43
 
32
44
  PROJ.ann.text = <<-ANN
33
45
  == POST SCRIPT
@@ -40,9 +52,10 @@ TwP
40
52
  ANN
41
53
 
42
54
  depend_on 'directory_watcher'
43
- depend_on 'hpricot', '= 0.6.0'
55
+ depend_on 'hpricot', '>= 0.6.0'
44
56
  depend_on 'launchy'
45
57
  depend_on 'logging'
58
+ depend_on 'loquacious'
46
59
  depend_on 'rake'
47
60
  depend_on 'rspec'
48
61
 
@@ -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 line to "blueprint/screen.css":
17
- @import 'plugins/buttons/buttons.css';
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
 
@@ -13,7 +13,7 @@
13
13
  a.button, button {
14
14
  display:block;
15
15
  float:left;
16
- margin:0 0.583em 0.667em 0;
16
+ margin: 0.7em 0.5em 0.7em 0;
17
17
  padding:5px 10px 5px 7px; /* Links */
18
18
 
19
19
  border:1px solid #dedede;
@@ -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.
@@ -9,11 +9,8 @@
9
9
 
10
10
  /* Indentation instead of line shifts for sibling paragraphs. */
11
11
  p + p { text-indent:2em; margin-top:-1.5em; }
12
-
13
- /* Ornaments on first paragraph.
14
- Commented out by default. Use with care.
15
- p:before { content: "\2767"; padding-right: 0.4em; }
16
- p + p:before { content: ""; padding:0; } */
12
+ form p + p { text-indent: 0; } /* Don't want this in forms. */
13
+
17
14
 
18
15
  /* For great looking type, use this code instead of asdf:
19
16
  <span class="alt">asdf</span>
@@ -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">
@@ -0,0 +1,109 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ rtl.css
4
+ * Mirrors Blueprint for left-to-right languages
5
+
6
+ By Ran Yaniv Hartstein [ranh.co.il]
7
+
8
+ -------------------------------------------------------------- */
9
+
10
+ body .container { direction: rtl; }
11
+ body .column {
12
+ float: right;
13
+ margin-right: 0;
14
+ margin-left: 10px;
15
+ }
16
+
17
+ body .last { margin-left: 0; }
18
+ body table .last { padding-left: 0; }
19
+
20
+ body .append-1 { padding-right: 0; padding-left: 40px; }
21
+ body .append-2 { padding-right: 0; padding-left: 80px; }
22
+ body .append-3 { padding-right: 0; padding-left: 120px; }
23
+ body .append-4 { padding-right: 0; padding-left: 160px; }
24
+ body .append-5 { padding-right: 0; padding-left: 200px; }
25
+ body .append-6 { padding-right: 0; padding-left: 240px; }
26
+ body .append-7 { padding-right: 0; padding-left: 280px; }
27
+ body .append-8 { padding-right: 0; padding-left: 320px; }
28
+ body .append-9 { padding-right: 0; padding-left: 360px; }
29
+ body .append-10 { padding-right: 0; padding-left: 400px; }
30
+ body .append-11 { padding-right: 0; padding-left: 440px; }
31
+ body .append-12 { padding-right: 0; padding-left: 480px; }
32
+ body .append-13 { padding-right: 0; padding-left: 520px; }
33
+ body .append-14 { padding-right: 0; padding-left: 560px; }
34
+ body .append-15 { padding-right: 0; padding-left: 600px; }
35
+ body .append-16 { padding-right: 0; padding-left: 640px; }
36
+ body .append-17 { padding-right: 0; padding-left: 680px; }
37
+ body .append-18 { padding-right: 0; padding-left: 720px; }
38
+ body .append-19 { padding-right: 0; padding-left: 760px; }
39
+ body .append-20 { padding-right: 0; padding-left: 800px; }
40
+ body .append-21 { padding-right: 0; padding-left: 840px; }
41
+ body .append-22 { padding-right: 0; padding-left: 880px; }
42
+ body .append-23 { padding-right: 0; padding-left: 920px; }
43
+
44
+ body .prepend-1 { padding-left: 0; padding-right: 40px; }
45
+ body .prepend-2 { padding-left: 0; padding-right: 80px; }
46
+ body .prepend-3 { padding-left: 0; padding-right: 120px; }
47
+ body .prepend-4 { padding-left: 0; padding-right: 160px; }
48
+ body .prepend-5 { padding-left: 0; padding-right: 200px; }
49
+ body .prepend-6 { padding-left: 0; padding-right: 240px; }
50
+ body .prepend-7 { padding-left: 0; padding-right: 280px; }
51
+ body .prepend-8 { padding-left: 0; padding-right: 320px; }
52
+ body .prepend-9 { padding-left: 0; padding-right: 360px; }
53
+ body .prepend-10 { padding-left: 0; padding-right: 400px; }
54
+ body .prepend-11 { padding-left: 0; padding-right: 440px; }
55
+ body .prepend-12 { padding-left: 0; padding-right: 480px; }
56
+ body .prepend-13 { padding-left: 0; padding-right: 520px; }
57
+ body .prepend-14 { padding-left: 0; padding-right: 560px; }
58
+ body .prepend-15 { padding-left: 0; padding-right: 600px; }
59
+ body .prepend-16 { padding-left: 0; padding-right: 640px; }
60
+ body .prepend-17 { padding-left: 0; padding-right: 680px; }
61
+ body .prepend-18 { padding-left: 0; padding-right: 720px; }
62
+ body .prepend-19 { padding-left: 0; padding-right: 760px; }
63
+ body .prepend-20 { padding-left: 0; padding-right: 800px; }
64
+ body .prepend-21 { padding-left: 0; padding-right: 840px; }
65
+ body .prepend-22 { padding-left: 0; padding-right: 880px; }
66
+ body .prepend-23 { padding-left: 0; padding-right: 920px; }
67
+
68
+ body .border {
69
+ padding-right: 0;
70
+ padding-left: 4px;
71
+ margin-right: 0;
72
+ margin-left: 5px;
73
+ border-right: none;
74
+ border-left: 1px solid #eee;
75
+ }
76
+
77
+ body .colborder {
78
+ padding-right: 0;
79
+ padding-left: 24px;
80
+ margin-right: 0;
81
+ margin-left: 25px;
82
+ border-right: none;
83
+ border-left: 1px solid #eee;
84
+ }
85
+
86
+ body .pull-1 { margin-left: 0; margin-right: -40px; }
87
+ body .pull-2 { margin-left: 0; margin-right: -80px; }
88
+ body .pull-3 { margin-left: 0; margin-right: -120px; }
89
+ body .pull-4 { margin-left: 0; margin-right: -160px; }
90
+
91
+ body .push-0 { margin: 0 18px 0 0; }
92
+ body .push-1 { margin: 0 18px 0 -40px; }
93
+ body .push-2 { margin: 0 18px 0 -80px; }
94
+ body .push-3 { margin: 0 18px 0 -120px; }
95
+ body .push-4 { margin: 0 18px 0 -160px; }
96
+ body .push-0, body .push-1, body .push-2,
97
+ body .push-3, body .push-4 { float: left; }
98
+
99
+
100
+ /* Typography with RTL support */
101
+ body h1,body h2,body h3,
102
+ body h4,body h5,body h6 { font-family: Arial, sans-serif; }
103
+ html body { font-family: Arial, sans-serif; }
104
+ body pre,body code,body tt { font-family: monospace; }
105
+
106
+ /* Mirror floats and margins on typographic elements */
107
+ body p img { float: right; margin: 1.5em 0 1.5em 1.5em; }
108
+ body dd, body ul, body ol { margin-left: 0; margin-right: 1.5em;}
109
+ body td, body th { text-align:right; }
@@ -0,0 +1,30 @@
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
+ /* print.css */
15
+ body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;}
16
+ .container {background:none;}
17
+ hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;}
18
+ hr.space {background:#fff;color:#fff;}
19
+ h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;}
20
+ code {font:.9em "Courier New", Monaco, Courier, monospace;}
21
+ img {float:left;margin:1.5em 1.5em 1.5em 0;}
22
+ a img {border:none;}
23
+ p img.top {margin-top:0;}
24
+ blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;}
25
+ .small {font-size:.9em;}
26
+ .large {font-size:1.1em;}
27
+ .quiet {color:#999;}
28
+ .hide {display:none;}
29
+ a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;}
30
+ a:link:after, a:visited:after {content:" (" attr(href) ") ";font-size:90%;}