html5-boilerplate 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. data/README.md +49 -13
  2. data/stylesheets/_html5-boilerplate.scss +2 -2
  3. data/stylesheets/html5-boilerplate/_fonts.scss +12 -29
  4. data/stylesheets/html5-boilerplate/_handheld.scss +5 -7
  5. data/stylesheets/html5-boilerplate/_helpers.scss +6 -8
  6. data/stylesheets/html5-boilerplate/_media.scss +11 -9
  7. data/stylesheets/html5-boilerplate/{_base.scss → _page.scss} +18 -35
  8. data/stylesheets/html5-boilerplate/_reset.scss +10 -8
  9. data/templates/project/_head.html.haml +6 -11
  10. data/templates/project/_javascripts.html.haml +2 -2
  11. data/templates/project/{404.html → files/404.html} +0 -0
  12. data/templates/project/files/apple-touch-icon.png +0 -0
  13. data/templates/project/{crossdomain.xml → files/crossdomain.xml} +2 -0
  14. data/templates/project/files/favicon.ico +0 -0
  15. data/templates/project/{htaccess.conf → files/htaccess.conf} +2 -2
  16. data/templates/project/{nginx.conf → files/nginx.conf} +0 -0
  17. data/templates/project/{robots.txt → files/robots.txt} +0 -0
  18. data/templates/project/files/web.config +205 -0
  19. data/templates/project/handheld.scss +0 -6
  20. data/templates/project/index.html.haml +3 -3
  21. data/templates/project/manifest.rb +17 -17
  22. data/templates/project/partials/_base.scss +15 -0
  23. data/templates/project/partials/_html5_boilerplate.scss +84 -0
  24. data/templates/project/style.scss +16 -13
  25. metadata +14 -14
  26. data/templates/project/html5/_base.scss +0 -36
  27. data/templates/project/html5/_defaults.scss +0 -21
  28. data/templates/project/html5/_fonts.scss +0 -7
  29. data/templates/project/html5/_helpers.scss +0 -7
  30. data/templates/project/html5/_media.scss +0 -15
data/README.md CHANGED
@@ -5,7 +5,6 @@ A compass extension based on HTML5 Boilerplate by Paul Irish.
5
5
 
