middleman 2.0.9.pre.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/.gitignore +13 -0
- data/.travis.yml +4 -0
- data/CHANGELOG +47 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +19 -0
- data/Rakefile +15 -0
- data/bin/middleman +73 -0
- data/bin/mm-build +9 -0
- data/bin/mm-init +9 -0
- data/bin/mm-server +9 -0
- data/features/asset_host.feature +14 -0
- data/features/automatic_image_sizes.feature +16 -0
- data/features/builder.feature +23 -0
- data/features/cache_buster.feature +26 -0
- data/features/coffee-script.feature +17 -0
- data/features/data.feature +12 -0
- data/features/directory_index.feature +29 -0
- data/features/dynamic_pages.feature +33 -0
- data/features/front-matter.feature +7 -0
- data/features/generator.feature +8 -0
- data/features/helpers_auto_javascript_include_tag.feature +27 -0
- data/features/helpers_auto_stylesheet_link_tag.feature +27 -0
- data/features/helpers_page_classes.feature +17 -0
- data/features/liquid.feature +6 -0
- data/features/markdown.feature +7 -0
- data/features/minify_css.feature +24 -0
- data/features/minify_javascript.feature +23 -0
- data/features/padrino_helpers.feature +10 -0
- data/features/page_alias_and_layouts.feature +44 -0
- data/features/relative_assets.feature +44 -0
- data/features/scss-support.feature +12 -0
- data/features/sinatra.feature +6 -0
- data/features/slim.feature +7 -0
- data/features/sprockets.feature +21 -0
- data/features/sprockets_gems.feature +7 -0
- data/features/step_definitions/asset_host_steps.rb +8 -0
- data/features/step_definitions/builder_steps.rb +40 -0
- data/features/step_definitions/generator_steps.rb +30 -0
- data/features/step_definitions/middleman_steps.rb +46 -0
- data/features/step_definitions/page_layout_steps.rb +13 -0
- data/features/support/env.rb +3 -0
- data/features/tiny_src.feature +15 -0
- data/fixtures/indexable-app/config.rb +2 -0
- data/fixtures/indexable-app/source/a_folder/needs_index.html +1 -0
- data/fixtures/indexable-app/source/leave_me_alone.html +1 -0
- data/fixtures/indexable-app/source/needs_index.html +1 -0
- data/fixtures/indexable-app/source/regular/index.html +1 -0
- data/fixtures/relative-app/config.rb +0 -0
- data/fixtures/relative-app/source/images/blank.gif +0 -0
- data/fixtures/relative-app/source/stylesheets/relative_assets.css.sass +3 -0
- data/fixtures/sprockets-app/config.rb +1 -0
- data/fixtures/sprockets-app/source/jquery_include.js +1 -0
- data/fixtures/sprockets-app/source/library/javascripts/sprockets_base.js +5 -0
- data/fixtures/sprockets-app/source/library/javascripts/sprockets_sub.js +3 -0
- data/fixtures/test-app/config.rb +51 -0
- data/fixtures/test-app/data/test.yml +4 -0
- data/fixtures/test-app/source/_liquid_partial.liquid +1 -0
- data/fixtures/test-app/source/_partial.haml +1 -0
- data/fixtures/test-app/source/a_folder/needs_index.html +1 -0
- data/fixtures/test-app/source/asset_host.html.haml +1 -0
- data/fixtures/test-app/source/auto-css.html.haml +1 -0
- data/fixtures/test-app/source/auto-css/auto-css.html.haml +1 -0
- data/fixtures/test-app/source/auto-css/index.html.haml +1 -0
- data/fixtures/test-app/source/auto-css/sub/auto-css.html.haml +1 -0
- data/fixtures/test-app/source/auto-image-sizes.html.haml +1 -0
- data/fixtures/test-app/source/auto-js.html.haml +1 -0
- data/fixtures/test-app/source/auto-js/auto-js.html.haml +1 -0
- data/fixtures/test-app/source/auto-js/index.html.haml +1 -0
- data/fixtures/test-app/source/auto-js/sub/auto-js.html.haml +1 -0
- data/fixtures/test-app/source/cache-buster.html.haml +2 -0
- data/fixtures/test-app/source/custom-layout-dir/index.html.haml +1 -0
- data/fixtures/test-app/source/custom-layout.html.haml +1 -0
- data/fixtures/test-app/source/data.html.erb +1 -0
- data/fixtures/test-app/source/data2.html.liquid +2 -0
- data/fixtures/test-app/source/front-matter.html.erb +6 -0
- data/fixtures/test-app/source/images/Child folder/regular_file(example).txt +1 -0
- data/fixtures/test-app/source/images/Read me (example).txt +1 -0
- data/fixtures/test-app/source/images/blank.gif +0 -0
- data/fixtures/test-app/source/img/blank.gif +0 -0
- data/fixtures/test-app/source/index.html.haml +6 -0
- data/fixtures/test-app/source/inline-coffeescript.html.haml +3 -0
- data/fixtures/test-app/source/inline-css.html.haml +4 -0
- data/fixtures/test-app/source/inline-js.html.haml +7 -0
- data/fixtures/test-app/source/javascripts/auto-js.js +1 -0
- data/fixtures/test-app/source/javascripts/auto-js/auto-js.js +1 -0
- data/fixtures/test-app/source/javascripts/auto-js/index.js +1 -0
- data/fixtures/test-app/source/javascripts/auto-js/sub/auto-js.js +1 -0
- data/fixtures/test-app/source/javascripts/broken-coffee.js.coffee +3 -0
- data/fixtures/test-app/source/javascripts/coffee_test.js.coffee +3 -0
- data/fixtures/test-app/source/javascripts/jquery.plugin.with.dots.js +1 -0
- data/fixtures/test-app/source/javascripts/jquery_base.js +5 -0
- data/fixtures/test-app/source/javascripts/multiple_engines.js.coffee.erb +1 -0
- data/fixtures/test-app/source/javascripts/sprockets_base.js +5 -0
- data/fixtures/test-app/source/javascripts/sprockets_sub.js +3 -0
- data/fixtures/test-app/source/layout.haml +6 -0
- data/fixtures/test-app/source/layouts/custom.haml +5 -0
- data/fixtures/test-app/source/liquid_master.html.liquid +1 -0
- data/fixtures/test-app/source/markdown.html.markdown +1 -0
- data/fixtures/test-app/source/needs_index.html +1 -0
- data/fixtures/test-app/source/padrino_test.html.haml +5 -0
- data/fixtures/test-app/source/page-classes.html.haml +1 -0
- data/fixtures/test-app/source/real.html +1 -0
- data/fixtures/test-app/source/real/index.html.erb +5 -0
- data/fixtures/test-app/source/relative_image.html.erb +1 -0
- data/fixtures/test-app/source/services/index.html.haml +1 -0
- data/fixtures/test-app/source/should_be_ignored.html +1 -0
- data/fixtures/test-app/source/should_be_ignored2.html +1 -0
- data/fixtures/test-app/source/should_be_ignored3.html +1 -0
- data/fixtures/test-app/source/slim.html.slim +7 -0
- data/fixtures/test-app/source/spaces in file.html.erb +1 -0
- data/fixtures/test-app/source/static.html +1 -0
- data/fixtures/test-app/source/stylesheets/asset_host.css.sass +3 -0
- data/fixtures/test-app/source/stylesheets/auto-css.css +3 -0
- data/fixtures/test-app/source/stylesheets/auto-css/auto-css.css +3 -0
- data/fixtures/test-app/source/stylesheets/auto-css/index.css +0 -0
- data/fixtures/test-app/source/stylesheets/auto-css/sub/auto-css.css +3 -0
- data/fixtures/test-app/source/stylesheets/layout.css.sass +2 -0
- data/fixtures/test-app/source/stylesheets/relative_assets.css.sass +3 -0
- data/fixtures/test-app/source/stylesheets/site.css.sass +1 -0
- data/fixtures/test-app/source/stylesheets/site_scss.css.scss +1 -0
- data/fixtures/test-app/source/stylesheets/static.css +2 -0
- data/fixtures/test-app/source/sub1/page-classes.html.haml +1 -0
- data/fixtures/test-app/source/sub1/sub2/page-classes.html.haml +1 -0
- data/fixtures/test-app/source/tiny_src.html.haml +1 -0
- data/lib/middleman.rb +202 -0
- data/lib/middleman/base.rb +198 -0
- data/lib/middleman/builder.rb +163 -0
- data/lib/middleman/cli.rb +87 -0
- data/lib/middleman/config.ru +2 -0
- data/lib/middleman/core_extensions/assets.rb +57 -0
- data/lib/middleman/core_extensions/builder.rb +41 -0
- data/lib/middleman/core_extensions/compass.rb +102 -0
- data/lib/middleman/core_extensions/data.rb +120 -0
- data/lib/middleman/core_extensions/default_helpers.rb +77 -0
- data/lib/middleman/core_extensions/features.rb +102 -0
- data/lib/middleman/core_extensions/front_matter.rb +116 -0
- data/lib/middleman/core_extensions/rack_map.rb +35 -0
- data/lib/middleman/core_extensions/rendering.rb +19 -0
- data/lib/middleman/core_extensions/routing.rb +87 -0
- data/lib/middleman/core_extensions/sprockets.rb +102 -0
- data/lib/middleman/features/asset_host.rb +22 -0
- data/lib/middleman/features/automatic_image_sizes.rb +31 -0
- data/lib/middleman/features/automatic_image_sizes/fastimage.rb +287 -0
- data/lib/middleman/features/cache_buster.rb +42 -0
- data/lib/middleman/features/directory_indexes.rb +56 -0
- data/lib/middleman/features/lorem.rb +126 -0
- data/lib/middleman/features/minify_css.rb +10 -0
- data/lib/middleman/features/minify_javascript.rb +43 -0
- data/lib/middleman/features/relative_assets.rb +38 -0
- data/lib/middleman/features/tiny_src.rb +11 -0
- data/lib/middleman/guard.rb +70 -0
- data/lib/middleman/renderers/coffee_script.rb +8 -0
- data/lib/middleman/renderers/haml.rb +31 -0
- data/lib/middleman/renderers/liquid.rb +29 -0
- data/lib/middleman/renderers/markdown.rb +34 -0
- data/lib/middleman/renderers/sass.rb +63 -0
- data/lib/middleman/renderers/slim.rb +8 -0
- data/lib/middleman/templates.rb +53 -0
- data/lib/middleman/templates/default.rb +17 -0
- data/lib/middleman/templates/default/source/index.html.erb +5 -0
- data/lib/middleman/templates/default/source/layout.erb +19 -0
- data/lib/middleman/templates/default/source/stylesheets/site.css.scss +32 -0
- data/lib/middleman/templates/html5.rb +16 -0
- data/lib/middleman/templates/html5/source/404.html +38 -0
- data/lib/middleman/templates/html5/source/README.md +388 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-114x114-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-57x57-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-72x72-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon-precomposed.png +0 -0
- data/lib/middleman/templates/html5/source/apple-touch-icon.png +0 -0
- data/lib/middleman/templates/html5/source/crossdomain.xml +25 -0
- data/lib/middleman/templates/html5/source/css/style.css +293 -0
- data/lib/middleman/templates/html5/source/favicon.ico +0 -0
- data/lib/middleman/templates/html5/source/humans.txt +43 -0
- data/lib/middleman/templates/html5/source/img/.gitignore +2 -0
- data/lib/middleman/templates/html5/source/index.html +79 -0
- data/lib/middleman/templates/html5/source/js/libs/jquery-1.6.2.js +8981 -0
- data/lib/middleman/templates/html5/source/js/libs/jquery-1.6.2.min.js +18 -0
- data/lib/middleman/templates/html5/source/js/libs/modernizr-2.0.6.min.js +4 -0
- data/lib/middleman/templates/html5/source/js/mylibs/.gitignore +2 -0
- data/lib/middleman/templates/html5/source/js/plugins.js +20 -0
- data/lib/middleman/templates/html5/source/js/script.js +8 -0
- data/lib/middleman/templates/html5/source/robots.txt +5 -0
- data/lib/middleman/templates/html5/source/test/index.html +31 -0
- data/lib/middleman/templates/html5/source/test/qunit/qunit.css +148 -0
- data/lib/middleman/templates/html5/source/test/qunit/qunit.js +1265 -0
- data/lib/middleman/templates/html5/source/test/tests.js +24 -0
- data/lib/middleman/templates/local.rb +20 -0
- data/lib/middleman/templates/shared/Gemfile.tt +3 -0
- data/lib/middleman/templates/shared/config.ru +4 -0
- data/lib/middleman/templates/shared/config.tt +104 -0
- data/lib/middleman/version.rb +3 -0
- data/middleman-x86-mingw32.gemspec +78 -0
- data/middleman.gemspec +78 -0
- metadata +812 -0
Binary file
|
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
|
3
|
+
<cross-domain-policy>
|
4
|
+
|
5
|
+
|
6
|
+
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
|
7
|
+
|
8
|
+
<!-- Most restrictive policy: -->
|
9
|
+
<site-control permitted-cross-domain-policies="none"/>
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<!-- Least restrictive policy: -->
|
14
|
+
<!--
|
15
|
+
<site-control permitted-cross-domain-policies="all"/>
|
16
|
+
<allow-access-from domain="*" to-ports="*" secure="false"/>
|
17
|
+
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
|
18
|
+
-->
|
19
|
+
<!--
|
20
|
+
If you host a crossdomain.xml file with allow-access-from domain="*"
|
21
|
+
and don’t understand all of the points described here, you probably
|
22
|
+
have a nasty security vulnerability. ~ simon willison
|
23
|
+
-->
|
24
|
+
|
25
|
+
</cross-domain-policy>
|
@@ -0,0 +1,293 @@
|
|
1
|
+
/*
|
2
|
+
* HTML5 ✰ Boilerplate
|
3
|
+
*
|
4
|
+
* What follows is the result of much research on cross-browser styling.
|
5
|
+
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
|
6
|
+
* Kroc Camen, and the H5BP dev community and team.
|
7
|
+
*
|
8
|
+
* Detailed information about this CSS: h5bp.com/css
|
9
|
+
*
|
10
|
+
* ==|== normalize ==========================================================
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
/* =============================================================================
|
15
|
+
HTML5 display definitions
|
16
|
+
========================================================================== */
|
17
|
+
|
18
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
|
19
|
+
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
|
20
|
+
audio:not([controls]) { display: none; }
|
21
|
+
[hidden] { display: none; }
|
22
|
+
|
23
|
+
|
24
|
+
/* =============================================================================
|
25
|
+
Base
|
26
|
+
========================================================================== */
|
27
|
+
|
28
|
+
/*
|
29
|
+
* 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
|
30
|
+
* 2. Force vertical scrollbar in non-IE
|
31
|
+
* 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
|
32
|
+
*/
|
33
|
+
|
34
|
+
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
35
|
+
|
36
|
+
body { margin: 0; font-size: 13px; line-height: 1.231; }
|
37
|
+
|
38
|
+
body, button, input, select, textarea { font-family: sans-serif; color: #222; }
|
39
|
+
|
40
|
+
/*
|
41
|
+
* Remove text-shadow in selection highlight: h5bp.com/i
|
42
|
+
* These selection declarations have to be separate
|
43
|
+
* Also: hot pink! (or customize the background color to match your design)
|
44
|
+
*/
|
45
|
+
|
46
|
+
::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
|
47
|
+
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
|
48
|
+
|
49
|
+
|
50
|
+
/* =============================================================================
|
51
|
+
Links
|
52
|
+
========================================================================== */
|
53
|
+
|
54
|
+
a { color: #00e; }
|
55
|
+
a:visited { color: #551a8b; }
|
56
|
+
a:hover { color: #06e; }
|
57
|
+
a:focus { outline: thin dotted; }
|
58
|
+
|
59
|
+
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
|
60
|
+
a:hover, a:active { outline: 0; }
|
61
|
+
|
62
|
+
|
63
|
+
/* =============================================================================
|
64
|
+
Typography
|
65
|
+
========================================================================== */
|
66
|
+
|
67
|
+
abbr[title] { border-bottom: 1px dotted; }
|
68
|
+
|
69
|
+
b, strong { font-weight: bold; }
|
70
|
+
|
71
|
+
blockquote { margin: 1em 40px; }
|
72
|
+
|
73
|
+
dfn { font-style: italic; }
|
74
|
+
|
75
|
+
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
|
76
|
+
|
77
|
+
ins { background: #ff9; color: #000; text-decoration: none; }
|
78
|
+
|
79
|
+
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
|
80
|
+
|
81
|
+
/* Redeclare monospace font family: h5bp.com/j */
|
82
|
+
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
|
83
|
+
|
84
|
+
/* Improve readability of pre-formatted text in all browsers */
|
85
|
+
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
|
86
|
+
|
87
|
+
q { quotes: none; }
|
88
|
+
q:before, q:after { content: ""; content: none; }
|
89
|
+
|
90
|
+
small { font-size: 85%; }
|
91
|
+
|
92
|
+
/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
|
93
|
+
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
94
|
+
sup { top: -0.5em; }
|
95
|
+
sub { bottom: -0.25em; }
|
96
|
+
|
97
|
+
|
98
|
+
/* =============================================================================
|
99
|
+
Lists
|
100
|
+
========================================================================== */
|
101
|
+
|
102
|
+
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
|
103
|
+
dd { margin: 0 0 0 40px; }
|
104
|
+
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
|
105
|
+
|
106
|
+
|
107
|
+
/* =============================================================================
|
108
|
+
Embedded content
|
109
|
+
========================================================================== */
|
110
|
+
|
111
|
+
/*
|
112
|
+
* 1. Improve image quality when scaled in IE7: h5bp.com/d
|
113
|
+
* 2. Remove the gap between images and borders on image containers: h5bp.com/e
|
114
|
+
*/
|
115
|
+
|
116
|
+
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
|
117
|
+
|
118
|
+
/*
|
119
|
+
* Correct overflow not hidden in IE9
|
120
|
+
*/
|
121
|
+
|
122
|
+
svg:not(:root) { overflow: hidden; }
|
123
|
+
|
124
|
+
|
125
|
+
/* =============================================================================
|
126
|
+
Figures
|
127
|
+
========================================================================== */
|
128
|
+
|
129
|
+
figure { margin: 0; }
|
130
|
+
|
131
|
+
|
132
|
+
/* =============================================================================
|
133
|
+
Forms
|
134
|
+
========================================================================== */
|
135
|
+
|
136
|
+
form { margin: 0; }
|
137
|
+
fieldset { border: 0; margin: 0; padding: 0; }
|
138
|
+
|
139
|
+
/* Indicate that 'label' will shift focus to the associated form element */
|
140
|
+
label { cursor: pointer; }
|
141
|
+
|
142
|
+
/*
|
143
|
+
* 1. Correct color not inheriting in IE6/7/8/9
|
144
|
+
* 2. Correct alignment displayed oddly in IE6/7
|
145
|
+
*/
|
146
|
+
|
147
|
+
legend { border: 0; *margin-left: -7px; padding: 0; }
|
148
|
+
|
149
|
+
/*
|
150
|
+
* 1. Correct font-size not inheriting in all browsers
|
151
|
+
* 2. Remove margins in FF3/4 S5 Chrome
|
152
|
+
* 3. Define consistent vertical alignment display in all browsers
|
153
|
+
*/
|
154
|
+
|
155
|
+
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
|
156
|
+
|
157
|
+
/*
|
158
|
+
* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
|
159
|
+
* 2. Correct inner spacing displayed oddly in IE6/7
|
160
|
+
*/
|
161
|
+
|
162
|
+
button, input { line-height: normal; *overflow: visible; }
|
163
|
+
|
164
|
+
/*
|
165
|
+
* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
|
166
|
+
*/
|
167
|
+
|
168
|
+
table button, table input { *overflow: auto; }
|
169
|
+
|
170
|
+
/*
|
171
|
+
* 1. Display hand cursor for clickable form elements
|
172
|
+
* 2. Allow styling of clickable form elements in iOS
|
173
|
+
*/
|
174
|
+
|
175
|
+
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
176
|
+
|
177
|
+
/*
|
178
|
+
* Consistent box sizing and appearance
|
179
|
+
*/
|
180
|
+
|
181
|
+
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
|
182
|
+
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
|
183
|
+
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
184
|
+
|
185
|
+
/*
|
186
|
+
* Remove inner padding and border in FF3/4: h5bp.com/l
|
187
|
+
*/
|
188
|
+
|
189
|
+
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
190
|
+
|
191
|
+
/*
|
192
|
+
* 1. Remove default vertical scrollbar in IE6/7/8/9
|
193
|
+
* 2. Allow only vertical resizing
|
194
|
+
*/
|
195
|
+
|
196
|
+
textarea { overflow: auto; vertical-align: top; resize: vertical; }
|
197
|
+
|
198
|
+
/* Colors for form validity */
|
199
|
+
input:valid, textarea:valid { }
|
200
|
+
input:invalid, textarea:invalid { background-color: #f0dddd; }
|
201
|
+
|
202
|
+
|
203
|
+
/* =============================================================================
|
204
|
+
Tables
|
205
|
+
========================================================================== */
|
206
|
+
|
207
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
208
|
+
td { vertical-align: top; }
|
209
|
+
|
210
|
+
|
211
|
+
/* ==|== primary styles =====================================================
|
212
|
+
Author:
|
213
|
+
========================================================================== */
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
/* ==|== non-semantic helper classes ========================================
|
231
|
+
Please define your styles before this section.
|
232
|
+
========================================================================== */
|
233
|
+
|
234
|
+
/* For image replacement */
|
235
|
+
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
236
|
+
.ir br { display: none; }
|
237
|
+
|
238
|
+
/* Hide from both screenreaders and browsers: h5bp.com/u */
|
239
|
+
.hidden { display: none !important; visibility: hidden; }
|
240
|
+
|
241
|
+
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
|
242
|
+
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
|
243
|
+
|
244
|
+
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
|
245
|
+
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
|
246
|
+
|
247
|
+
/* Hide visually and from screenreaders, but maintain layout */
|
248
|
+
.invisible { visibility: hidden; }
|
249
|
+
|
250
|
+
/* Contain floats: h5bp.com/q */
|
251
|
+
.clearfix:before, .clearfix:after { content: ""; display: table; }
|
252
|
+
.clearfix:after { clear: both; }
|
253
|
+
.clearfix { *zoom: 1; }
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
/* ==|== media queries ======================================================
|
258
|
+
PLACEHOLDER Media Queries for Responsive Design.
|
259
|
+
These override the primary ('mobile first') styles
|
260
|
+
Modify as content requires.
|
261
|
+
========================================================================== */
|
262
|
+
|
263
|
+
@media only screen and (min-width: 480px) {
|
264
|
+
/* Style adjustments for viewports 480px and over go here */
|
265
|
+
|
266
|
+
}
|
267
|
+
|
268
|
+
@media only screen and (min-width: 768px) {
|
269
|
+
/* Style adjustments for viewports 768px and over go here */
|
270
|
+
|
271
|
+
}
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
/* ==|== print styles =======================================================
|
276
|
+
Print styles.
|
277
|
+
Inlined to avoid required HTTP connection: h5bp.com/r
|
278
|
+
========================================================================== */
|
279
|
+
|
280
|
+
@media print {
|
281
|
+
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
|
282
|
+
a, a:visited { text-decoration: underline; }
|
283
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
284
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
285
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
|
286
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
287
|
+
thead { display: table-header-group; } /* h5bp.com/t */
|
288
|
+
tr, img { page-break-inside: avoid; }
|
289
|
+
img { max-width: 100% !important; }
|
290
|
+
@page { margin: 0.5cm; }
|
291
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
292
|
+
h2, h3 { page-break-after: avoid; }
|
293
|
+
}
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/* the humans responsible & colophon */
|
2
|
+
/* humanstxt.org */
|
3
|
+
|
4
|
+
|
5
|
+
/* TEAM */
|
6
|
+
<your title>: <your name>
|
7
|
+
Site:
|
8
|
+
Twitter:
|
9
|
+
Location:
|
10
|
+
|
11
|
+
/* THANKS */
|
12
|
+
Names (& URL):
|
13
|
+
|
14
|
+
/* SITE */
|
15
|
+
Standards: HTML5, CSS3
|
16
|
+
Components: Modernizr, jQuery
|
17
|
+
Software:
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
-o/-
|
22
|
+
+oo//-
|
23
|
+
:ooo+//:
|
24
|
+
-ooooo///-
|
25
|
+
/oooooo//:
|
26
|
+
:ooooooo+//-
|
27
|
+
-+oooooooo///-
|
28
|
+
-://////////////+oooooooooo++////////////::
|
29
|
+
:+ooooooooooooooooooooooooooooooooooooo+:::-
|
30
|
+
-/+ooooooooooooooooooooooooooooooo+/::////:-
|
31
|
+
-:+oooooooooooooooooooooooooooo/::///////:-
|
32
|
+
--/+ooooooooooooooooooooo+::://////:-
|
33
|
+
-:+ooooooooooooooooo+:://////:--
|
34
|
+
/ooooooooooooooooo+//////:-
|
35
|
+
-ooooooooooooooooooo////-
|
36
|
+
/ooooooooo+oooooooooo//:
|
37
|
+
:ooooooo+/::/+oooooooo+//-
|
38
|
+
-oooooo/::///////+oooooo///-
|
39
|
+
/ooo+::://////:---:/+oooo//:
|
40
|
+
-o+/::///////:- -:/+o+//-
|
41
|
+
:-:///////:- -:/://
|
42
|
+
-////:- --//:
|
43
|
+
-- -:
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
3
|
+
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
|
4
|
+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
|
5
|
+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
|
6
|
+
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
|
7
|
+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
8
|
+
<head>
|
9
|
+
<meta charset="utf-8">
|
10
|
+
|
11
|
+
<!-- Use the .htaccess and remove these lines to avoid edge case issues.
|
12
|
+
More info: h5bp.com/b/378 -->
|
13
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
14
|
+
|
15
|
+
<title></title>
|
16
|
+
<meta name="description" content="">
|
17
|
+
<meta name="author" content="">
|
18
|
+
|
19
|
+
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
|
20
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
21
|
+
|
22
|
+
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->
|
23
|
+
|
24
|
+
<link rel="stylesheet" href="css/style.css">
|
25
|
+
|
26
|
+
<!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->
|
27
|
+
|
28
|
+
<!-- All JavaScript at the bottom, except this Modernizr build incl. Respond.js
|
29
|
+
Respond is a polyfill for min/max-width media queries. Modernizr enables HTML5 elements & feature detects;
|
30
|
+
for optimal performance, create your own custom Modernizr build: www.modernizr.com/download/ -->
|
31
|
+
<script src="js/libs/modernizr-2.0.6.min.js"></script>
|
32
|
+
</head>
|
33
|
+
|
34
|
+
<body>
|
35
|
+
|
36
|
+
<div id="container">
|
37
|
+
<header>
|
38
|
+
|
39
|
+
</header>
|
40
|
+
<div id="main" role="main">
|
41
|
+
|
42
|
+
</div>
|
43
|
+
<footer>
|
44
|
+
|
45
|
+
</footer>
|
46
|
+
</div> <!--! end of #container -->
|
47
|
+
|
48
|
+
|
49
|
+
<!-- JavaScript at the bottom for fast page loading -->
|
50
|
+
|
51
|
+
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
|
52
|
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
53
|
+
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script>
|
54
|
+
|
55
|
+
|
56
|
+
<!-- scripts concatenated and minified via build script -->
|
57
|
+
<script defer src="js/plugins.js"></script>
|
58
|
+
<script defer src="js/script.js"></script>
|
59
|
+
<!-- end scripts -->
|
60
|
+
|
61
|
+
|
62
|
+
<!-- Change UA-XXXXX-X to be your site's ID -->
|
63
|
+
<script>
|
64
|
+
window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
|
65
|
+
Modernizr.load({
|
66
|
+
load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
|
67
|
+
});
|
68
|
+
</script>
|
69
|
+
|
70
|
+
|
71
|
+
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
|
72
|
+
chromium.org/developers/how-tos/chrome-frame-getting-started -->
|
73
|
+
<!--[if lt IE 7 ]>
|
74
|
+
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
75
|
+
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
76
|
+
<![endif]-->
|
77
|
+
|
78
|
+
</body>
|
79
|
+
</html>
|