webby 0.9.3-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +206 -0
- data/Manifest.txt +228 -0
- data/README.txt +92 -0
- data/Rakefile +49 -0
- data/bin/webby +41 -0
- data/bin/webby-gen +41 -0
- data/examples/blog/Sitefile +7 -0
- data/examples/blog/tasks/blog.rake +72 -0
- data/examples/blog/templates/atom_feed.erb +40 -0
- data/examples/blog/templates/blog/month.erb +22 -0
- data/examples/blog/templates/blog/post.erb +16 -0
- data/examples/blog/templates/blog/year.erb +22 -0
- data/examples/presentation/Sitefile +10 -0
- data/examples/presentation/content/css/uv/twilight.css +137 -0
- data/examples/presentation/content/presentation/_sample_code.txt +10 -0
- data/examples/presentation/content/presentation/index.txt +63 -0
- data/examples/presentation/content/presentation/s5/blank.gif +0 -0
- data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
- data/examples/presentation/content/presentation/s5/framing.css +23 -0
- data/examples/presentation/content/presentation/s5/iepngfix.htc +42 -0
- data/examples/presentation/content/presentation/s5/opera.css +7 -0
- data/examples/presentation/content/presentation/s5/outline.css +15 -0
- data/examples/presentation/content/presentation/s5/pretty.css +86 -0
- data/examples/presentation/content/presentation/s5/print.css +25 -0
- data/examples/presentation/content/presentation/s5/s5-core.css +9 -0
- data/examples/presentation/content/presentation/s5/slides.css +3 -0
- data/examples/presentation/content/presentation/s5/slides.js +553 -0
- data/examples/presentation/layouts/presentation.txt +43 -0
- data/examples/presentation/templates/_code_partial.erb +13 -0
- data/examples/presentation/templates/presentation.erb +40 -0
- data/examples/tumblog/Sitefile +9 -0
- data/examples/tumblog/content/css/tumblog.css +308 -0
- data/examples/tumblog/content/images/tumblog/permalink.gif +0 -0
- data/examples/tumblog/content/images/tumblog/rss.gif +0 -0
- data/examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
- data/examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
- data/examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
- data/examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
- data/examples/tumblog/content/tumblog/200807/up-a-tree/index.txt +13 -0
- data/examples/tumblog/content/tumblog/index.txt +37 -0
- data/examples/tumblog/content/tumblog/rss.txt +37 -0
- data/examples/tumblog/layouts/tumblog/default.txt +44 -0
- data/examples/tumblog/layouts/tumblog/post.txt +15 -0
- data/examples/tumblog/lib/tumblog_helper.rb +32 -0
- data/examples/tumblog/tasks/tumblog.rake +30 -0
- data/examples/tumblog/templates/atom_feed.erb +40 -0
- data/examples/tumblog/templates/tumblog/conversation.erb +12 -0
- data/examples/tumblog/templates/tumblog/link.erb +10 -0
- data/examples/tumblog/templates/tumblog/photo.erb +13 -0
- data/examples/tumblog/templates/tumblog/post.erb +12 -0
- data/examples/tumblog/templates/tumblog/quote.erb +11 -0
- data/examples/webby/Sitefile +19 -0
- data/examples/webby/content/communicate/index.txt +28 -0
- data/examples/webby/content/css/background.gif +0 -0
- data/examples/webby/content/css/blueprint/print.css +76 -0
- data/examples/webby/content/css/blueprint/screen.css +696 -0
- data/examples/webby/content/css/coderay.css +96 -0
- data/examples/webby/content/css/site.css +196 -0
- data/examples/webby/content/css/uv/twilight.css +137 -0
- data/examples/webby/content/index.txt +37 -0
- data/examples/webby/content/learn/index.txt +28 -0
- data/examples/webby/content/reference/index.txt +204 -0
- data/examples/webby/content/release-notes/index.txt +21 -0
- data/examples/webby/content/release-notes/rel-0-9-0/index.txt +74 -0
- data/examples/webby/content/release-notes/rel-0-9-1/index.txt +93 -0
- data/examples/webby/content/release-notes/rel-0-9-2/index.txt +14 -0
- data/examples/webby/content/release-notes/rel-0-9-3/index.txt +49 -0
- data/examples/webby/content/robots.txt +6 -0
- data/examples/webby/content/script/jquery.corner.js +152 -0
- data/examples/webby/content/script/jquery.js +31 -0
- data/examples/webby/content/sitemap.txt +31 -0
- data/examples/webby/content/tips_and_tricks/index.txt +97 -0
- data/examples/webby/content/tutorial/index.txt +135 -0
- data/examples/webby/content/user-manual/index.txt +419 -0
- data/examples/webby/layouts/default.txt +49 -0
- data/examples/webby/templates/page.erb +10 -0
- data/examples/website/Sitefile +7 -0
- data/examples/website/content/css/blueprint/License.txt +21 -0
- data/examples/website/content/css/blueprint/Readme.txt +100 -0
- data/examples/website/content/css/blueprint/compressed/print.css +76 -0
- data/examples/website/content/css/blueprint/compressed/screen.css +696 -0
- data/examples/website/content/css/blueprint/lib/forms.css +45 -0
- data/examples/website/content/css/blueprint/lib/grid.css +193 -0
- data/examples/website/content/css/blueprint/lib/grid.png +0 -0
- data/examples/website/content/css/blueprint/lib/ie.css +30 -0
- data/examples/website/content/css/blueprint/lib/reset.css +39 -0
- data/examples/website/content/css/blueprint/lib/typography.css +116 -0
- data/examples/website/content/css/blueprint/plugins/buttons/Readme +31 -0
- data/examples/website/content/css/blueprint/plugins/buttons/buttons.css +97 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/examples/website/content/css/blueprint/plugins/css-classes/Readme +14 -0
- data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +24 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +22 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +5 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type.css +74 -0
- data/examples/website/content/css/blueprint/print.css +68 -0
- data/examples/website/content/css/blueprint/screen.css +22 -0
- data/examples/website/content/css/coderay.css +111 -0
- data/examples/website/content/css/site.css +67 -0
- data/examples/website/content/index.txt +19 -0
- data/examples/website/layouts/default.txt +58 -0
- data/examples/website/lib/breadcrumbs.rb +28 -0
- data/examples/website/templates/_partial.erb +10 -0
- data/examples/website/templates/page.erb +18 -0
- data/lib/webby.rb +221 -0
- data/lib/webby/apps.rb +12 -0
- data/lib/webby/apps/generator.rb +276 -0
- data/lib/webby/apps/main.rb +255 -0
- data/lib/webby/auto_builder.rb +157 -0
- data/lib/webby/builder.rb +180 -0
- data/lib/webby/core_ext/enumerable.rb +11 -0
- data/lib/webby/core_ext/hash.rb +28 -0
- data/lib/webby/core_ext/kernel.rb +26 -0
- data/lib/webby/core_ext/string.rb +163 -0
- data/lib/webby/core_ext/time.rb +9 -0
- data/lib/webby/filters.rb +83 -0
- data/lib/webby/filters/basepath.rb +97 -0
- data/lib/webby/filters/erb.rb +9 -0
- data/lib/webby/filters/haml.rb +18 -0
- data/lib/webby/filters/markdown.rb +16 -0
- data/lib/webby/filters/outline.rb +309 -0
- data/lib/webby/filters/sass.rb +17 -0
- data/lib/webby/filters/slides.rb +56 -0
- data/lib/webby/filters/textile.rb +16 -0
- data/lib/webby/filters/tidy.rb +76 -0
- data/lib/webby/filters/wiki_words.rb +14 -0
- data/lib/webby/helpers.rb +30 -0
- data/lib/webby/helpers/capture_helper.rb +141 -0
- data/lib/webby/helpers/coderay_helper.rb +69 -0
- data/lib/webby/helpers/graphviz_helper.rb +136 -0
- data/lib/webby/helpers/tag_helper.rb +65 -0
- data/lib/webby/helpers/tex_img_helper.rb +133 -0
- data/lib/webby/helpers/ultraviolet_helper.rb +63 -0
- data/lib/webby/helpers/url_helper.rb +241 -0
- data/lib/webby/journal.rb +126 -0
- data/lib/webby/link_validator.rb +152 -0
- data/lib/webby/renderer.rb +386 -0
- data/lib/webby/resources.rb +136 -0
- data/lib/webby/resources/db.rb +251 -0
- data/lib/webby/resources/layout.rb +54 -0
- data/lib/webby/resources/meta_file.rb +211 -0
- data/lib/webby/resources/page.rb +81 -0
- data/lib/webby/resources/partial.rb +85 -0
- data/lib/webby/resources/resource.rb +201 -0
- data/lib/webby/resources/static.rb +36 -0
- data/lib/webby/stelan/mktemp.rb +135 -0
- data/lib/webby/stelan/paginator.rb +165 -0
- data/lib/webby/stelan/spawner.rb +339 -0
- data/lib/webby/tasks/build.rake +27 -0
- data/lib/webby/tasks/create.rake +22 -0
- data/lib/webby/tasks/deploy.rake +22 -0
- data/lib/webby/tasks/growl.rake +16 -0
- data/lib/webby/tasks/validate.rake +19 -0
- data/spec/core_ext/hash_spec.rb +47 -0
- data/spec/core_ext/string_spec.rb +110 -0
- data/spec/core_ext/time_spec.rb +19 -0
- data/spec/data/hooligans/bad_meta_data_1.txt +34 -0
- data/spec/data/hooligans/bad_meta_data_2.txt +34 -0
- data/spec/data/outline/basic.out +81 -0
- data/spec/data/outline/basic.txt +25 -0
- data/spec/data/outline/no_clobber.out +86 -0
- data/spec/data/outline/numbering.out +81 -0
- data/spec/data/outline/numbering_only.out +21 -0
- data/spec/data/outline/toc_range_1.out +66 -0
- data/spec/data/outline/toc_range_2.out +55 -0
- data/spec/data/outline/toc_style.out +81 -0
- data/spec/data/site/Sitefile +9 -0
- data/spec/data/site/content/_partial.txt +10 -0
- data/spec/data/site/content/css/coderay.css +111 -0
- data/spec/data/site/content/css/site.css +67 -0
- data/spec/data/site/content/css/tumblog.css +308 -0
- data/spec/data/site/content/images/tumblog/permalink.gif +0 -0
- data/spec/data/site/content/images/tumblog/rss.gif +0 -0
- data/spec/data/site/content/index.txt +19 -0
- data/spec/data/site/content/photos.txt +21 -0
- data/spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
- data/spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
- data/spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
- data/spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
- data/spec/data/site/content/tumblog/200807/up-a-tree/index.txt +13 -0
- data/spec/data/site/content/tumblog/index.txt +37 -0
- data/spec/data/site/content/tumblog/rss.txt +37 -0
- data/spec/data/site/layouts/default.txt +58 -0
- data/spec/data/site/layouts/tumblog/default.txt +44 -0
- data/spec/data/site/layouts/tumblog/post.txt +15 -0
- data/spec/data/site/lib/breadcrumbs.rb +28 -0
- data/spec/data/site/lib/tumblog_helper.rb +32 -0
- data/spec/data/site/tasks/tumblog.rake +30 -0
- data/spec/data/site/templates/_partial.erb +10 -0
- data/spec/data/site/templates/atom_feed.erb +40 -0
- data/spec/data/site/templates/page.erb +18 -0
- data/spec/data/site/templates/presentation.erb +40 -0
- data/spec/data/site/templates/tumblog/conversation.erb +12 -0
- data/spec/data/site/templates/tumblog/link.erb +10 -0
- data/spec/data/site/templates/tumblog/photo.erb +13 -0
- data/spec/data/site/templates/tumblog/post.erb +12 -0
- data/spec/data/site/templates/tumblog/quote.erb +11 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +51 -0
- data/spec/webby/apps/generator_spec.rb +116 -0
- data/spec/webby/apps/main_spec.rb +88 -0
- data/spec/webby/filters/basepath_spec.rb +167 -0
- data/spec/webby/filters/outline_spec.rb +92 -0
- data/spec/webby/filters/textile_spec.rb +20 -0
- data/spec/webby/helpers/capture_helper_spec.rb +56 -0
- data/spec/webby/renderer_spec.rb +139 -0
- data/spec/webby/resources/db_spec.rb +250 -0
- data/spec/webby/resources/layout_spec.rb +83 -0
- data/spec/webby/resources/meta_file_spec.rb +171 -0
- data/spec/webby/resources/page_spec.rb +111 -0
- data/spec/webby/resources/partial_spec.rb +58 -0
- data/spec/webby/resources/resource_spec.rb +219 -0
- data/spec/webby/resources/static_spec.rb +49 -0
- data/spec/webby/resources_spec.rb +69 -0
- data/tasks/ann.rake +81 -0
- data/tasks/bones.rake +21 -0
- data/tasks/gem.rake +187 -0
- data/tasks/git.rake +41 -0
- data/tasks/manifest.rake +48 -0
- data/tasks/notes.rake +28 -0
- data/tasks/post_load.rake +39 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +268 -0
- data/tasks/spec.rake +55 -0
- data/tasks/website.rake +38 -0
- metadata +365 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
forms.css
|
4
|
+
* Sets up some default styling for forms
|
5
|
+
* Gives you classes to enhance your forms
|
6
|
+
|
7
|
+
Usage:
|
8
|
+
* For text fields, use class .title or .text
|
9
|
+
|
10
|
+
-------------------------------------------------------------- */
|
11
|
+
|
12
|
+
label { font-weight: bold; }
|
13
|
+
|
14
|
+
|
15
|
+
/* Fieldsets */
|
16
|
+
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
|
17
|
+
legend { font-weight: bold; font-size:1.2em; }
|
18
|
+
|
19
|
+
/* Text fields */
|
20
|
+
input.text, input.title { width: 300px; margin:0.5em 0.5em 0.5em 0; }
|
21
|
+
input.text, input.title { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
|
22
|
+
input.text:focus,
|
23
|
+
input.title:focus { border:1px solid #999; background:#fff; }
|
24
|
+
input.title { font-size:1.5em; }
|
25
|
+
|
26
|
+
/* Textareas */
|
27
|
+
textarea { width: 400px; height: 250px; margin:0.5em 0.5em 0.5em 0; }
|
28
|
+
textarea { border:1px solid #bbb; background:#eee; padding:5px; }
|
29
|
+
textarea:focus { border:1px solid #999; background:#fff; }
|
30
|
+
|
31
|
+
/* Select fields */
|
32
|
+
select { border:1px solid #ccc; background:#f6f6f6; width:200px; }
|
33
|
+
select:focus { border:1px solid #999; background:#fff; }
|
34
|
+
|
35
|
+
|
36
|
+
/* Success, error & notice boxes for messages and errors. */
|
37
|
+
.error,
|
38
|
+
.notice,
|
39
|
+
.success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
|
40
|
+
.error { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
|
41
|
+
.notice { background: #FFF6BF; color: #817134; border-color: #FFD324; }
|
42
|
+
.success { background: #E6EFC2; color: #529214; border-color: #C6D880; }
|
43
|
+
.error a { color: #D12F19; }
|
44
|
+
.notice a { color: #817134; }
|
45
|
+
.success a { color: #529214; }
|
@@ -0,0 +1,193 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
grid.css
|
4
|
+
* Sets up an easy-to-use grid of 24 columns.
|
5
|
+
|
6
|
+
Based on work by:
|
7
|
+
* Nathan Borror [playgroundblues.com]
|
8
|
+
* Jeff Croft [jeffcroft.com]
|
9
|
+
* Christian Metts [mintchaos.com]
|
10
|
+
* Khoi Vinh [subtraction.com]
|
11
|
+
|
12
|
+
By default, the grid is 950px wide, with 24 columns
|
13
|
+
spanning 30px, and a 10px margin between columns.
|
14
|
+
|
15
|
+
If you need fewer or more columns, use this
|
16
|
+
formula to find the new total width:
|
17
|
+
Total width = (columns * 40) - 10
|
18
|
+
|
19
|
+
Read more about using a grid here:
|
20
|
+
* subtraction.com/archives/2007/0318_oh_yeeaahh.php
|
21
|
+
|
22
|
+
-------------------------------------------------------------- */
|
23
|
+
|
24
|
+
/* A container should group all your columns. */
|
25
|
+
.container {
|
26
|
+
width: 950px;
|
27
|
+
margin: 0 auto;
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
/* Columns
|
32
|
+
-------------------------------------------------------------- */
|
33
|
+
|
34
|
+
/* Use this class together with the .span-x classes
|
35
|
+
to create any composition of columns in a layout. */
|
36
|
+
|
37
|
+
.column {
|
38
|
+
float: left;
|
39
|
+
margin-right: 10px;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
/* The last column in a row needs this class. */
|
44
|
+
.last { margin-right: 0; }
|
45
|
+
|
46
|
+
/* Use these classes to set the width of a column. */
|
47
|
+
.span-1 { width: 30px; }
|
48
|
+
.span-2 { width: 70px; }
|
49
|
+
.span-3 { width: 110px; }
|
50
|
+
.span-4 { width: 150px; }
|
51
|
+
.span-5 { width: 190px; }
|
52
|
+
.span-6 { width: 230px; }
|
53
|
+
.span-7 { width: 270px; }
|
54
|
+
.span-8 { width: 310px; }
|
55
|
+
.span-9 { width: 350px; }
|
56
|
+
.span-10 { width: 390px; }
|
57
|
+
.span-11 { width: 430px; }
|
58
|
+
.span-12 { width: 470px; }
|
59
|
+
.span-13 { width: 510px; }
|
60
|
+
.span-14 { width: 550px; }
|
61
|
+
.span-15 { width: 590px; }
|
62
|
+
.span-16 { width: 630px; }
|
63
|
+
.span-17 { width: 670px; }
|
64
|
+
.span-18 { width: 710px; }
|
65
|
+
.span-19 { width: 750px; }
|
66
|
+
.span-20 { width: 790px; }
|
67
|
+
.span-21 { width: 830px; }
|
68
|
+
.span-22 { width: 870px; }
|
69
|
+
.span-23 { width: 910px; }
|
70
|
+
.span-24 { width: 950px; margin: 0; }
|
71
|
+
|
72
|
+
/* Add these to a column to append empty cols. */
|
73
|
+
.append-1 { padding-right: 40px; }
|
74
|
+
.append-2 { padding-right: 80px; }
|
75
|
+
.append-3 { padding-right: 120px; }
|
76
|
+
.append-4 { padding-right: 160px; }
|
77
|
+
.append-5 { padding-right: 200px; }
|
78
|
+
.append-6 { padding-right: 240px; }
|
79
|
+
.append-7 { padding-right: 280px; }
|
80
|
+
.append-8 { padding-right: 320px; }
|
81
|
+
.append-9 { padding-right: 360px; }
|
82
|
+
.append-10 { padding-right: 400px; }
|
83
|
+
.append-11 { padding-right: 440px; }
|
84
|
+
.append-12 { padding-right: 480px; }
|
85
|
+
.append-13 { padding-right: 520px; }
|
86
|
+
.append-14 { padding-right: 560px; }
|
87
|
+
.append-15 { padding-right: 600px; }
|
88
|
+
.append-16 { padding-right: 640px; }
|
89
|
+
.append-17 { padding-right: 680px; }
|
90
|
+
.append-18 { padding-right: 720px; }
|
91
|
+
.append-19 { padding-right: 760px; }
|
92
|
+
.append-20 { padding-right: 800px; }
|
93
|
+
.append-21 { padding-right: 840px; }
|
94
|
+
.append-22 { padding-right: 880px; }
|
95
|
+
.append-23 { padding-right: 920px; }
|
96
|
+
|
97
|
+
/* Add these to a column to prepend empty cols. */
|
98
|
+
.prepend-1 { padding-left: 40px; }
|
99
|
+
.prepend-2 { padding-left: 80px; }
|
100
|
+
.prepend-3 { padding-left: 120px; }
|
101
|
+
.prepend-4 { padding-left: 160px; }
|
102
|
+
.prepend-5 { padding-left: 200px; }
|
103
|
+
.prepend-6 { padding-left: 240px; }
|
104
|
+
.prepend-7 { padding-left: 280px; }
|
105
|
+
.prepend-8 { padding-left: 320px; }
|
106
|
+
.prepend-9 { padding-left: 360px; }
|
107
|
+
.prepend-10 { padding-left: 400px; }
|
108
|
+
.prepend-11 { padding-left: 440px; }
|
109
|
+
.prepend-12 { padding-left: 480px; }
|
110
|
+
.prepend-13 { padding-left: 520px; }
|
111
|
+
.prepend-14 { padding-left: 560px; }
|
112
|
+
.prepend-15 { padding-left: 600px; }
|
113
|
+
.prepend-16 { padding-left: 640px; }
|
114
|
+
.prepend-17 { padding-left: 680px; }
|
115
|
+
.prepend-18 { padding-left: 720px; }
|
116
|
+
.prepend-19 { padding-left: 760px; }
|
117
|
+
.prepend-20 { padding-left: 800px; }
|
118
|
+
.prepend-21 { padding-left: 840px; }
|
119
|
+
.prepend-22 { padding-left: 880px; }
|
120
|
+
.prepend-23 { padding-left: 920px; }
|
121
|
+
|
122
|
+
|
123
|
+
/* Border on right hand side of a column. */
|
124
|
+
.border {
|
125
|
+
padding-right: 4px;
|
126
|
+
margin-right: 5px;
|
127
|
+
border-right: 1px solid #eee;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* Border with more whitespace, spans one column. */
|
131
|
+
.colborder {
|
132
|
+
padding-right: 24px;
|
133
|
+
margin-right: 25px;
|
134
|
+
border-right: 1px solid #eee;
|
135
|
+
}
|
136
|
+
|
137
|
+
|
138
|
+
/* Use these classes on an element to push it into the
|
139
|
+
next column, or to pull it into the previous column. */
|
140
|
+
|
141
|
+
.pull-1 { margin-left: -40px; }
|
142
|
+
.pull-2 { margin-left: -80px; }
|
143
|
+
.pull-3 { margin-left: -120px; }
|
144
|
+
.pull-4 { margin-left: -160px; }
|
145
|
+
|
146
|
+
.push-0 { margin: 0 0 0 18px; }
|
147
|
+
.push-1 { margin: 0 -40px 0 18px; }
|
148
|
+
.push-2 { margin: 0 -80px 0 18px; }
|
149
|
+
.push-3 { margin: 0 -120px 0 18px; }
|
150
|
+
.push-4 { margin: 0 -160px 0 18px; }
|
151
|
+
.push-0, .push-1, .push-2, .push-3, .push-4 { float: right; }
|
152
|
+
|
153
|
+
|
154
|
+
/* Misc classes and elements
|
155
|
+
-------------------------------------------------------------- */
|
156
|
+
|
157
|
+
/* Use a .box to create a padded box inside a column. */
|
158
|
+
.box {
|
159
|
+
padding: 1.5em;
|
160
|
+
margin-bottom: 1.5em;
|
161
|
+
background: #eee;
|
162
|
+
}
|
163
|
+
|
164
|
+
/* Use this to create a horizontal ruler across a column. */
|
165
|
+
hr {
|
166
|
+
background: #ddd;
|
167
|
+
color: #ddd;
|
168
|
+
clear: both;
|
169
|
+
float: none;
|
170
|
+
width: 100%;
|
171
|
+
height: .1em;
|
172
|
+
margin: 0 0 1.4em;
|
173
|
+
border: none;
|
174
|
+
}
|
175
|
+
hr.space {
|
176
|
+
background: #fff;
|
177
|
+
color: #fff;
|
178
|
+
}
|
179
|
+
|
180
|
+
/* Clearing floats without extra markup
|
181
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
182
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
183
|
+
|
184
|
+
.clear { display: inline-block; }
|
185
|
+
.clear:after, .container:after {
|
186
|
+
content: ".";
|
187
|
+
display: block;
|
188
|
+
height: 0;
|
189
|
+
clear: both;
|
190
|
+
visibility: hidden;
|
191
|
+
}
|
192
|
+
* html .clear { height: 1%; }
|
193
|
+
.clear { display: block; }
|
Binary file
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
ie.css
|
4
|
+
|
5
|
+
Contains every hack for Internet Explorer versions prior
|
6
|
+
to IE7, so that our core files stay sweet and nimble.
|
7
|
+
|
8
|
+
-------------------------------------------------------------- */
|
9
|
+
|
10
|
+
/* Make sure the layout is centered in IE5 */
|
11
|
+
body { text-align: center; }
|
12
|
+
.container { text-align: left; }
|
13
|
+
|
14
|
+
|
15
|
+
/* This fixes the problem where IE6 adds an extra 3px margin to
|
16
|
+
two columns that are floated up against each other. */
|
17
|
+
|
18
|
+
* html .column { overflow-x: hidden; } /* IE6 fix */
|
19
|
+
|
20
|
+
.pull-1, .pull-2, .pull-3, .pull-4,
|
21
|
+
.push-1, .push-2, .push-3, .push-4,
|
22
|
+
ul, ol {
|
23
|
+
position: relative; /* Keeps IE6 from cutting pulled/pushed images */
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Fixes incorrect styling of legend in IE6 fieldsets. */
|
27
|
+
legend { margin-bottom:1.4em; }
|
28
|
+
|
29
|
+
/* Fixes incorrect placement of numbers in ol's in IE6/7 */
|
30
|
+
ol { margin-left:2em; }
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
reset.css
|
4
|
+
* Resets default browser CSS.
|
5
|
+
|
6
|
+
Based on work by Eric Meyer:
|
7
|
+
* meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
|
8
|
+
|
9
|
+
-------------------------------------------------------------- */
|
10
|
+
|
11
|
+
html, body, div, span, object, iframe,
|
12
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
13
|
+
a, abbr, acronym, address, code,
|
14
|
+
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
15
|
+
fieldset, form, label, legend,
|
16
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
border: 0;
|
20
|
+
font-weight: inherit;
|
21
|
+
font-style: inherit;
|
22
|
+
font-size: 100%;
|
23
|
+
font-family: inherit;
|
24
|
+
vertical-align: baseline;
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
body { line-height: 1.5; background: #fff; margin:1.5em 0; }
|
29
|
+
|
30
|
+
/* Tables still need 'cellspacing="0"' in the markup. */
|
31
|
+
table { border-collapse: separate; border-spacing: 0; }
|
32
|
+
caption, th, td { text-align: left; font-weight:400; }
|
33
|
+
|
34
|
+
/* Remove possible quote marks (") from <q>, <blockquote>. */
|
35
|
+
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
|
36
|
+
blockquote, q { quotes: "" ""; }
|
37
|
+
|
38
|
+
a img { border: none; }
|
39
|
+
|
@@ -0,0 +1,116 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
typography.css
|
4
|
+
* Sets up some sensible default typography.
|
5
|
+
|
6
|
+
Based on work by:
|
7
|
+
* Nathan Borror [playgroundblues.com]
|
8
|
+
* Jeff Croft [jeffcroft.com]
|
9
|
+
* Christian Metts [mintchaos.com]
|
10
|
+
* Wilson Miner [wilsonminer.com]
|
11
|
+
* Richard Rutter [clagnut.com]
|
12
|
+
|
13
|
+
Read more about using a baseline here:
|
14
|
+
* alistapart.com/articles/settingtypeontheweb
|
15
|
+
|
16
|
+
-------------------------------------------------------------- */
|
17
|
+
|
18
|
+
/* This is where you set your desired font size. The line-heights
|
19
|
+
and vertical margins are automatically calculated from this.
|
20
|
+
The percentage is of 16px (0.75 * 16px = 12px). */
|
21
|
+
|
22
|
+
body { font-size: 75%; }
|
23
|
+
|
24
|
+
|
25
|
+
/* Default fonts and colors.
|
26
|
+
If you prefer serif fonts, remove the font-family
|
27
|
+
on the headings, and apply this one to the body:
|
28
|
+
font: 1em Georgia, "lucida bright", "times new roman", serif; */
|
29
|
+
|
30
|
+
body {
|
31
|
+
color: #222;
|
32
|
+
font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
|
33
|
+
}
|
34
|
+
h1,h2,h3,h4,h5,h6 {
|
35
|
+
color: #111;
|
36
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
/* Headings
|
41
|
+
-------------------------------------------------------------- */
|
42
|
+
|
43
|
+
h1,h2,h3,h4,h5,h6 { font-weight: normal; }
|
44
|
+
|
45
|
+
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
|
46
|
+
h2 { font-size: 2em; margin-bottom: 0.75em; }
|
47
|
+
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
|
48
|
+
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
|
49
|
+
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
|
50
|
+
h6 { font-size: 1em; font-weight: bold; }
|
51
|
+
|
52
|
+
|
53
|
+
/* Text elements
|
54
|
+
-------------------------------------------------------------- */
|
55
|
+
|
56
|
+
p { margin: 0 0 1.5em; }
|
57
|
+
p.last { margin-bottom: 0; }
|
58
|
+
p img { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
|
59
|
+
p img.top { margin-top: 0; } /* Use this if the image is at the top of the <p>. */
|
60
|
+
img { margin: 0 0 1.5em; }
|
61
|
+
|
62
|
+
ul, ol { margin:0 1.5em 1.5em 1.5em; }
|
63
|
+
ul { list-style-type: circle; }
|
64
|
+
ol { list-style-type: decimal; }
|
65
|
+
dl { margin: 0 0 1.5em 0; }
|
66
|
+
dl dt { font-weight: bold; }
|
67
|
+
dd { margin-left: 1.5em;}
|
68
|
+
|
69
|
+
abbr,
|
70
|
+
acronym { border-bottom: 1px dotted #666; }
|
71
|
+
address { margin-top: 1.5em; font-style: italic; }
|
72
|
+
del { color:#666; }
|
73
|
+
|
74
|
+
a:focus,
|
75
|
+
a:hover { color: #000; }
|
76
|
+
a { color: #009; text-decoration: underline; }
|
77
|
+
|
78
|
+
blockquote { margin: 1.5em; color: #666; font-style: italic; }
|
79
|
+
strong { font-weight: bold; }
|
80
|
+
em,dfn { font-style: italic; background: #ffc; }
|
81
|
+
dfn { font-weight: bold; }
|
82
|
+
pre,code { margin: 1.5em 0; white-space: pre; }
|
83
|
+
pre,code,tt { font: 1em 'andale mono', 'monotype.com', 'lucida console', monospace; line-height: 1.5; }
|
84
|
+
tt { display: block; margin: 1.5em 0; line-height: 1.5; }
|
85
|
+
|
86
|
+
|
87
|
+
/* Tables
|
88
|
+
-------------------------------------------------------------- */
|
89
|
+
|
90
|
+
table { margin-bottom: 1.4em; }
|
91
|
+
th { border-bottom: 2px solid #ccc; font-weight: bold; }
|
92
|
+
td { border-bottom: 1px solid #ddd; }
|
93
|
+
th,td { padding: 4px 10px 4px 0; }
|
94
|
+
tfoot { font-style: italic; }
|
95
|
+
caption { background: #ffc; }
|
96
|
+
|
97
|
+
/* Use this if you use span-x classes on th/td. */
|
98
|
+
table .last { padding-right: 0; }
|
99
|
+
|
100
|
+
|
101
|
+
/* Some default classes
|
102
|
+
-------------------------------------------------------------- */
|
103
|
+
|
104
|
+
.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
|
105
|
+
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
|
106
|
+
.quiet { color: #666; }
|
107
|
+
|
108
|
+
.hide { display: none; }
|
109
|
+
.highlight { background:#ff0; }
|
110
|
+
.added { color:#060; }
|
111
|
+
.removed { color:#900; }
|
112
|
+
|
113
|
+
.top { margin-top:0; padding-top:0; }
|
114
|
+
.bottom { margin-bottom:0; padding-bottom:0; }
|
115
|
+
|
116
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Buttons
|
2
|
+
* Gives you great looking CSS buttons, for both <a> and <button>.
|
3
|
+
* Demo: particletree.com/features/rediscovering-the-button-element
|
4
|
+
|
5
|
+
|
6
|
+
Credits
|
7
|
+
----------------------------------------------------------------
|
8
|
+
|
9
|
+
* Created by Kevin Hale [particletree.com]
|
10
|
+
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
|
11
|
+
|
12
|
+
|
13
|
+
Usage
|
14
|
+
----------------------------------------------------------------
|
15
|
+
|
16
|
+
1) Add this line to "blueprint/screen.css":
|
17
|
+
@import 'plugins/buttons/buttons.css';
|
18
|
+
|
19
|
+
2) Use the following HTML code to place the buttons on your site:
|
20
|
+
|
21
|
+
<button type="submit" class="button positive">
|
22
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
23
|
+
</button>
|
24
|
+
|
25
|
+
<a class="button" href="/password/reset/">
|
26
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
27
|
+
</a>
|
28
|
+
|
29
|
+
<a href="#" class="button negative">
|
30
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
31
|
+
</a>
|