6
6
  Browse [html5boilerplate.com](http://html5boilerplate.com) for the full workup.
7
7
 
8
-
9
8
  Rails Installation
10
9
  ==================
11
10
 
@@ -13,7 +12,7 @@ Rails Installation
13
12
  cd my_rails_project
14
13
  compass init rails -r html5-boilerplate -u html5-boilerplate --force
15
14
 
16
- **This will install the following files in your rails project:**
15
+ **This will install the following files in your rails project:**
17
16
  (Using `--force` flag will overwrite any files that may already exist. In most cases this is probably what you want.)
18
17
 
19
18
  app/views/layouts/application.html.haml
@@ -24,30 +23,31 @@ Rails Installation
24
23
  app/views/layouts/_javascripts.html.haml
25
24
  app/views/layouts/_stylesheets.html.haml
26
25
 
27
- app/stylesheets/
28
26
  app/stylesheets/style.scss
29
27
  app/stylesheets/handheld.scss
30
- app/stylesheets/html5/_base.scss
31
- app/stylesheets/html5/_defaults.scss
32
- app/stylesheets/html5/_fonts.scss
33
- app/stylesheets/html5/_helpers.scss
34
- app/stylesheets/html5/_media.scss
28
+ app/stylesheets/partials/_base.scss
29
+ app/stylesheets/partials/_html5_boilerplate.scss
35
30
 
36
- public/.htaccess
37
31
  public/404.html
32
+ public/.htaccess
38
33
  public/crossdomain.xml
39
34
  public/robots.txt
35
+ public/apple-touch-icon.png
36
+ public/favicon.ico
37
+
40
38
  public/javascripts/dd_belatedpng.js
41
39
  public/javascripts/jquery-1.4.2.min.js
42
40
  public/javascripts/modernizr-1.5.min.js
43
41
  public/javascripts/plugins.js
44
- public/javascripts/profiling/
45
42
  public/javascripts/rails.js
43
+ public/javascripts/profiling/charts.swf
44
+ public/javascripts/profiling/config.js
45
+ public/javascripts/profiling/yahoo-profiling.css
46
+ public/javascripts/profiling/yahoo-profiling.min.js
46
47
 
47
48
  config/compass.rb
48
49
  config/initializers/compass.rb
49
50
 
50
-
51
51
  Note: If you already have a config/compass.rb file in your project, you may need to
52
52
  manually add the following line to the top:
53
53
 
@@ -55,9 +55,13 @@ manually add the following line to the top:
55
55
 
56
56
  ### A few more minor points to store into your brainpan...
57
57
 
58
- If you still have an application.html.erb in your layouts, you might want to loose
58
+ If you still have an application.html.erb in your layouts, you will need to loose
59
59
  it now so that Rails will use your shiny new application.html.haml layout instead.
60
60
 
61
+ The haml will compile to the equivalent of html5-boilerplate's index.html,
62
+ but with all comments stripped out, and some additional rails requirements
63
+ like csrf_meta_tag and flashes.
64
+
61
65
  This has only been tested on Rails3, but should work fine on Rails2.
62
66
 
63
67
 
@@ -65,11 +69,43 @@ Stand Alone Installation
65
69
  ========================
66
70
 
67
71
  gem install html5-boilerplate
68
- compass create myproject -r html5-boilerplate -u html5-boilerplate --javascripts-dir js --css-dir css
72
+ compass create my_project -r html5-boilerplate -u html5-boilerplate --javascripts-dir js --css-dir css
69
73
 
70
74
  The `--javascripts-dir` and `--css-dir` flags are to keep consistent with the original project layout.
71
75
  If you omit them, be sure to edit your javascript and style tags accordingly in index.html.
72
76
 
77
+ **This will create a `my_project` directory containing the following files:**
78
+
79
+ index.html
80
+ 404.html
81
+ crossdomain.xml
82
+ robots.txt
83
+ apple-touch-icon.png
84
+ favicon.ico
85
+
86
+ src/style.scss
87
+ src/handheld.scss
88
+ src/partials/_base.scss
89
+ src/partials/_html5_boilerplate.scss
90
+
91
+ js/dd_belatedpng.js
92
+ js/jquery-1.4.2.min.js
93
+ js/modernizr-1.5.min.js
94
+ js/plugins.js
95
+ js/profiling/charts.swf
96
+ js/profiling/config.js
97
+ js/profiling/yahoo-profiling.css
98
+ js/profiling/yahoo-profiling.min.js
99
+
100
+ .htaccess
101
+ config.rb
102
+ nginx.conf
103
+ web.config
104
+
105
+ The SCSS files above will get compiled to the css directory whenever compass is run:
106
+
107
+ css/handheld.css
108
+ css/style.css
73
109
 
74
110
  License
75
111
  =======
@@ -1,13 +1,13 @@
1
1
  @import "html5-boilerplate/reset";
2
- @import "html5-boilerplate/base";
3
2
  @import "html5-boilerplate/fonts";
3
+ @import "html5-boilerplate/page";
4
4
  @import "html5-boilerplate/helpers";
5
5
  @import "html5-boilerplate/media";
6
6
 
7
7
  @mixin html5-boilerplate {
8
8
  @include html5-boilerplate-reset;
9
- @include html5-boilerplate-base;
10
9
  @include html5-boilerplate-fonts;
10
+ @include html5-boilerplate-page;
11
11
  @include html5-boilerplate-helpers;
12
12
  @include html5-boilerplate-media;
13
13
  }
@@ -1,38 +1,21 @@
1
1
  //
2
2
  // fonts.css from the YUI Library: developer.yahoo.com/yui/
3
- // Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
4
- //
5
- // There are three custom edits:
6
- // * remove arial, helvetica from explicit font stack
7
- // * make the line-height relative and unit-less
8
- // * remove the pre, code styles
3
+ // Please refer to developer.yahoo.com/yui/fonts/ for font sizing percentages
4
+ //
5
+ // There are two custom edits:
6
+ // * remove arial, helvetica from explicit font stack
7
+ // * we normalize monospace styles ourselves
9
8
  //
10
9
 
11
10
  @mixin html5-boilerplate-fonts {
12
- body { @include body-font; }
13
-
14
- table { @include table-font; }
15
-
16
- select, input, textarea { @include input-font; }
17
-
18
- pre, code, kbd, samp { @include monospace-font; }
19
- }
11
+ body { font:13px/1.231 sans-serif; *font-size:small; } // hack retained to preserve specificity
20
12
 
21
- @mixin body-font {
22
- font:$html5-boilerplate-font-size $html5-boilerplate-font-family; *font-size:small; *font:x-small; line-height:1.22;
23
- }
13
+ table { font-size:inherit; font: 100%; }
24
14
 
25
- @mixin input-font {
26
- font:99% $html5-boilerplate-font-family;
27
- }
15
+ select, input, textarea, button { font:99% sans-serif; }
28
16
 
29
- @mixin table-font {
30
- font-size:inherit; font:100%;
17
+ // normalize monospace sizing
18
+ // meyerweb.com/eric/thoughts/2010/02/12/fixed-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; }
31
21
  }
32
-
33
- // normalize monospace sizing
34
- // meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
35
- // en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
36
- @mixin monospace-font {
37
- font-family: $html5-boilerplate-fixed-font-family;
38
- }
@@ -1,10 +1,8 @@
1
- @mixin html5-boilerplate-handheld {
2
- * { @include handheld; }
3
- }
4
-
5
- @mixin handheld {
1
+ * {
6
2
  float: none; // Screens are not big enough to account for floats
7
- font-size: 80%; // Slightly reducing font size to reduce need to scroll
8
- background: #fff; // As much contrast as possible
3
+ background: #fff; // As much contrast as possible */
9
4
  color: #000;
10
5
  }
6
+
7
+ // Slightly reducing font size to reduce need to scroll
8
+ body { font-size: 80%; }
@@ -14,8 +14,8 @@
14
14
 
15
15
  // for image replacement
16
16
  @mixin image-replacement {
17
- display:block;
18
- text-indent:-999px;
17
+ display: block;
18
+ text-indent: -999px;
19
19
  overflow:hidden;
20
20
  background-repeat: none;
21
21
  }
@@ -24,7 +24,7 @@
24
24
  // css-discuss.incutio.com/wiki/Screenreader_Visibility
25
25
  @mixin hidden {
26
26
  display:none;
27
- visibility:hidden;
27
+ visibility: hidden;
28
28
  }
29
29
 
30
30
  // Hide only visually, but have it available for screenreaders
@@ -40,9 +40,7 @@
40
40
  @mixin invisible { visibility: hidden; }
41
41
 
42
42
  // The Magnificent CLEARFIX
43
- @mixin magnificent-clearfix {
44
- .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
45
- .clearfix { display: inline-block; }
46
- * html .clearfix { height: 1%; } // Hides from IE-mac
47
- .clearfix { display: block; }
43
+ @mixin magnificent-clearfix($classname: 'clearfix') {
44
+ .#{$classname}:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
45
+ .#{$classname} { zoom: 1; }
48
46
  }
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  @media screen and (max-device-width: 480px) {
15
- @include media-mobile;
15
+ @include media-mobile(false);
16
16
  }
17
17
  }
18
18
 
@@ -21,18 +21,18 @@
21
21
  // inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/
22
22
 
23
23
  @mixin media-print {
24
- * { background: transparent !important; color: #444 !important; text-shadow: none; }
24
+ * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
25
25
 
26
26
  a, a:visited { color: #444 !important; text-decoration: underline; }
27
27
 
28
28
  a:after { content: " (" attr(href) ")"; }
29
29
 
30
30
  abbr:after { content: " (" attr(title) ")"; }
31
-
32
- .ir a:after { content: ""; } /* Don't show links for images */
33
-
31
+
32
+ .ir a:after { content: ""; } // Don't show links for images
33
+
34
34
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
35
-
35
+
36
36
  img { page-break-inside: avoid; }
37
37
 
38
38
  @page { margin: 0.5cm; }
@@ -57,7 +57,9 @@
57
57
 
58
58
  // Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)
59
59
  // Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/
60
- @mixin media-mobile {
61
- // Prevent iOS, WinMobile from adjusting font size
62
- html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
60
+ @mixin media-mobile($optimize: true) {
61
+ // j.mp/textsizeadjust
62
+ @if not $optimize {
63
+ html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
64
+ }
63
65
  }
@@ -1,10 +1,3 @@
1
-
2
- $html5-boilerplate-font-family: sans-serif !default;
3
-
4
- $html5-boilerplate-fixed-font-family: "Courier New", monospace, serif !default;
5
-
6
- $html5-boilerplate-font-size: 13px !default;
7
-
8
1
  $html5-boilerplate-font-color: #444 !default; //looks better than black: twitter.com/H_FJ/statuses/11800719859
9
2
 
10
3
  $html5-boilerplate-link-color: #607890 !default;
@@ -19,39 +12,37 @@ $html5-boilerplate-selected-font-color: #fff !default;
19
12
 
20
13
  $html5-boilerplate-selected-color: #FF5E99 !default;
21
14
 
22
- $html5-boilerplate-selected-font-color: #fff !default;
23
-
24
15
 
25
16
  //
26
17
  // minimal base styles
27
18
  //
28
19
 
29
- @mixin html5-boilerplate-base {
20
+ @mixin html5-boilerplate-page {
30
21
  body, select, input, textarea { color: $html5-boilerplate-font-color; }
31
22
 
32
- h1,h2,h3,h4,h5,h6 { @include optimize-legibility; }
23
+ h1,h2,h3,h4,h5,h6 { @include bold-font; }
33
24
 
34
25
  html {
35
26
  @include font-smoothing;
36
27
  @include force-scrollbar;
37
28
  }
38
29
 
39
- @include accessible-focus;
40
-
41
30
  a, a:active, a:visited { color: $html5-boilerplate-link-color; }
42
31
  a:hover { color: $html5-boilerplate-link-hover-color; }
43
32
 
44
- ul { margin-left:30px; }
45
- ol { margin-left:30px; list-style-type: decimal; }
33
+ ul { margin-left: 30px; }
34
+ ol { margin-left: 30px; list-style-type: decimal; }
46
35
 
47
- small { @include small; }
48
- strong, th { @include strong; }
36
+ small { @include small-font; }
37
+ strong, th { @include bold-font; }
49
38
 
50
39
  td, td img { vertical-align: top; }
51
40
 
52
41
  sub { vertical-align: sub; font-size: smaller; }
53
42
  sup { vertical-align: super; font-size: smaller; }
54
43
 
44
+ @include accessible-focus;
45
+
55
46
  @include quoted-pre;
56
47
 
57
48
  @include align-input-labels;
@@ -65,12 +56,6 @@ $html5-boilerplate-selected-font-color: #fff !default;
65
56
  @include ie-hacks;
66
57
  }
67
58
 
68
-
69
- // www.aestheticallyloyal.com/public/optimize-legibility/
70
- @mixin optimize-legibility {
71
- font-weight: bold; text-rendering: optimizeLegibility;
72
- }
73
-
74
59
  // maxvoltar.com/archive/-webkit-font-smoothing
75
60
  @mixin font-smoothing {
76
61
  -webkit-font-smoothing: antialiased;
@@ -78,15 +63,14 @@ $html5-boilerplate-selected-font-color: #fff !default;
78
63
 
79
64
  // Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test
80
65
  @mixin accessible-focus {
81
- a:active { outline: none; }
82
- a:focus { outline: thin dotted; }
66
+ a:hover, a:active { outline: none; }
83
67
  }
84
68
 
85
- @mixin small {
69
+ @mixin small-font {
86
70
  font-size: 85%;
87
71
  }
88
72
 
89
- @mixin strong {
73
+ @mixin bold-font {
90
74
  font-weight: bold;
91
75
  }
92
76
 
@@ -94,10 +78,10 @@ $html5-boilerplate-selected-font-color: #fff !default;
94
78
  @mixin quoted-pre {
95
79
  pre {
96
80
  padding: 15px;
97
- white-space: pre; /* CSS2 */
98
- white-space: pre-wrap; /* CSS 2.1 */
99
- white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
100
- word-wrap: break-word; /* IE */
81
+ white-space: pre; // CSS2
82
+ white-space: pre-wrap; // CSS 2.1
83
+ white-space: pre-line; // CSS 3 (and 2.1 as well, actually)
84
+ word-wrap: break-word; // IE
101
85
  }
102
86
  }
103
87
 
@@ -118,13 +102,13 @@ $html5-boilerplate-selected-font-color: #fff !default;
118
102
  // No text-shadow: twitter.com/miketaylr/status/12228805301
119
103
  // Also: hot pink.
120
104
  @mixin selected-text {
121
- ::-moz-selection{ background:$html5-boilerplate-selected-color; color:$html5-boilerplate-selected-font-color; text-shadow: none; }
122
- ::selection { background:$html5-boilerplate-selected-color; color:$html5-boilerplate-selected-font-color; text-shadow: none; }
105
+ ::-moz-selection{ background:$html5-boilerplate-selected-color; color: $html5-boilerplate-selected-font-color; text-shadow: none; }
106
+ ::selection { background: $html5-boilerplate-selected-color; color: $html5-boilerplate-selected-font-color; text-shadow: none; }
123
107
  }
124
108
 
125
109
  // j.mp/webkit-tap-highlight-color
126
110
  @mixin webkit-tap-highlight {
127
- a:link { -webkit-tap-highlight-color: #FF5E99; }
111
+ a:link { -webkit-tap-highlight-color: $html5-boilerplate-selected-color; }
128
112
  }
129
113
 
130
114
  // always force a scrollbar in non-IE
@@ -141,4 +125,3 @@ $html5-boilerplate-selected-font-color: #fff !default;
141
125
  // code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
142
126
  .ie7 img { -ms-interpolation-mode: bicubic; }
143
127
  }
144
-
@@ -22,8 +22,8 @@
22
22
  dl, dt, dd, ol, ul, li,
23
23
  fieldset, form, label, legend,
24
24
  table, caption, tbody, tfoot, thead, tr, th, td,
25
- article, aside, figure, footer, header,
26
- hgroup, menu, nav, section, menu,
25
+ article, aside, canvas, details, figcaption, figure,
26
+ footer, header, hgroup, menu, nav, section, summary,
27
27
  time, mark, audio, video {
28
28
  margin:0;
29
29
  padding:0;
@@ -32,10 +32,12 @@
32
32
  font-size:100%;
33
33
  vertical-align:baseline;
34
34
  background:transparent;
35
- }
35
+ }
36
36
 
37
- article, aside, figure, footer, header,
38
- hgroup, nav, section { display:block; }
37
+ article, aside, details, figcaption, figure,
38
+ footer, header, hgroup, menu, nav, section, summary {
39
+ display:block;
40
+ }
39
41
 
40
42
  nav ul { list-style:none; }
41
43
 
@@ -46,9 +48,9 @@
46
48
 
47
49
  a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }
48
50
 
49
- ins { background-color:#ff9; color:#000; text-decoration:none; }
51
+ ins { background-color: #ff9; color: #000; text-decoration:none; }
50
52
 
51
- mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
53
+ mark { background-color: #ff9; color: #000; font-style:italic; font-weight:bold; }
52
54
 
53
55
  del { text-decoration: line-through; }
54
56
 
@@ -58,7 +60,7 @@
58
60
  // tables still need cellspacing="0" in the markup
59
61
  table { border-collapse:collapse; border-spacing:0; }
60
62
 
61
- hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
63
+ hr { display: block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
62
64
 
63
65
  input, select { vertical-align:middle; }
64
66
  }
@@ -5,7 +5,7 @@
5
5
  /[if IE]
6
6
 
7
7
  -#
8
- Always force latest IE rendering engine (even in intranet) & Chrome Frame
8
+ Always force latest IE rendering engine (even in intranet) & Chrome Frame
9
9
  Remove this if you use the .htaccess
10
10
  %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
11
11
 
@@ -13,21 +13,16 @@
13
13
  %meta{:content => "", :name => "description"}/
14
14
  %meta{:content => "", :name => "author"}/
15
15
 
16
- -#
17
- Mobile Viewport Fix
18
- j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
19
- device-width : Occupy full width of the screen in its current orientation
20
- initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
21
- maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
22
- %meta{:content => "width=device-width; initial-scale=1.0; maximum-scale=1.0;", :name => "viewport"}/
23
-
24
- -# Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references
16
+ -# Mobile viewport optimized: j.mp/bplateviewport
17
+ %meta{:content => "width=device-width; initial-scale=1.0", :name => "viewport"}/
18
+
19
+ -# Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references
25
20
  -# %link{:href => "/favicon.ico", :rel => "shortcut icon"}/
26
21
  -# %link{:href => "/apple-touch-icon.png", :rel => "apple-touch-icon"}/
27
22
 
28
23
  = render :partial => 'layouts/stylesheets'
29
24
 
30
- -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements &amp; feature detects
25
+ -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects
31
26
  = javascript_include_tag 'modernizr-1.5.min'
32
27
 
33
28
  = csrf_meta_tag
@@ -19,8 +19,8 @@
19
19
  = yield :javascripts
20
20
 
21
21
  -# yui profiler and profileviewer
22
- - if RAILS_ENV == 'development'
23
- = javascript_include_tag 'profiling/yahoo-profiling.min.js', 'profiling/config.js'
22
+ - if Rails.env == 'development'
23
+ = javascript_include_tag 'profiling/yahoo-profiling.min', 'profiling/config'
24
24
 
25
25
  -# asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet
26
26
  -# change the UA-XXXXX-X to be your site's ID
@@ -77,8 +77,8 @@ AddType text/cache-manifest manifest
77
77
  # gzip compression.
78
78
  <IfModule mod_deflate.c>
79
79
 
80
- # html, xml, css, and js:
81
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript application/javascript application/json
80
+ # html, txt, css, js, json, xml, htc:
81
+ AddOutputFilterByType DEFLATE text/html text/plain text/css application/x-javascript text/javascript application/javascript application/json text/xml application/xml text/x-component
82
82
 
83
83
  # webfonts and svg:
84
84
  <FilesMatch "\.(ttf|otf|eot|svg)$" >
@@ -0,0 +1,205 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- web.config contributed to html5boilerplate by Velir : velir.com -->
3
+ <configuration>
4
+ <configSections>
5
+ <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
6
+ <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
7
+ <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
8
+ <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
9
+ <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
10
+ <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
11
+ <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
12
+ <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
13
+ </sectionGroup>
14
+ </sectionGroup>
15
+ </sectionGroup>
16
+ </configSections>
17
+
18
+ <appSettings />
19
+ <connectionStrings />
20
+ <system.web>
21
+ <!--
22
+ Set compilation debug="true" to insert debugging
23
+ symbols into the compiled page. Because this
24
+ affects performance, set this value to true only
25
+ during development.
26
+ -->
27
+ <compilation debug="false">
28
+
29
+ <assemblies>
30
+ <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
31
+ <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
32
+ <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
33
+ <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
34
+ </assemblies>
35
+
36
+ </compilation>
37
+ <authentication mode="Windows" />
38
+ <!--
39
+ The <customErrors> section enables configuration
40
+ of what to do if/when an unhandled error occurs
41
+ during the execution of a request. Specifically,
42
+ it enables developers to configure html error pages
43
+ to be displayed in place of a error stack trace.
44
+
45
+ <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
46
+ <error statusCode="403" redirect="NoAccess.htm" />
47
+ <error statusCode="404" redirect="FileNotFound.htm" />
48
+ </customErrors>
49
+ -->
50
+ <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
51
+ <error statusCode="404" redirect="404.html" />
52
+ </customErrors>
53
+
54
+ <pages>
55
+ <controls>
56
+ <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
57
+ <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
58
+ </controls>
59
+ </pages>
60
+
61
+ <httpHandlers>
62
+ <remove verb="*" path="*.asmx" />
63
+ <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
64
+ <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
65
+ <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
66
+ </httpHandlers>
67
+ <httpModules>
68
+ <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
69
+ </httpModules>
70
+ </system.web>
71
+
72
+ <system.codedom>
73
+ <compilers>
74
+ <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
75
+ <providerOption name="CompilerVersion" value="v3.5" />
76
+ <providerOption name="WarnAsError" value="false" />
77
+ </compiler>
78
+ <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
79
+ <providerOption name="CompilerVersion" value="v3.5" />
80
+ <providerOption name="OptionInfer" value="true" />
81
+ <providerOption name="WarnAsError" value="false" />
82
+ </compiler>
83
+ </compilers>
84
+ </system.codedom>
85
+
86
+ <system.webServer>
87
+ <!--
88
+ GZip static file content. Overrides the server default which only compresses static files over 2700 bytes
89
+ -->
90
+ <httpCompression directory="%SystemDrive%\websites\_compressed" minFileSizeForComp="1024">
91
+ <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
92
+ <staticTypes>
93
+ <add mimeType="text/*" enabled="true" />
94
+ <add mimeType="message/*" enabled="true" />
95
+ <add mimeType="application/javascript" enabled="true" />
96
+ <add mimeType="application/x-javascript" enabled="true" />
97
+ <add mimeType="application/json" enabled="true" />
98
+ <add mimeType="*/*" enabled="false" />
99
+ </staticTypes>
100
+ </httpCompression>
101
+
102
+ <validation validateIntegratedModeConfiguration="false" />
103
+ <modules>
104
+ <remove name="ScriptModule" />
105
+ <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
106
+ </modules>
107
+ <handlers>
108
+ <remove name="WebServiceHandlerFactory-Integrated" />
109
+ <remove name="ScriptHandlerFactory" />
110
+ <remove name="ScriptHandlerFactoryAppServices" />
111
+ <remove name="ScriptResource" />
112
+ <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
113
+ <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
114
+ <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
115
+ </handlers>
116
+ <urlCompression doStaticCompression="true" />
117
+ <staticContent>
118
+ <!-- Set expire headers to 30 days for static content-->
119
+ <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00" />
120
+ <!-- use utf-8 encoding for anything served text/plain or text/html -->
121
+ <remove fileExtension=".css" />
122
+ <mimeMap fileExtension=".css" mimeType="text/css; charset=UTF-8" />
123
+ <remove fileExtension=".js" />
124
+ <mimeMap fileExtension=".js" mimeType="text/javascript; charset=UTF-8" />
125
+ <remove fileExtension=".json" />
126
+ <mimeMap fileExtension=".json" mimeType="application/json; charset=UTF-8" />
127
+ <remove fileExtension=".rss" />
128
+ <mimeMap fileExtension=".rss" mimeType="application/rss+xml; charset=UTF-8" />
129
+ <remove fileExtension=".html" />
130
+ <mimeMap fileExtension=".html" mimeType="text/html; charset=UTF-8" />
131
+ <remove fileExtension=".xml" />
132
+ <mimeMap fileExtension=".xml" mimeType="application/xml; charset=UTF-8" />
133
+ <!-- HTML5 Video mime types-->
134
+ <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
135
+ <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
136
+ <mimeMap fileExtension=".ogg" mimeType="video/ogg" />
137
+ <mimeMap fileExtension=".ogv" mimeType="video/ogg" />
138
+ <mimeMap fileExtension=".webm" mimeType="video/webm" />
139
+ <!-- Proper svg serving. Required for svg webfonts on iPad -->
140
+ <mimeMap fileExtension=".svg" mimeType="images/svg+xml" />
141
+ <mimeMap fileExtension=".svgz" mimeType="images/svg+xml" />
142
+ <!-- HTML4 Web font mime types -->
143
+ <!-- Remove default IIS mime type for .eot which is application/octet-stream -->
144
+ <remove fileExtension=".eot" />
145
+ <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
146
+ <mimeMap fileExtension=".otf" mimeType="font/otf" />
147
+ <mimeMap fileExtension=".woff" mimeType="font/x-woff" />
148
+
149
+ </staticContent>
150
+ <httpProtocol>
151
+ <customHeaders>
152
+ <!--
153
+ http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/
154
+ Uncomment to serve cross-domain ajax requests
155
+
156
+ <add name="Access-Control-Allow-Origin" value="*" />
157
+ -->
158
+
159
+ <!--
160
+ Force the latest IE version, in various cases when it may fall back to IE7 mode
161
+ github.com/rails/rails/commit/123eb25#commitcomment-118920
162
+ Use ChromeFrame if it's installed for a better experience for the poor IE folk
163
+ -->
164
+ <add name="X-UA-Compatible" value="IE=Edge,chrome=1" />
165
+
166
+ <!--
167
+ Allow cookies to be set from iframes (for IE only)
168
+ If needed, uncomment and specify a path or regex in the Location directive
169
+
170
+ <add name="P3P" value="policyref=&quot;/w3c/p3p.xml&quot;, CP=&quot;IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT&quot;" />
171
+ -->
172
+ </customHeaders>
173
+ </httpProtocol>
174
+ <!--
175
+ Remove the WWW from the URL.
176
+ Requires IIS Rewrite module http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/
177
+ Configuration lifted from http://nayyeri.net/remove-www-prefix-from-urls-with-url-rewrite-module-for-iis-7-0
178
+
179
+ <rewrite>
180
+ <rules>
181
+ <rule name="Remove WWW" stopProcessing="true">
182
+ <match url="^(.*)$" />
183
+ <conditions>
184
+ <add input="{HTTP_HOST}" pattern="^(www\.)(.*)$" />
185
+ </conditions>
186
+ <action type="Redirect" url="http://nayyeri.net{PATH_INFO}" redirectType="Permanent" />
187
+ </rule>
188
+ </rules>
189
+ </rewrite>
190
+ -->
191
+ </system.webServer>
192
+
193
+ <runtime>
194
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
195
+ <dependentAssembly>
196
+ <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
197
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
198
+ </dependentAssembly>
199
+ <dependentAssembly>
200
+ <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
201
+ <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
202
+ </dependentAssembly>
203
+ </assemblyBinding>
204
+ </runtime>
205
+ </configuration>
@@ -1,7 +1 @@
1
1
  @import "html5-boilerplate/handheld";
2
-
3
- // Use this partial for more customization
4
- //@import "html5-boilerplate/handheld";
5
-
6
- // Otherwise just include everything
7
- @include html5-boilerplate-handheld;
@@ -6,7 +6,7 @@
6
6
  /[if IE]
7
7
 
8
8
  -#
9
- Always force latest IE rendering engine (even in intranet) &amp; Chrome Frame
9
+ Always force latest IE rendering engine (even in intranet) & Chrome Frame
10
10
  Remove this if you use the .htaccess
11
11
  %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
12
12
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  -#
18
18
  Mobile Viewport Fix
19
- j.mp/mobileviewport &amp; davidbcalhoun.com/2010/viewport-metatag
19
+ j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
20
20
  device-width : Occupy full width of the screen in its current orientation
21
21
  initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
22
22
  maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width
@@ -32,7 +32,7 @@
32
32
  -# For the less-enabled mobile browsers like Opera Mini
33
33
  %link{:href => "css/handheld.css?v=1", :media => "handheld", :rel => "stylesheet"}/
34
34
 
35
- -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements &amp; feature detects
35
+ -# All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects
36
36
  %script{:src => "js/modernizr-1.5.min.js"}
37
37
 
38
38
  -# paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
@@ -2,11 +2,8 @@ description "Compass extention for HTML5 Boilerplate located at http://html5boil
2
2
 
3
3
  stylesheet 'style.scss', :media => 'screen, projection'
4
4
  stylesheet 'handheld.scss', :media => 'handheld'
5
- stylesheet 'html5/_base.scss'
6
- stylesheet 'html5/_defaults.scss'
7
- stylesheet 'html5/_fonts.scss'
8
- stylesheet 'html5/_helpers.scss'
9
- stylesheet 'html5/_media.scss'
5
+ stylesheet 'partials/_base.scss'
6
+ stylesheet 'partials/_html5_boilerplate.scss'
10
7
 
11
8
  if Compass.configuration.project_type == :rails
12
9
  file 'application.html.haml', :to => 'app/views/layouts/application.html.haml'
@@ -16,6 +13,7 @@ if Compass.configuration.project_type == :rails
16
13
  file '_header.html.haml', :to => 'app/views/layouts/_header.html.haml'
17
14
  file '_javascripts.html.haml', :to => 'app/views/layouts/_javascripts.html.haml'
18
15
  file '_stylesheets.html.haml', :to => 'app/views/layouts/_stylesheets.html.haml'
16
+ file 'files/nginx.conf', :to => 'config/nginx.conf'
19
17
  javascript 'javascripts/dd_belatedpng.js', :to => 'dd_belatedpng.js'
20
18
  javascript 'javascripts/jquery-1.4.2.min.js', :to => 'jquery-1.4.2.min.js'
21
19
  javascript 'javascripts/modernizr-1.5.min.js', :to => 'modernizr-1.5.min.js'
@@ -27,6 +25,8 @@ if Compass.configuration.project_type == :rails
27
25
  javascript 'javascripts/profiling/yahoo-profiling.min.js', :to => 'profiling/yahoo-profiling.min.js'
28
26
  else
29
27
  html 'index.html.haml'
28
+ file 'files/nginx.conf', :to => 'nginx.conf'
29
+ file 'files/web.config', :to => 'web.config'
30
30
  javascript 'javascripts/dd_belatedpng.js', :to => 'dd_belatedpng.js'
31
31
  javascript 'javascripts/jquery-1.4.2.min.js', :to => 'jquery-1.4.2.min.js'
32
32
  javascript 'javascripts/modernizr-1.5.min.js', :to => 'modernizr-1.5.min.js'
@@ -36,27 +36,27 @@ else
36
36
  javascript 'javascripts/profiling/yahoo-profiling.css', :to => 'profiling/yahoo-profiling.css'
37
37
  javascript 'javascripts/profiling/yahoo-profiling.min.js', :to => 'profiling/yahoo-profiling.min.js'
38
38
  end
39
- html '404.html'
40
- html 'htaccess.conf', :to => '.htaccess'
41
- html 'crossdomain.xml'
42
- html 'robots.txt'
43
- file 'nginx.conf'
39
+ html 'files/404.html', :to => '404.html'
40
+ html 'files/htaccess.conf', :to => '.htaccess'
41
+ html 'files/crossdomain.xml', :to => 'crossdomain.xml'
42
+ html 'files/robots.txt', :to => 'robots.txt'
43
+ html 'files/apple-touch-icon.png', :to => 'apple-touch-icon.png'
44
+ html 'files/favicon.ico', :to => 'favicon.ico'
44
45
 
45
46
  help %Q{
46
47
  This is a Compass extention for HTML5 Boilerplate by Paul Irish
47
- (see http://html5boilerplate.com)
48
+ (See full docs at: http://github.com/sporkd/compass-html5-boilerplate)
48
49
 
49
- Installation for a Rails Project:
50
+ Rails Installation
51
+ ========================
50
52
  $ gem install html5-boilerplate
51
53
  $ cd my_rails_project
52
54
  $ compass init rails -r html5-boilerplate -u html5-boilerplate --force
53
55
 
54
- (--force overwrites existing stuff so you get everything. What, you don't trust me?)
55
-
56
-
57
- Stand-alone Project:
56
+ Stand Alone Installation
57
+ ========================
58
58
  $ gem install html5-boilerplate
59
- $ compass create myproject -r html5-boilerplate -u html5-boilerplate
59
+ $ compass create my_project -r html5-boilerplate -u html5-boilerplate --javascripts-dir js --css-dir css
60
60
 
61
61
  }
62
62
 
@@ -0,0 +1,15 @@
1
+ // This file must be imported before html5-boilerplate/page
2
+
3
+ $html5-boilerplate-font-color: #444;
4
+
5
+ $html5-boilerplate-link-color: #607890;
6
+
7
+ $html5-boilerplate-link-hover-color: #036;
8
+
9
+ $html5-boilerplate-link-active-color: #607890;
10
+
11
+ $html5-boilerplate-link-visited-color: #607890;
12
+
13
+ $html5-boilerplate-selected-font-color: #fff;
14
+
15
+ $html5-boilerplate-selected-color: #FF5E99;
@@ -0,0 +1,84 @@
1
+ //--------------------------------
2
+ // Reset
3
+ //--------------------------------
4
+ @include html5-boilerplate-reset;
5
+
6
+
7
+ //--------------------------------
8
+ // Fonts
9
+ //--------------------------------
10
+ @include html5-boilerplate-fonts;
11
+
12
+
13
+ //--------------------------------
14
+ // Page
15
+ //--------------------------------
16
+ body, select, input, textarea { color: $html5-boilerplate-font-color; }
17
+
18
+ h1,h2,h3,h4,h5,h6 { @include bold-font; }
19
+
20
+ html {
21
+ @include font-smoothing;
22
+ @include force-scrollbar;
23
+ }
24
+
25
+ a, a:active, a:visited { color: $html5-boilerplate-link-color; }
26
+ a:hover { color: $html5-boilerplate-link-hover-color; }
27
+
28
+ ul { margin-left: 30px; }
29
+ ol { margin-left: 30px; list-style-type: decimal; }
30
+
31
+ small { @include small-font; }
32
+ strong, th { @include bold-font; }
33
+
34
+ td, td img { vertical-align: top; }
35
+
36
+ sub { vertical-align: sub; font-size: smaller; }
37
+ sup { vertical-align: super; font-size: smaller; }
38
+
39
+ @include accessible-focus;
40
+
41
+ @include quoted-pre;
42
+
43
+ @include align-input-labels;
44
+
45
+ @include hand-cursor-inputs;
46
+
47
+ @include selected-text;
48
+
49
+ @include webkit-tap-highlight;
50
+
51
+ @include ie-hacks;
52
+
53
+
54
+ //--------------------------------
55
+ // Helpers
56
+ //--------------------------------
57
+ .ir { @include image-replacement; }
58
+
59
+ .hidden { @include hidden; }
60
+
61
+ .visuallyhidden { @include visually-hidden; }
62
+
63
+ @include magnificent-clearfix;
64
+
65
+
66
+ //--------------------------------
67
+ // Media
68
+ //--------------------------------
69
+ @media print {
70
+ @include media-print;
71
+ }
72
+
73
+ @media all and (orientation:portrait) {
74
+ // Style adjustments for portrait mode goes here
75
+ }
76
+
77
+ @media all and (orientation:landscape) {
78
+ // Style adjustments for landscape mode goes here
79
+ }
80
+
81
+ @media screen and (max-device-width: 480px) {
82
+ // Pass in false if you don't want iOS and WinMobile to mobile-optimize the text for you
83
+ @include media-mobile(true);
84
+ }
@@ -1,19 +1,22 @@
1
- // Import and include reset mixin
2
- @import "html5-boilerplate";
3
- @include html5-boilerplate-reset;
1
+ // First, set some default constants
2
+ // to be used by html5-boilerplate
3
+ @import "partials/base";
4
4
 
5
- // Set some default constants
6
- @import "html5/defaults";
5
+ // Then, we'll import the compass extension
6
+ @import "html5-boilerplate";
7
7
 
8
- // Import these partials to customize
9
- // which mixins are included
10
- @import "html5/base";
11
- @import "html5/fonts";
12
- @import "html5/helpers";
13
- @import "html5/media";
8
+ // Now you can now choose to include the
9
+ // whole enchilada with just one line
10
+ //@include html5-boilerplate;
14
11
 
15
- // Otherwise just include everything
16
- //@include html5-boilerplate-base;
12
+ // Or, you can pick and choose only the
13
+ // sections you want to include
14
+ //@include html5-boilerplate-reset;
17
15
  //@include html5-boilerplate-fonts;
16
+ //@include html5-boilerplate-page;
18
17
  //@include html5-boilerplate-helpers;
19
18
  //@include html5-boilerplate-media;
19
+
20
+ // Or, you can import this partial if you want
21
+ // full controll over which mixins to include
22
+ @import "partials/html5_boilerplate";
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Peter Gumeson
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-16 00:00:00 -07:00
17
+ date: 2010-08-18 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -44,13 +44,12 @@ files:
44
44
  - README.md
45
45
  - lib/html5-boilerplate.rb
46
46
  - stylesheets/_html5-boilerplate.scss
47
- - stylesheets/html5-boilerplate/_base.scss
48
47
  - stylesheets/html5-boilerplate/_fonts.scss
49
48
  - stylesheets/html5-boilerplate/_handheld.scss
50
49
  - stylesheets/html5-boilerplate/_helpers.scss
51
50
  - stylesheets/html5-boilerplate/_media.scss
51
+ - stylesheets/html5-boilerplate/_page.scss
52
52
  - stylesheets/html5-boilerplate/_reset.scss
53
- - templates/project/404.html
54
53
  - templates/project/_flashes.html.haml
55
54
  - templates/project/_footer.html.haml
56
55
  - templates/project/_head.html.haml
@@ -58,14 +57,15 @@ files:
58
57
  - templates/project/_javascripts.html.haml
59
58
  - templates/project/_stylesheets.html.haml
60
59
  - templates/project/application.html.haml
61
- - templates/project/crossdomain.xml
60
+ - templates/project/files/404.html
61
+ - templates/project/files/apple-touch-icon.png
62
+ - templates/project/files/crossdomain.xml
63
+ - templates/project/files/favicon.ico
64
+ - templates/project/files/htaccess.conf
65
+ - templates/project/files/nginx.conf
66
+ - templates/project/files/robots.txt
67
+ - templates/project/files/web.config
62
68
  - templates/project/handheld.scss
63
- - templates/project/htaccess.conf
64
- - templates/project/html5/_base.scss
65
- - templates/project/html5/_defaults.scss
66
- - templates/project/html5/_fonts.scss
67
- - templates/project/html5/_helpers.scss
68
- - templates/project/html5/_media.scss
69
69
  - templates/project/index.html.haml
70
70
  - templates/project/javascripts/dd_belatedpng.js
71
71
  - templates/project/javascripts/jquery-1.4.2.min.js
@@ -77,8 +77,8 @@ files:
77
77
  - templates/project/javascripts/profiling/yahoo-profiling.min.js
78
78
  - templates/project/javascripts/rails.js
79
79
  - templates/project/manifest.rb
80
- - templates/project/nginx.conf
81
- - templates/project/robots.txt
80
+ - templates/project/partials/_base.scss
81
+ - templates/project/partials/_html5_boilerplate.scss
82
82
  - templates/project/style.scss
83
83
  has_rdoc: true
84
84
  homepage: http://github.com/sporkd/compass-html5-boilerplate
@@ -1,36 +0,0 @@
1
- body, select, input, textarea { color: $html5-boilerplate-font-color; }
2
-
3
- h1,h2,h3,h4,h5,h6 { @include optimize-legibility; }
4
-
5
- html {
6
- @include font-smoothing;
7
- @include force-scrollbar;
8
- }
9
-
10
- @include accessible-focus;
11
-
12
- a, a:active, a:visited { color: $html5-boilerplate-link-color; }
13
- a:hover { color: $html5-boilerplate-link-hover-color; }
14
-
15
- ul { margin-left:30px; }
16
- ol { margin-left:30px; list-style-type: decimal; }
17
-
18
- small { @include small; }
19
- strong, th { @include strong; }
20
-
21
- td, td img { vertical-align: top; }
22
-
23
- sub { vertical-align: sub; font-size: smaller; }
24
- sup { vertical-align: super; font-size: smaller; }
25
-
26
- @include quoted-pre;
27
-
28
- @include align-input-labels;
29
-
30
- @include hand-cursor-inputs;
31
-
32
- @include selected-text;
33
-
34
- @include webkit-tap-highlight;
35
-
36
- @include ie-hacks;
@@ -1,21 +0,0 @@
1
- $html5-boilerplate-font-family: sans-serif;
2
-
3
- $html5-boilerplate-fixed-font-family: "Courier New", monospace, serif;
4
-
5
- $html5-boilerplate-font-size: 13px !default;
6
-
7
- $html5-boilerplate-font-color: #444; //looks better than black: twitter.com/H_FJ/statuses/11800719859
8
-
9
- $html5-boilerplate-link-color: #607890;
10
-
11
- $html5-boilerplate-link-hover-color: #036;
12
-
13
- $html5-boilerplate-link-active-color: #607890;
14
-
15
- $html5-boilerplate-link-visited-color: #607890;
16
-
17
- $html5-boilerplate-selected-font-color: #fff;
18
-
19
- $html5-boilerplate-selected-color: #FF5E99;
20
-
21
- $html5-boilerplate-selected-font-color: #fff;
@@ -1,7 +0,0 @@
1
- body { @include body-font; }
2
-
3
- table { @include table-font; }
4
-
5
- select, input, textarea { @include input-font; }
6
-
7
- pre, code, kbd, samp { @include monospace-font; }
@@ -1,7 +0,0 @@
1
- .ir { @include image-replacement; }
2
-
3
- .hidden { @include hidden; }
4
-
5
- .visuallyhidden { @include visually-hidden; }
6
-
7
- @include magnificent-clearfix;
@@ -1,15 +0,0 @@
1
- @media print {
2
- @include media-print;
3
- }
4
-
5
- @media all and (orientation:portrait) {
6
- @include media-orientation-portrait;
7
- }
8
-
9
- @media all and (orientation:landscape) {
10
- @include media-orientation-landscape;
11
- }
12
-
13
- @media screen and (max-device-width: 480px) {
14
- @include media-mobile;
15
- }