TwP-webby 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. data/History.txt +176 -0
  2. data/Manifest.txt +173 -0
  3. data/README.txt +92 -0
  4. data/Rakefile +50 -0
  5. data/bin/webby +8 -0
  6. data/bin/webby-gen +8 -0
  7. data/examples/blog/Sitefile +7 -0
  8. data/examples/blog/tasks/blog.rake +72 -0
  9. data/examples/blog/templates/atom_feed.erb +40 -0
  10. data/examples/blog/templates/blog/month.erb +22 -0
  11. data/examples/blog/templates/blog/post.erb +16 -0
  12. data/examples/blog/templates/blog/year.erb +22 -0
  13. data/examples/presentation/Sitefile +10 -0
  14. data/examples/presentation/content/css/uv/twilight.css +137 -0
  15. data/examples/presentation/content/presentation/_sample_code.txt +10 -0
  16. data/examples/presentation/content/presentation/index.txt +63 -0
  17. data/examples/presentation/content/presentation/s5/blank.gif +0 -0
  18. data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
  19. data/examples/presentation/content/presentation/s5/framing.css +23 -0
  20. data/examples/presentation/content/presentation/s5/iepngfix.htc +42 -0
  21. data/examples/presentation/content/presentation/s5/opera.css +7 -0
  22. data/examples/presentation/content/presentation/s5/outline.css +15 -0
  23. data/examples/presentation/content/presentation/s5/pretty.css +86 -0
  24. data/examples/presentation/content/presentation/s5/print.css +1 -0
  25. data/examples/presentation/content/presentation/s5/s5-core.css +9 -0
  26. data/examples/presentation/content/presentation/s5/slides.css +3 -0
  27. data/examples/presentation/content/presentation/s5/slides.js +553 -0
  28. data/examples/presentation/layouts/presentation.txt +43 -0
  29. data/examples/presentation/templates/_code_partial.erb +13 -0
  30. data/examples/presentation/templates/presentation.erb +40 -0
  31. data/examples/tumblog/Sitefile +9 -0
  32. data/examples/tumblog/content/css/tumblog.css +308 -0
  33. data/examples/tumblog/content/images/tumblog/permalink.gif +0 -0
  34. data/examples/tumblog/content/images/tumblog/rss.gif +0 -0
  35. data/examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
  36. data/examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
  37. data/examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
  38. data/examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
  39. data/examples/tumblog/content/tumblog/200807/up-a-tree/index.txt +13 -0
  40. data/examples/tumblog/content/tumblog/index.txt +37 -0
  41. data/examples/tumblog/content/tumblog/rss.txt +37 -0
  42. data/examples/tumblog/layouts/tumblog/default.txt +44 -0
  43. data/examples/tumblog/layouts/tumblog/post.txt +15 -0
  44. data/examples/tumblog/lib/tumblog_helper.rb +32 -0
  45. data/examples/tumblog/tasks/tumblog.rake +30 -0
  46. data/examples/tumblog/templates/atom_feed.erb +40 -0
  47. data/examples/tumblog/templates/tumblog/conversation.erb +12 -0
  48. data/examples/tumblog/templates/tumblog/link.erb +10 -0
  49. data/examples/tumblog/templates/tumblog/photo.erb +13 -0
  50. data/examples/tumblog/templates/tumblog/post.erb +12 -0
  51. data/examples/tumblog/templates/tumblog/quote.erb +11 -0
  52. data/examples/webby/Sitefile +19 -0
  53. data/examples/webby/content/communicate/index.txt +28 -0
  54. data/examples/webby/content/css/background.gif +0 -0
  55. data/examples/webby/content/css/blueprint/print.css +76 -0
  56. data/examples/webby/content/css/blueprint/screen.css +696 -0
  57. data/examples/webby/content/css/coderay.css +96 -0
  58. data/examples/webby/content/css/site.css +196 -0
  59. data/examples/webby/content/css/uv/twilight.css +137 -0
  60. data/examples/webby/content/index.txt +37 -0
  61. data/examples/webby/content/learn/index.txt +28 -0
  62. data/examples/webby/content/reference/index.txt +204 -0
  63. data/examples/webby/content/release-notes/rel-0-9-0/index.txt +73 -0
  64. data/examples/webby/content/robots.txt +6 -0
  65. data/examples/webby/content/script/jquery.corner.js +152 -0
  66. data/examples/webby/content/script/jquery.js +31 -0
  67. data/examples/webby/content/sitemap.txt +31 -0
  68. data/examples/webby/content/tips_and_tricks/index.txt +96 -0
  69. data/examples/webby/content/tutorial/index.txt +131 -0
  70. data/examples/webby/content/user-manual/index.txt +419 -0
  71. data/examples/webby/layouts/default.txt +49 -0
  72. data/examples/webby/templates/page.erb +10 -0
  73. data/examples/website/Sitefile +7 -0
  74. data/examples/website/content/css/blueprint/License.txt +21 -0
  75. data/examples/website/content/css/blueprint/Readme.txt +100 -0
  76. data/examples/website/content/css/blueprint/compressed/print.css +76 -0
  77. data/examples/website/content/css/blueprint/compressed/screen.css +696 -0
  78. data/examples/website/content/css/blueprint/lib/forms.css +45 -0
  79. data/examples/website/content/css/blueprint/lib/grid.css +193 -0
  80. data/examples/website/content/css/blueprint/lib/grid.png +0 -0
  81. data/examples/website/content/css/blueprint/lib/ie.css +30 -0
  82. data/examples/website/content/css/blueprint/lib/reset.css +39 -0
  83. data/examples/website/content/css/blueprint/lib/typography.css +116 -0
  84. data/examples/website/content/css/blueprint/plugins/buttons/Readme +31 -0
  85. data/examples/website/content/css/blueprint/plugins/buttons/buttons.css +97 -0
  86. data/examples/website/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
  87. data/examples/website/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
  88. data/examples/website/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
  89. data/examples/website/content/css/blueprint/plugins/css-classes/Readme +14 -0
  90. data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +24 -0
  91. data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +22 -0
  92. data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +5 -0
  93. data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type.css +74 -0
  94. data/examples/website/content/css/blueprint/print.css +68 -0
  95. data/examples/website/content/css/blueprint/screen.css +22 -0
  96. data/examples/website/content/css/coderay.css +111 -0
  97. data/examples/website/content/css/site.css +67 -0
  98. data/examples/website/content/index.txt +19 -0
  99. data/examples/website/layouts/default.txt +58 -0
  100. data/examples/website/lib/breadcrumbs.rb +28 -0
  101. data/examples/website/templates/_partial.erb +10 -0
  102. data/examples/website/templates/page.erb +18 -0
  103. data/examples/website/templates/presentation.erb +40 -0
  104. data/lib/webby/apps/generator.rb +283 -0
  105. data/lib/webby/apps/main.rb +221 -0
  106. data/lib/webby/apps.rb +12 -0
  107. data/lib/webby/auto_builder.rb +83 -0
  108. data/lib/webby/builder.rb +183 -0
  109. data/lib/webby/core_ext/enumerable.rb +11 -0
  110. data/lib/webby/core_ext/hash.rb +28 -0
  111. data/lib/webby/core_ext/kernel.rb +21 -0
  112. data/lib/webby/core_ext/string.rb +163 -0
  113. data/lib/webby/core_ext/time.rb +9 -0
  114. data/lib/webby/filters/basepath.rb +97 -0
  115. data/lib/webby/filters/erb.rb +9 -0
  116. data/lib/webby/filters/haml.rb +18 -0
  117. data/lib/webby/filters/markdown.rb +16 -0
  118. data/lib/webby/filters/outline.rb +309 -0
  119. data/lib/webby/filters/sass.rb +17 -0
  120. data/lib/webby/filters/slides.rb +56 -0
  121. data/lib/webby/filters/textile.rb +16 -0
  122. data/lib/webby/filters/tidy.rb +76 -0
  123. data/lib/webby/filters.rb +91 -0
  124. data/lib/webby/helpers/capture_helper.rb +141 -0
  125. data/lib/webby/helpers/coderay_helper.rb +69 -0
  126. data/lib/webby/helpers/graphviz_helper.rb +136 -0
  127. data/lib/webby/helpers/tag_helper.rb +65 -0
  128. data/lib/webby/helpers/tex_img_helper.rb +133 -0
  129. data/lib/webby/helpers/ultraviolet_helper.rb +63 -0
  130. data/lib/webby/helpers/url_helper.rb +235 -0
  131. data/lib/webby/helpers.rb +30 -0
  132. data/lib/webby/link_validator.rb +152 -0
  133. data/lib/webby/renderer.rb +379 -0
  134. data/lib/webby/resources/db.rb +251 -0
  135. data/lib/webby/resources/file.rb +221 -0
  136. data/lib/webby/resources/layout.rb +63 -0
  137. data/lib/webby/resources/page.rb +118 -0
  138. data/lib/webby/resources/partial.rb +79 -0
  139. data/lib/webby/resources/resource.rb +160 -0
  140. data/lib/webby/resources/static.rb +52 -0
  141. data/lib/webby/resources.rb +96 -0
  142. data/lib/webby/stelan/mktemp.rb +135 -0
  143. data/lib/webby/stelan/paginator.rb +150 -0
  144. data/lib/webby/stelan/spawner.rb +339 -0
  145. data/lib/webby/tasks/build.rake +27 -0
  146. data/lib/webby/tasks/create.rake +22 -0
  147. data/lib/webby/tasks/deploy.rake +22 -0
  148. data/lib/webby/tasks/growl.rake +15 -0
  149. data/lib/webby/tasks/heel.rake +28 -0
  150. data/lib/webby/tasks/validate.rake +19 -0
  151. data/lib/webby.rb +227 -0
  152. data/spec/core_ext/hash_spec.rb +47 -0
  153. data/spec/core_ext/string_spec.rb +110 -0
  154. data/spec/core_ext/time_spec.rb +19 -0
  155. data/spec/spec.opts +1 -0
  156. data/spec/spec_helper.rb +14 -0
  157. data/spec/webby/apps/generator_spec.rb +111 -0
  158. data/spec/webby/apps/main_spec.rb +75 -0
  159. data/spec/webby/helpers/capture_helper_spec.rb +56 -0
  160. data/spec/webby/resources/file_spec.rb +104 -0
  161. data/spec/webby/resources_spec.rb +17 -0
  162. data/tasks/ann.rake +81 -0
  163. data/tasks/bones.rake +21 -0
  164. data/tasks/gem.rake +126 -0
  165. data/tasks/git.rake +41 -0
  166. data/tasks/manifest.rake +49 -0
  167. data/tasks/notes.rake +28 -0
  168. data/tasks/post_load.rake +39 -0
  169. data/tasks/rdoc.rake +51 -0
  170. data/tasks/rubyforge.rake +57 -0
  171. data/tasks/setup.rb +268 -0
  172. data/tasks/spec.rake +55 -0
  173. data/tasks/website.rake +38 -0
  174. metadata +289 -0
