html5-starter 0.2.3b → 0.2.9b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/README.md +2 -2
  2. data/stylesheets/_html5-boilerplate.scss +1 -11
  3. data/stylesheets/html5-boilerplate/_helpers.scss +10 -17
  4. data/stylesheets/html5-boilerplate/_normalize.scss +214 -0
  5. data/stylesheets/html5-boilerplate/_print.scss +5 -10
  6. data/templates/project/files/404.html +42 -38
  7. data/templates/project/files/crossdomain.xml +8 -8
  8. data/templates/project/files/gitattributes.txt +1 -0
  9. data/templates/project/files/gitignore.txt +8 -3
  10. data/templates/project/files/htaccess +215 -158
  11. data/templates/project/files/humans.txt +43 -43
  12. data/templates/project/files/robots.txt +4 -5
  13. data/templates/project/index.html +34 -47
  14. data/templates/project/javascripts/libs/{jquery-1.5.1.js → jquery-1.7.1.js} +3125 -2175
  15. data/templates/project/javascripts/libs/jquery-1.7.1.min.js +4 -0
  16. data/templates/project/javascripts/libs/modernizr-2.5.3.min.js +4 -0
  17. data/templates/project/javascripts/plugins.js +4 -8
  18. data/templates/project/javascripts/script.js +1 -19
  19. data/templates/project/manifest.rb +6 -24
  20. data/templates/project/partials/_boilerplate-defaults.scss +7 -11
  21. data/templates/project/style.scss +28 -51
  22. metadata +10 -30
  23. data/stylesheets/html5-boilerplate/_fonts.scss +0 -38
  24. data/stylesheets/html5-boilerplate/_handheld.scss +0 -8
  25. data/stylesheets/html5-boilerplate/_reset.scss +0 -48
  26. data/stylesheets/html5-boilerplate/_styles.scss +0 -84
  27. data/templates/project/files/build/build.xml +0 -821
  28. data/templates/project/files/build/buildinfo.properties +0 -5
  29. data/templates/project/files/build/config/buildinfo.properties +0 -5
  30. data/templates/project/files/build/config/default.properties +0 -80
  31. data/templates/project/files/build/config/project.properties +0 -56
  32. data/templates/project/files/build/createproject.sh +0 -50
  33. data/templates/project/files/build/runbuildscript.bat +0 -5
  34. data/templates/project/files/build/tools/ant-contrib-1.0b3.jar +0 -0
  35. data/templates/project/files/build/tools/htmlcompressor-1.1.jar +0 -0
  36. data/templates/project/files/build/tools/jpegtran.exe +0 -0
  37. data/templates/project/files/build/tools/optipng-0.6.4-exe/LICENSE.txt +0 -21
  38. data/templates/project/files/build/tools/optipng-0.6.4-exe/optipng.exe +0 -0
  39. data/templates/project/files/build/tools/yuicompressor-2.4.5.jar +0 -0
  40. data/templates/project/handheld.scss +0 -8
  41. data/templates/project/javascripts/libs/dd_belatedpng.js +0 -13
  42. data/templates/project/javascripts/libs/jquery-1.5.1.min.js +0 -16
  43. data/templates/project/javascripts/libs/modernizr-1.7.min.js +0 -2
  44. data/templates/project/javascripts/rails.js +0 -156
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html5-starter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 31
5
5
  prerelease: 5
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
9
+ - 9
10
10
  - b
11
- version: 0.2.3b
11
+ version: 0.2.9b
12
12
  platform: ruby
13
13
  authors:
14
14
  - Peter Gumeson
@@ -17,8 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-04-14 00:00:00 +07:00
21
- default_executable:
20
+ date: 2012-03-26 00:00:00 Z
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
23
  name: compass
@@ -51,50 +50,31 @@ files:
51
50
  - templates/project/files/htaccess
52
51
  - lib/html5-boilerplate.rb
53
52
  - stylesheets/_html5-boilerplate.scss
54
- - stylesheets/html5-boilerplate/_fonts.scss
55
- - stylesheets/html5-boilerplate/_handheld.scss
56
53
  - stylesheets/html5-boilerplate/_helpers.scss
54
+ - stylesheets/html5-boilerplate/_normalize.scss
57
55
  - stylesheets/html5-boilerplate/_print.scss
58
- - stylesheets/html5-boilerplate/_reset.scss
59
- - stylesheets/html5-boilerplate/_styles.scss
60
56
  - templates/project/files/404.html
61
57
  - templates/project/files/apple-touch-icon-114x114-precomposed.png
