compass-normalize 1.0 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,7 +7,7 @@ This simple plugin for [Compass](http://compass-style.org/) enables you to use [
7
7
 
8
8
  From the command line:
9
9
 
10
- $ (sudo) gem install compass-normalize --pre
10
+ $ (sudo) gem install compass-normalize
11
11
 
12
12
  You can also install the gem from your local fork:
13
13
 
@@ -40,7 +40,30 @@ You can also just import parts you need:
40
40
  Many thanks to [Frederic Hemberger](https://github.com/fhemberger/) who contributed greatly to this project.
41
41
 
42
42
  ## License
43
- This Code is released under [The Unlicense](http://unlicense.org/)
43
+ This is free and unencumbered software released into the public domain.
44
+
45
+ Anyone is free to copy, modify, publish, use, compile, sell, or
46
+ distribute this software, either in source code form or as a compiled
47
+ binary, for any purpose, commercial or non-commercial, and by any
48
+ means.
49
+
50
+ In jurisdictions that recognize copyright laws, the author or authors
51
+ of this software dedicate any and all copyright interest in the
52
+ software to the public domain. We make this dedication for the benefit
53
+ of the public at large and to the detriment of our heirs and
54
+ successors. We intend this dedication to be an overt act of
55
+ relinquishment in perpetuity of all present and future rights to this
56
+ software under copyright law.
57
+
58
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
59
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
61
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
62
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
63
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
64
+ OTHER DEALINGS IN THE SOFTWARE.
65
+
66
+ For more information, please refer to [The Unlicense](http://unlicense.org/)
44
67
 
45
68
  ### Major components:
46
69
 
@@ -1,6 +1,6 @@
1
- // ============================================================================
1
+ // =============================================================================
2
2
  // Base
3
- // ============================================================================
3
+ // ==========================================================================
4
4
 
5
5
  // 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
6
6
  // http://clagnut.com/blog/348/#c790
@@ -8,9 +8,9 @@
8
8
  // www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
9
9
 
10
10
  html {
11
- font-size: 100%; // 1
12
- -webkit-text-size-adjust: 100%; // 2
13
- -ms-text-size-adjust: 100%; // 2
11
+ font-size: 100%; /* 1 */
12
+ -webkit-text-size-adjust: 100%; /* 2 */
13
+ -ms-text-size-adjust: 100%; /* 2 */
14
14
  }
15
15
 
16
16
  // Addresses font-family inconsistency between 'textarea' and other form elements.
@@ -30,9 +30,10 @@ body {
30
30
  }
31
31
 
32
32
 
33
- // ============================================================================
33
+ // =============================================================================
34
34
  // Links
35
- // ============================================================================
35
+ // ========================================================================== */
36
+
36
37
 
37
38
  // Addresses outline displayed oddly in Chrome
38
39
 
@@ -49,12 +50,12 @@ a:active {
49
50
  }
50
51
 
51
52
 
52
- // ============================================================================
53
+ // =============================================================================
53
54
  // Typography
54
- // ============================================================================
55
+ // ==========================================================================
55
56
 
56
- // Neutralise smaller font-size in 'section' and 'article' in FF4+, Chrome, S5
57
- // Fix IE6/7 heading font-size not being relative to the root font-size
57
+ // Addresses font sizes and margins set differently in IE6/7
58
+ // Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
58
59
 
59
60
  h1 {
60
61
  font-size: 2em;
@@ -116,6 +117,13 @@ mark {
116
117
  color: #000;
117
118
  }
118
119
 
120
+ // Addresses margins set differently in IE6/7
121
+
122
+ p,
123
+ pre {
124
+ margin: 1em 0;
125
+ }
126
+
119
127
  // Corrects font family set oddly in IE6, S4/5, Chrome
120
128
  // en.wikipedia.org/wiki/User:Davidgothberg/Test59
121
129
 
@@ -177,20 +185,33 @@ sub {
177
185
  }
178
186
 
179
187
 
180
- // ============================================================================
188
+ // =============================================================================
181
189
  // Lists
182
- // ============================================================================
190
+ // ==========================================================================
183
191
 
184
- ul,
185
- ol {
186
- margin-left: 0;
187
- padding: 0 0 0 40px;
192
+ // Addresses margins set differently in IE6/7
193
+
194
+ dl,
195
+ menu,
196
+ ol,
197
+ ul {
198
+ margin: 1em 0;
188
199
  }
189
200
 
190
201
  dd {
191
202
  margin: 0 0 0 40px;
192
203
  }
193
204
 
205
+ // Addresses paddings set differently in IE6/7
206
+
207
+ menu,
208
+ ol,
209
+ ul {
210
+ padding: 0 0 0 40px;
211
+ }
212
+
213
+ // Corrects list images handled incorrectly in IE7
214
+
194
215
  nav ul,
195
216
  nav ol {
196
217
  list-style: none;
@@ -198,17 +219,17 @@ nav ol {
198
219
  }
199
220
 
200
221
 
201
- // ============================================================================
222
+ // =============================================================================
202
223
  // Embedded content
203
- // ============================================================================
224
+ // ==========================================================================
204
225
 
205
226
  // 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
206
227
  // 2. Improves image quality when scaled in IE7
207
228
  // code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
208
229
 
209
230
  img {
210
- border: 0; // 1
211
- -ms-interpolation-mode: bicubic; // 2
231
+ border: 0; /* 1 */
232
+ -ms-interpolation-mode: bicubic; /* 2 */
212
233
  }
213
234
 
214
235
  // Corrects overflow displayed oddly in IE9
@@ -218,9 +239,19 @@ svg:not(:root) {
218
239
  }
219
240
 
220
241
 
221
- // ============================================================================
242
+ // =============================================================================
243
+ // Figures
244
+ // ==========================================================================
245
+
246
+ // Addresses margin not present in IE6/7/8/9, S5, O11
247
+
248
+ figure {
249
+ margin: 0;
250
+ }
251
+
252
+ // =============================================================================
222
253
  // Tables
223
- // ============================================================================
254
+ // ==========================================================================
224
255
 
225
256
  // Remove most spacing between table cells
226
257
 
@@ -1,6 +1,6 @@
1
- // ============================================================================
1
+ // =============================================================================
2
2
  // Forms
3
- // ============================================================================
3
+ // ==========================================================================
4
4
 
5
5
  // Corrects margin displayed oddly in IE6/7
6
6
 
@@ -21,10 +21,10 @@ fieldset {
21
21
  // 3. Corrects alignment displayed oddly in IE6/7
22
22
 
23
23
  legend {
24
- border: 0; // 1
24
+ border: 0; // 1
25
25
  padding: 0;
26
- white-space: normal; // 2
27
- *margin-left: -7px; // 3
26
+ white-space: normal; // 2
27
+ *margin-left: -7px; // 3
28
28
  }
29
29
 
30
30
  // 1. Corrects font size not being inherited in all browsers
@@ -35,8 +35,8 @@ button,
35
35
  input,
36
36
  select,
37
37
  textarea {
38
- font-size: 100%; // 1
39
- margin: 0; // 2
38
+ font-size: 100%; // 1
39
+ margin: 0; // 2
40
40
  vertical-align: baseline; // 3
41
41
  *vertical-align: middle; // 3
42
42
  }
@@ -112,6 +112,6 @@ input::-moz-focus-inner {
112
112
  // 2. Improves readability and alignment in all browsers
113
113
 
114
114
  textarea {
115
- overflow: auto; // 1
116
- vertical-align: top; // 2
115
+ overflow: auto; /* 1 */
116
+ vertical-align: top; /* 2 */
117
117
  }
@@ -1,6 +1,7 @@
1
- // ============================================================================
1
+ // =============================================================================
2
2
  // HTML5 display definitions
3
- // ============================================================================
3
+ // ========================================================================== */
4
+
4
5
 
5
6
  // Corrects block display not defined in IE6/7/8/9 & FF3
6
7
 
@@ -13,7 +14,8 @@ footer,
13
14
  header,
14
15
  hgroup,
15
16
  nav,
16
- section {
17
+ section,
18
+ summary {
17
19
  display: block;
18
20
  }
19
21
 
@@ -28,9 +30,11 @@ video {
28
30
  }
29
31
 
30
32
  // Prevents modern browsers from displaying 'audio' without controls
33
+ // Remove excess height in iOS5 devices
31
34
 
32
35
  audio:not([controls]) {
33
36
  display: none;
37
+ height: 0;
34
38
  }
35
39
 
36
40
  // Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
@@ -38,15 +42,4 @@ audio:not([controls]) {
38
42
 
39
43
  [hidden] {
40
44
  display: none;
41
- }
42
-
43
-
44
- // ============================================================================
45
- // Figures
46
- // ============================================================================
47
-
48
- // Addresses margin not present in IE6/7/8/9, S5, O11
49
-
50
- figure {
51
- margin: 0;
52
45
  }
metadata CHANGED
@@ -1,40 +1,42 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: compass-normalize
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.1'
4
5
  prerelease:
5
- version: "1.0"
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Kristian Andersen
9
9
  - Frederic Hemberger
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2012-02-09 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
13
+ date: 2012-03-28 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
17
16
  name: compass
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
20
18
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
24
22
  version: 0.11.5
25
23
  type: :runtime
26
- version_requirements: *id001
27
- description: This simple plugin for Compass enables you to use normalize.css in your stylesheets without having to download it.
28
- email:
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 0.11.5
31
+ description: This simple plugin for Compass enables you to use normalize.css in your
32
+ stylesheets without having to download it.
33
+ email:
29
34
  - me@kristianandersen.me
30
35
  - mail@frederic-hemberger.de
31
36
  executables: []
32
-
33
37
  extensions: []
34
-
35
38
  extra_rdoc_files: []
36
-
37
- files:
39
+ files:
38
40
  - README.md
39
41
  - lib/compass-normalize.rb
40
42
  - stylesheets/_normalize.scss
@@ -45,30 +47,26 @@ files:
45
47
  - templates/project/screen.scss
46
48
  homepage: http://github.com/ksmandersen/compass-normalize/
47
49
  licenses: []
48
-
49
50
  post_install_message:
50
51
  rdoc_options: []
51
-
52
- require_paths:
52
+ require_paths:
53
53
  - lib
54
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: "0"
60
- required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  none: false
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
66
  requirements: []
67
-
68
67
  rubyforge_project:
69
- rubygems_version: 1.8.7
68
+ rubygems_version: 1.8.21
70
69
  signing_key:
71
70
  specification_version: 3
72
71
  summary: A compass plugin for using normalize.css
73
72
  test_files: []
74
-