@@ -0,0 +1,22 @@
1
+ ---
2
+ title: <%= title %>
3
+ created_at: <%= Time.now.to_y %>
4
+ filter: erb
5
+ dirty: true
6
+ ---
7
+ <h2><%%= h(@page.title) %></h2>
8
+
9
+ <%%
10
+ articles = @pages.find(:all, :in_directory => @page.dir, :recursive => true,
11
+ :sort_by => "created_at", :reverse => true, :blog_post => true)
12
+ articles.delete(@page)
13
+ paginate(articles, 10) do |page|
14
+ -%>
15
+ <div class="article">
16
+ <h1><%%= link_to_page(page) %><span class="date">(<%%= page.created_at.strftime('%Y-%m-%d') %>)</span></h1>
17
+
18
+ <div class="body">
19
+ <%%= render(page) %>
20
+ </div>
21
+ </div>
22
+ <%% end -%>
@@ -0,0 +1,10 @@
1
+
2
+ task :default => :build
3
+
4
+ desc 'deploy the site to the webserver'
5
+ task :deploy => [:build, 'deploy:rsync']
6
+
7
+ SITE.uv[:theme] = 'twilight'
8
+ SITE.uv[:line_numbers] = false
9
+
10
+ # EOF
@@ -0,0 +1,137 @@
1
+ pre.twilight .DiffInserted {
2
+ background-color: #253B22;
3
+ color: #F8F8F8;
4
+ }
5
+ pre.twilight .DiffHeader {
6
+ background-color: #0E2231;
7
+ color: #F8F8F8;
8
+ font-style: italic;
9
+ }
10
+ pre.twilight .CssPropertyValue {
11
+ color: #F9EE98;
12
+ }
13
+ pre.twilight .CCCPreprocessorDirective {
14
+ color: #AFC4DB;
15
+ }
16
+ pre.twilight .Constant {
17
+ color: #CF6A4C;
18
+ }
19
+ pre.twilight .DiffChanged {
20
+ background-color: #4A410D;
21
+ color: #F8F8F8;
22
+ }
23
+ pre.twilight .EmbeddedSource {
24
+ background-color: #A3A6AD;
25
+ }
26
+ pre.twilight .Support {
27
+ color: #9B859D;
28
+ }
29
+ pre.twilight .MarkupList {
30
+ color: #F9EE98;
31
+ }
32
+ pre.twilight .CssConstructorArgument {
33
+ color: #8F9D6A;
34
+ }
35
+ pre.twilight .Storage {
36
+ color: #F9EE98;
37
+ }
38
+ pre.twilight .line-numbers {
39
+ background-color: inherit;
40
+ color: #999999;
41
+ }
42
+ pre.twilight .CssClass {
43
+ color: #9B703F;
44
+ }
45
+ pre.twilight .StringConstant {
46
+ color: #DDF2A4;
47
+ }
48
+ pre.twilight .CssAtRule {
49
+ color: #8693A5;
50
+ }
51
+ pre.twilight .MetaTagInline {
52
+ color: #E0C589;
53
+ }
54
+ pre.twilight .MarkupHeading {
55
+ color: #CF6A4C;
56
+ }
57
+ pre.twilight .CssTagName {
58
+ color: #CDA869;
59
+ }
60
+ pre.twilight .SupportConstant {
61
+ color: #CF6A4C;
62
+ }
63
+ pre.twilight .DiffDeleted {
64
+ background-color: #420E09;
65
+ color: #F8F8F8;
66
+ }
67
+ pre.twilight .CCCPreprocessorLine {
68
+ color: #8996A8;
69
+ }
70
+ pre.twilight .StringRegexpSpecial {
71
+ color: #CF7D34;
72
+ }
73
+ pre.twilight .EmbeddedSourceBright {
74
+ background-color: #9C9EA4;
75
+ }
76
+ pre.twilight .InvalidIllegal {
77
+ background-color: #241A24;
78
+ color: #F8F8F8;
79
+ }
80
+ pre.twilight .SupportFunction {
81
+ color: #DAD085;
82
+ }
83
+ pre.twilight .CssAdditionalConstants {
84
+ color: #CA7840;
85
+ }
86
+ pre.twilight .MetaTagAll {
87
+ color: #AC885B;
88
+ }
89
+ pre.twilight .StringRegexp {
90
+ color: #E9C062;
91
+ }
92
+ pre.twilight .StringEmbeddedSource {
93
+ color: #DAEFA3;
94
+ }
95
+ pre.twilight .EntityInheritedClass {
96
+ color: #9B5C2E;
97
+ font-style: italic;
98
+ }
99
+ pre.twilight .CssId {
100
+ color: #8B98AB;
101
+ }
102
+ pre.twilight .CssPseudoClass {
103
+ color: #8F9D6A;
104
+ }
105
+ pre.twilight .StringVariable {
106
+ color: #8A9A95;
107
+ }
108
+ pre.twilight .String {
109
+ color: #8F9D6A;
110
+ }
111
+ pre.twilight .Keyword {
112
+ color: #CDA869;
113
+ }
114
+ pre.twilight {
115
+ background-color: #141414;
116
+ color: #F8F8F8;
117
+ }
118
+ pre.twilight .CssPropertyName {
119
+ color: #C5AF75;
120
+ }
121
+ pre.twilight .DoctypeXmlProcessing {
122
+ color: #494949;
123
+ }
124
+ pre.twilight .InvalidDeprecated {
125
+ color: #D2A8A1;
126
+ font-style: italic;
127
+ }
128
+ pre.twilight .Variable {
129
+ color: #7587A6;
130
+ }
131
+ pre.twilight .Entity {
132
+ color: #9B703F;
133
+ }
134
+ pre.twilight .Comment {
135
+ color: #5F5A60;
136
+ font-style: italic;
137
+ }
@@ -0,0 +1,10 @@
1
+ ---
2
+ filter: erb
3
+ ---
4
+ <% uv :lang => "ruby", :theme => 'twilight' do -%>
5
+ class A
6
+ def method()
7
+ puts "in class #{self.class.name}"
8
+ end
9
+ end
10
+ <% end -%>
@@ -0,0 +1,63 @@
1
+ ---
2
+ title: Webby S5
3
+ created_at: 2008-05-18 22:10:21.995012 -06:00
4
+ author: You
5
+ company: Company
6
+ copyright: Creative Commons
7
+ filter:
8
+ - erb
9
+ - textile
10
+ - slides
11
+ layout: presentation
12
+ ---
13
+ h1. Webby S5 Generator
14
+
15
+ Clever introductory text that will grab the audience's attention.
16
+
17
+
18
+ h1. Title of the First Slide
19
+
20
+ A little more build up before really getting into the meat of it.
21
+
22
+
23
+ h1. Title of the Second Slide
24
+
25
+ Finally, some code!
26
+
27
+ <% uv :lang => "ragel", :theme => 'twilight' do -%>
28
+ action dgt { printf("DGT: %c\n", fc); }
29
+ action dec { printf("DEC: .\n"); }
30
+ action exp { printf("EXP: %c\n", fc); }
31
+ action exp_sign { printf("SGN: %c\n", fc); }
32
+ action number { /*NUMBER*/ }
33
+
34
+ number = (
35
+ [0-9]+ $dgt ( '.' @dec [0-9]+ $dgt )?
36
+ ( [eE] ( [+\-] $exp_sign )? [0-9]+ $exp )?
37
+ ) %number;
38
+
39
+ main := ( number '\n' )*;
40
+ <% end -%>
41
+
42
+
43
+ h1. Title of the Third Slide
44
+
45
+ This code comes from a partial
46
+
47
+ <%= render :partial => 'sample_code', :guard => true %>
48
+
49
+
50
+ h1. Title of the Fourth Slide
51
+
52
+ A quadratic equation with real or complex coefficients has two (not necessarily distinct) solutions, called roots, which may or may not be real, given by the quadratic formula:
53
+
54
+ <% tex2img 'quadratic', :path => 'images', :alt => 'quadratic', :resolution => '300x300' do -%>
55
+ x = \frac{-b\pm\sqrt[]{b^2-4ac}}{2a}
56
+ <% end -%>
57
+
58
+
59
+ h1. The Final Slide
60
+
61
+ And that about sums it up!
62
+
63
+ Thanks for visiting
@@ -0,0 +1,23 @@
1
+ /* The following styles size, place, and layer the slide components.
2
+ Edit these if you want to change the overall slide layout.
3
+ The commented lines can be uncommented (and modified, if necessary)
4
+ to help you with the rearrangement process. */
5
+
6
+ /* target = 1024x768 */
7
+
8
+ div#header, div#footer, .slide {width: 100%; top: 0; left: 0;}
9
+ div#header {top: 0; height: 3em; z-index: 1;}
10
+ div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;}
11
+ .slide {top: 0; width: 92%; padding: 3.5em 4% 4%; z-index: 2; list-style: none;}
12
+ div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;}
13
+ div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
14
+ margin: 0;}
15
+ #currentSlide {position: absolute; width: 10%; left: 45%; bottom: 1em; z-index: 10;}
16
+ html>body #currentSlide {position: fixed;}
17
+
18
+ /*
19
+ div#header {background: #FCC;}
20
+ div#footer {background: #CCF;}
21
+ div#controls {background: #BBD;}
22
+ div#currentSlide {background: #FFC;}
23
+ */
@@ -0,0 +1,42 @@
1
+ <public:component>
2
+ <public:attach event="onpropertychange" onevent="doFix()" />
3
+
4
+ <script>
5
+
6
+ // IE5.5+ PNG Alpha Fix v1.0 by Angus Turnbull http://www.twinhelix.com
7
+ // Free usage permitted as long as this notice remains intact.
8
+
9
+ // This must be a path to a blank image. That's all the configuration you need here.
10
+ var blankImg = 'ui/default/blank.gif';
11
+
12
+ var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
13
+
14
+ function filt(s, m) {
15
+ if (filters[f]) {
16
+ filters[f].enabled = s ? true : false;
17
+ if (s) with (filters[f]) { src = s; sizingMethod = m }
18
+ } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
19
+ }
20
+
21
+ function doFix() {
22
+ if ((parseFloat(navigator.userAgent.match(/MSIE (\S+)/)[1]) < 5.5) ||
23
+ (event && !/(background|src)/.test(event.propertyName))) return;
24
+
25
+ if (tagName == 'IMG') {
26
+ if ((/\.png$/i).test(src)) {
27
+ filt(src, 'image'); // was 'scale'
28
+ src = blankImg;
29
+ } else if (src.indexOf(blankImg) < 0) filt();
30
+ } else if (style.backgroundImage) {
31
+ if (style.backgroundImage.match(/^url[("']+(.*\.png)[)"']+$/i)) {
32
+ var s = RegExp.$1;
33
+ style.backgroundImage = '';
34
+ filt(s, 'crop');
35
+ } else filt();
36
+ }
37
+ }
38
+
39
+ doFix();
40
+
41
+ </script>
42
+ </public:component>
@@ -0,0 +1,7 @@
1
+ /* DO NOT CHANGE THESE unless you really want to break Opera Show */
2
+ .slide {
3
+ visibility: visible !important;
4
+ position: static !important;
5
+ page-break-before: always;
6
+ }
7
+ #slide0 {page-break-before: avoid;}
@@ -0,0 +1,15 @@
1
+ /* don't change this unless you want the layout stuff to show up in the outline view! */
2
+
3
+ .layout div, #footer *, #controlForm * {display: none;}
4
+ #footer, #controls, #controlForm, #navLinks, #toggle {
5
+ display: block; visibility: visible; margin: 0; padding: 0;}
6
+ #toggle {float: right; padding: 0.5em;}
7
+ html>body #toggle {position: fixed; top: 0; right: 0;}
8
+
9
+ /* making the outline look pretty-ish */
10
+
11
+ #slide0 h1, #slide0 h2, #slide0 h3, #slide0 h4 {border: none; margin: 0;}
12
+ #slide0 h1 {padding-top: 1.5em;}
13
+ .slide h1 {margin: 1.5em 0 0; padding-top: 0.25em;
14
+ border-top: 1px solid #888; border-bottom: 1px solid #AAA;}
15
+ #toggle {border: 1px solid; border-width: 0 0 1px 1px; background: #FFF;}
@@ -0,0 +1,86 @@
1
+ /* Following are the presentation styles -- edit away! */
2
+
3
+ body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2em;}
4
+ :link, :visited {text-decoration: none; color: #00C;}
5
+ #controls :active {color: #88A !important;}
6
+ #controls :focus {outline: 1px dotted #227;}
7
+ h1, h2, h3, h4 {font-size: 100%; margin: 0; padding: 0; font-weight: inherit;}
8
+ ul, pre {margin: 0; line-height: 1em;}
9
+ html, body {margin: 0; padding: 0;}
10
+
11
+ blockquote, q {font-style: italic;}
12
+ blockquote {padding: 0 2em 0.5em; margin: 0 1.5em 0.5em; text-align: center; font-size: 1em;}
13
+ blockquote p {margin: 0;}
14
+ blockquote i {font-style: normal;}
15
+ blockquote b {display: block; margin-top: 0.5em; font-weight: normal; font-size: smaller; font-style: normal;}
16
+ blockquote b i {font-style: italic;}
17
+
18
+ kbd {font-weight: bold; font-size: 1em;}
19
+ sup {font-size: smaller; line-height: 1px;}
20
+
21
+ .slide code {padding: 2px 0.25em; font-weight: bold; color: #533;}
22
+ .slide code.bad, code del {color: red;}
23
+ .slide code.old {color: silver;}
24
+ .slide pre {padding: 0; margin: 0.25em 0 0.5em 0.5em; color: #533; font-size: 90%;}
25
+ .slide pre code {display: block;}
26
+ .slide ul {margin-left: 5%; margin-right: 7%; list-style: disc;}
27
+ .slide li {margin-top: 0.75em; margin-right: 0;}
28
+ .slide ul ul {line-height: 1;}
29
+ .slide ul ul li {margin: .2em; font-size: 85%; list-style: square;}
30
+ .slide img.leader {display: block; margin: 0 auto;}
31
+
32
+ div#header, div#footer {background: #005; color: #AAB;
33
+ font-family: Verdana, Helvetica, sans-serif;}
34
+ div#header {background: #005 url(bodybg.gif) -16px 0 no-repeat;
35
+ line-height: 1px;}
36
+ div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;}
37
+ #footer h1, #footer h2 {display: block; padding: 0 1em;}
38
+ #footer h2 {font-style: italic;}
39
+
40
+ div.long {font-size: 0.75em;}
41
+ .slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1;
42
+ margin: 0; padding: 0.3em 0 0 50px; white-space: nowrap;
43
+ font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize;
44
+ color: #DDE; background: #005;}
45
+ .slide h3 {font-size: 130%;}
46
+ h1 abbr {font-variant: small-caps;}
47
+
48
+ div#controls {position: absolute; left: 50%; bottom: 0;
49
+ width: 50%;
50
+ text-align: right; font: bold 0.9em Verdana, Helvetica, sans-serif;}
51
+ html>body div#controls {position: fixed; padding: 0 0 1em 0;
52
+ top: auto;}
53
+ div#controls form {position: absolute; bottom: 0; right: 0; width: 100%;
54
+ margin: 0; padding: 0;}
55
+ #controls #navLinks a {padding: 0; margin: 0 0.5em;
56
+ background: #005; border: none; color: #779;
57
+ cursor: pointer;}
58
+ #controls #navList {height: 1em;}
59
+ #controls #navList #jumplist {position: absolute; bottom: 0; right: 0; background: #DDD; color: #227;}
60
+
61
+ #currentSlide {text-align: center; font-size: 0.5em; color: #449;}
62
+
63
+ #slide0 {padding-top: 3.5em; font-size: 90%;}
64
+ #slide0 h1 {position: static; margin: 1em 0 0; padding: 0;
65
+ font: bold 2em Helvetica, sans-serif; white-space: normal;
66
+ color: #000; background: transparent;}
67
+ #slide0 h2 {font: bold italic 1em Helvetica, sans-serif; margin: 0.25em;}
68
+ #slide0 h3 {margin-top: 1.5em; font-size: 1.5em;}
69
+ #slide0 h4 {margin-top: 0; font-size: 1em;}
70
+
71
+ ul.urls {list-style: none; display: inline; margin: 0;}
72
+ .urls li {display: inline; margin: 0;}
73
+ .note {display: none;}
74
+ .external {border-bottom: 1px dotted gray;}
75
+ html>body .external {border-bottom: none;}
76
+ .external:after {content: " \274F"; font-size: smaller; color: #77B;}
77
+
78
+ .incremental, .incremental *, .incremental *:after {color: #DDE; visibility: visible;}
79
+ img.incremental {visibility: hidden;}
80
+ .slide .current {color: #B02;}
81
+
82
+
83
+ /* diagnostics
84
+
85
+ li:after {content: " [" attr(class) "]"; color: #F88;}
86
+ */
@@ -0,0 +1 @@
1
+ /* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */
@@ -0,0 +1,9 @@
1
+ /* Do not edit or override these styles! The system will likely break if you do. */
2
+
3
+ div#header, div#footer, div#controls, .slide {position: absolute;}
4
+ html>body div#header, html>body div#footer,
5
+ html>body div#controls, html>body .slide {position: fixed;}
6
+ .handout {display: none;}
7
+ .layout {display: block;}
8
+ .slide, .hideme, .incremental {visibility: hidden;}
9
+ #slide0 {visibility: visible;}
@@ -0,0 +1,3 @@
1
+ @import url(s5-core.css); /* required to make the slide show run at all */
2
+ @import url(framing.css); /* sets basic placement and size of slide components */
3
+ @import url(pretty.css); /* stuff that makes the slides look better than blah */