62
58
  - templates/project/files/apple-touch-icon-57x57-precomposed.png
63
59
  - templates/project/files/apple-touch-icon-72x72-precomposed.png
64
60
  - templates/project/files/apple-touch-icon-precomposed.png
65
61
  - templates/project/files/apple-touch-icon.png
66
- - templates/project/files/build/build.xml
67
- - templates/project/files/build/buildinfo.properties
68
- - templates/project/files/build/config/buildinfo.properties
69
- - templates/project/files/build/config/default.properties
70
- - templates/project/files/build/config/project.properties
71
- - templates/project/files/build/createproject.sh
72
- - templates/project/files/build/runbuildscript.bat
73
- - templates/project/files/build/tools/ant-contrib-1.0b3.jar
74
- - templates/project/files/build/tools/htmlcompressor-1.1.jar
75
- - templates/project/files/build/tools/jpegtran.exe
76
- - templates/project/files/build/tools/optipng-0.6.4-exe/LICENSE.txt
77
- - templates/project/files/build/tools/optipng-0.6.4-exe/optipng.exe
78
- - templates/project/files/build/tools/yuicompressor-2.4.5.jar
79
62
  - templates/project/files/crossdomain.xml
80
63
  - templates/project/files/favicon.ico
64
+ - templates/project/files/gitattributes.txt
81
65
  - templates/project/files/gitignore.txt
82
66
  - templates/project/files/gitignore_placeholder.txt
83
67
  - templates/project/files/humans.txt
84
68
  - templates/project/files/robots.txt
85
- - templates/project/handheld.scss
86
69
  - templates/project/index.html
87
- - templates/project/javascripts/libs/dd_belatedpng.js
88
- - templates/project/javascripts/libs/jquery-1.5.1.js
89
- - templates/project/javascripts/libs/jquery-1.5.1.min.js
90
- - templates/project/javascripts/libs/modernizr-1.7.min.js
70
+ - templates/project/javascripts/libs/jquery-1.7.1.js
71
+ - templates/project/javascripts/libs/jquery-1.7.1.min.js
72
+ - templates/project/javascripts/libs/modernizr-2.5.3.min.js
91
73
  - templates/project/javascripts/plugins.js
92
- - templates/project/javascripts/rails.js
93
74
  - templates/project/javascripts/script.js
94
75
  - templates/project/manifest.rb
95
76
  - templates/project/partials/_boilerplate-defaults.scss
96
77
  - templates/project/style.scss
97
- has_rdoc: true
98
78
  homepage: http://github.com/rizkysyazuli/compass-html5-starter
99
79
  licenses: []
100
80
 
@@ -126,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
106
  requirements: []
127
107
 
128
108
  rubyforge_project:
129
- rubygems_version: 1.4.1
109
+ rubygems_version: 1.8.10
130
110
  signing_key:
131
111
  specification_version: 3
132
112
  summary: A Compass extension based on Paul Irish's HTML5 Boilerplate
@@ -1,38 +0,0 @@
1
- $base-font-family: unquote("sans-serif") !default;
2
- $base-font-size: 13px !default;
3
- $base-line-height: 1.231 !default;
4
-
5
- @mixin html5-boilerplate-fonts($family: $base-font-family, $size: $base-font-size, $line-height: $base-line-height) {
6
- /**
7
- * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
8
- */
9
-
10
- body {
11
- font-size: $size;
12
- font-family: $family;
13
- line-height: $line-height;
14
- *font-size: small;
15
- } /* Hack retained to preserve specificity */
16
- select, input, textarea, button { font:99% $family; }
17
-
18
- /* Normalize monospace sizing:
19
- en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
20
- pre, code, kbd, samp { font-family: monospace, sans-serif; }
21
- }
22
-
23
- // Sets the font size specified in pixels using percents so that the base
24
- // font size changes and 1em has the correct value. When nesting font size
25
- // declarations, within the DOM tree, the base_font_size must be the parent's
26
- // effective font-size in pixels.
27
- // Usage Examples:
28
- // .big
29
- // +font-size(16px)
30
- // .bigger
31
- // +font-size(18px)
32
- // .big .bigger
33
- // +font-size(18px, 16px)
34
- //
35
- // For more information see the table found at http://developer.yahoo.com/yui/3/cssfonts/#fontsize
36
- @mixin font-size($size, $base-font-size: $base-font-size) {
37
- font-size: ceil(percentage($size / $base-font-size));
38
- }
@@ -1,8 +0,0 @@
1
- * {
2
- float: none; /* Screens are not big enough to account for floats */
3
- background: #fff; /* As much contrast as possible */
4
- color: #000;
5
- }
6
-
7
- /* Slightly reducing font size to reduce need to scroll */
8
- body { font-size: 80%; }
@@ -1,48 +0,0 @@
1
- @mixin html5-boilerplate-reset {
2
- /**
3
- * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
4
- * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
5
- * html5doctor.com/html-5-reset-stylesheet/
6
- */
7
-
8
- html, body, div, span, object, iframe,
9
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
- abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
11
- small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
12
- fieldset, form, label, legend,
13
- table, caption, tbody, tfoot, thead, tr, th, td,
14
- article, aside, canvas, details, figcaption, figure,
15
- footer, header, hgroup, menu, nav, section, summary,
16
- time, mark, audio, video {
17
- margin: 0;
18
- padding: 0;
19
- border: 0;
20
- font-size: 100%;
21
- font: inherit;
22
- vertical-align: baseline;
23
- }
24
-
25
- article, aside, details, figcaption, figure,
26
- footer, header, hgroup, menu, nav, section {
27
- display: block;
28
- }
29
-
30
- blockquote, q { quotes: none; }
31
-
32
- blockquote:before, blockquote:after,
33
- q:before, q:after { content: ""; content: none; }
34
-
35
- ins { background-color: #ff9; color: #000; text-decoration: none; }
36
-
37
- mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
38
-
39
- del { text-decoration: line-through; }
40
-
41
- abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
42
-
43
- table { border-collapse: collapse; border-spacing: 0; }
44
-
45
- hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
46
-
47
- input, select { vertical-align: middle; }
48
- }
@@ -1,84 +0,0 @@
1
- $font-color: #444 !default; //looks better than black: twitter.com/H_FJ/statuses/11800719859
2
- $link-color: #607890 !default;
3
- $link-hover-color: #036 !default;
4
- $link-active-color: #607890 !default;
5
- $link-visited-color: #607890 !default;
6
- $selected-font-color: #fff !default;
7
- $selected-background-color: #ff5e99 !default;
8
- $list-left-margin: 2em !default;
9
-
10
-
11
- @mixin html5-boilerplate-styles {
12
- /**
13
- * Minimal base styles.
14
- */
15
-
16
- /* Always force a scrollbar in non-IE */
17
- html { overflow-y: scroll; }
18
-
19
- /* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
20
- a:hover, a:active { outline: none; }
21
-
22
- ul, ol { margin-left: 2em; }
23
- ol { list-style-type: decimal; }
24
-
25
- /* Remove margins for navigation lists */
26
- nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
27
-
28
- small { font-size: 85%; }
29
- strong, th { font-weight: bold; }
30
-
31
- td { vertical-align: top; }
32
-
33
- /* Set sub, sup without affecting line-height: gist.github.com/413930 */
34
- sub, sup { font-size: 75%; line-height: 0; position: relative; }
35
- sup { top: -0.5em; }
36
- sub { bottom: -0.25em; }
37
-
38
- pre {
39
- /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
40
- white-space: pre; white-space: pre-wrap; word-wrap: break-word;
41
- padding: 15px;
42
- }
43
-
44
- textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
45
-
46
- .ie6 legend, .ie7 legend { margin-left: -7px; }
47
-
48
- /* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
49
- input[type="radio"] { vertical-align: text-bottom; }
50
- input[type="checkbox"] { vertical-align: bottom; }
51
- .ie7 input[type="checkbox"] { vertical-align: baseline; }
52
- .ie6 input { vertical-align: text-bottom; }
53
-
54
- /* Hand cursor on clickable input elements */
55
- label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
56
-
57
- /* Webkit browsers add a 2px margin outside the chrome of form elements */
58
- button, input, select, textarea { margin: 0; }
59
-
60
- /* Colors for form validity */
61
- input:valid, textarea:valid { }
62
- input:invalid, textarea:invalid {
63
- border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
64
- }
65
- .no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
66
-
67
-
68
- /* These selection declarations have to be separate
69
- No text-shadow: twitter.com/miketaylr/status/12228805301
70
- Also: hot pink! */
71
- ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
72
- ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
73
-
74
- /* j.mp/webkit-tap-highlight-color */
75
- a:link { -webkit-tap-highlight-color: #FF5E99; }
76
-
77
- /* Make buttons play nice in IE:
78
- www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
79
- button { width: auto; overflow: visible; }
80
-
81
- /* Bicubic resizing for non-native sized IMG:
82
- code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
83
- .ie7 img { -ms-interpolation-mode: bicubic; }
84
- }