compass-normalize 1.4.3 → 1.5
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.
- checksums.yaml +7 -0
- data/README.md +3 -23
- data/stylesheets/_normalize-version.scss +1 -6
- data/stylesheets/_normalize.scss +1 -5
- data/stylesheets/normalize/_base.scss +1 -19
- data/stylesheets/normalize/_embeds.scss +0 -3
- data/stylesheets/normalize/_forms.scss +83 -93
- data/stylesheets/normalize/_groups.scss +35 -0
- data/stylesheets/normalize/_html5.scss +9 -7
- data/stylesheets/normalize/_links.scss +4 -4
- data/stylesheets/normalize/_tables.scss +6 -1
- data/stylesheets/normalize/_typography.scss +7 -104
- metadata +11 -17
- data/stylesheets/normalize/_figures.scss +0 -11
- data/stylesheets/normalize/_lists.scss +0 -34
- data/templates/legacy/manifest.rb +0 -23
- data/templates/legacy/screen.scss +0 -7
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0bf45221ad96ab5353f42b141b4057a57d1a10f3
|
4
|
+
data.tar.gz: 15f0ad8ce4fe06d7d05db7e593289dd583565cd5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 61403992de7a788e3f2627d9b3574241e74fb9f13ece8f4d63c600eb6463977dc197f4750bb87bcb22e444a156135108132f8f8175a0879e54ccba779c6c466b
|
7
|
+
data.tar.gz: 35a687ef9f034c2462b67cd0b10c234c3ee94c440b0b5077dcfe6ce64ffe6e9147ded11ce03c0e58ba85c730da8816897705d0520f14dc96c96d6e0c8ee51a96
|
data/README.md
CHANGED
@@ -22,11 +22,11 @@ $ rake install
|
|
22
22
|
```
|
23
23
|
|
24
24
|
## Normalize Versions
|
25
|
-
Normalize has
|
25
|
+
Since v3, Normalize only has one version for modern browsers (Firefox 4+, Chrome, Safari 5+, Opera, and Internet Explorer 8+). If you
|
26
|
+
need support for older browsers, please use the older version of Compass normalize, that include a legacy Normalize.
|
26
27
|
|
27
28
|
## Usage
|
28
29
|
|
29
|
-
### Modern Normalize
|
30
30
|
When creating a new project with compass:
|
31
31
|
|
32
32
|
```
|
@@ -52,32 +52,12 @@ You can also just import parts you need:
|
|
52
52
|
@import 'normalize/base';
|
53
53
|
@import 'normalize/links';
|
54
54
|
@import 'normalize/typography';
|
55
|
-
@import 'normalize/lists'; // Only for legacy support (see below).
|
56
55
|
@import 'normalize/embeds';
|
57
|
-
@import 'normalize/
|
56
|
+
@import 'normalize/groups';
|
58
57
|
@import 'normalize/forms';
|
59
58
|
@import 'normalize/tables';
|
60
59
|
```
|
61
60
|
|
62
|
-
### Legacy Normalize
|
63
|
-
This plugin has been re-written to use compass's native cross-browser variables to determine compatability. http://compass-style.org/reference/compass/support/
|
64
|
-
|
65
|
-
You can still create a legacy project using the following:
|
66
|
-
|
67
|
-
```
|
68
|
-
$ compass create <my_project> -r compass-normalize --using compass-normalize/legacy
|
69
|
-
```
|
70
|
-
|
71
|
-
But to just import normalize and include legacy portions of the code, set the necissary legacy-support variables to true:
|
72
|
-
```scss
|
73
|
-
$legacy-support-for-ie6: true;
|
74
|
-
$legacy-support-for-ie7: true;
|
75
|
-
$legacy-support-for-ie8: true;
|
76
|
-
$legacy-support-for-mozilla: true;
|
77
|
-
@import normalize;
|
78
|
-
```
|
79
|
-
You can also import any part that you want, just like the code for modern normalize.
|
80
|
-
|
81
61
|
## Acknowledgements
|
82
62
|
Many thanks to [Frederic Hemberger](https://github.com/fhemberger/), [Sam Richard](https://github.com/snugug) and [Ian Carrico](https://github.com/ChinggizKhan) who contributed greatly to this project.
|
83
63
|
|
@@ -1,10 +1,5 @@
|
|
1
|
-
@import "compass/support";
|
2
|
-
|
3
1
|
@mixin normalize-version($partial: false) {
|
4
|
-
$version: '
|
5
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
6
|
-
$version: 'v1.1.0';
|
7
|
-
}
|
2
|
+
$version: 'v3.0.0';
|
8
3
|
|
9
4
|
@if $partial {
|
10
5
|
/*! normalize.css #{$version} | #{$partial} | MIT License | git.io/normalize */
|
data/stylesheets/_normalize.scss
CHANGED
@@ -1,6 +1,3 @@
|
|
1
|
-
// Compass' Legacy Support for Mozilla, defaulted.
|
2
|
-
$legacy-support-for-mozilla: true !default;
|
3
|
-
|
4
1
|
// Normalize Version Comment
|
5
2
|
@import 'normalize-version';
|
6
3
|
@include normalize-version;
|
@@ -10,8 +7,7 @@ $legacy-support-for-mozilla: true !default;
|
|
10
7
|
@import 'normalize/base';
|
11
8
|
@import 'normalize/links';
|
12
9
|
@import 'normalize/typography';
|
13
|
-
@import 'normalize/lists';
|
14
10
|
@import 'normalize/embeds';
|
15
|
-
@import 'normalize/
|
11
|
+
@import 'normalize/groups';
|
16
12
|
@import 'normalize/forms';
|
17
13
|
@import 'normalize/tables';
|
@@ -7,33 +7,15 @@
|
|
7
7
|
// 1. Sets default font family to sans-serif.
|
8
8
|
// 2. Prevents iOS text size adjust after orientation change, without disabling
|
9
9
|
// user zoom.
|
10
|
-
// 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
|
11
|
-
// `em` units.
|
12
10
|
|
13
11
|
html {
|
14
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
15
|
-
font-size: 100%; // 3
|
16
|
-
}
|
17
12
|
font-family: sans-serif; // 1
|
18
13
|
-webkit-text-size-adjust: 100%; // 2
|
19
14
|
-ms-text-size-adjust: 100%; // 2
|
20
15
|
}
|
21
16
|
|
22
|
-
// Addresses `font-family` inconsistency between `textarea` and other form
|
23
|
-
// elements.
|
24
|
-
|
25
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
26
|
-
html,
|
27
|
-
button,
|
28
|
-
input,
|
29
|
-
select,
|
30
|
-
textarea {
|
31
|
-
font-family: sans-serif;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
17
|
// Removes default margin.
|
36
18
|
|
37
19
|
body {
|
38
20
|
margin: 0;
|
39
|
-
}
|
21
|
+
}
|
@@ -4,70 +4,34 @@
|
|
4
4
|
// Forms
|
5
5
|
// ==========================================================================
|
6
6
|
|
7
|
-
|
8
|
-
//
|
7
|
+
// Known limitation: by default, Chrome and Safari on OS X allow very limited
|
8
|
+
// styling of `select`, unless a `border` property is set.
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
// Define consistent border, margin, and padding.
|
16
|
-
|
17
|
-
fieldset {
|
18
|
-
border: 1px solid #c0c0c0;
|
19
|
-
margin: 0 2px;
|
20
|
-
padding: 0.35em 0.625em 0.75em;
|
21
|
-
}
|
22
|
-
|
23
|
-
// 1. Corrects color not being inherited in IE 8/9.
|
24
|
-
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
25
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
26
|
-
// 3. Corrects text not wrapping in Firefox 3.
|
27
|
-
// 4. Corrects alignment displayed oddly in IE 6/7.
|
28
|
-
}
|
29
|
-
|
30
|
-
legend {
|
31
|
-
border: 0; // 1
|
32
|
-
padding: 0; // 2
|
33
|
-
@if $legacy-support-for-mozilla {
|
34
|
-
white-space: normal; // 3
|
35
|
-
}
|
36
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
37
|
-
*margin-left: -7px; // 4
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
// 1. Corrects font family not being inherited in all browsers.
|
42
|
-
// 2. Corrects font size not being inherited in all browsers.
|
43
|
-
// 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
|
44
|
-
// 4. Improves appearance and consistency in all browsers.
|
10
|
+
// 1. Correct color not being inherited.
|
11
|
+
// Known issue: affects color of disabled elements.
|
12
|
+
// 2. Correct font properties not being inherited.
|
13
|
+
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
45
14
|
|
46
15
|
button,
|
47
16
|
input,
|
17
|
+
optgroup,
|
48
18
|
select,
|
49
19
|
textarea {
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
54
|
-
vertical-align: baseline; // 4
|
55
|
-
*vertical-align: middle; // 4
|
56
|
-
}
|
20
|
+
color: inherit; // 1
|
21
|
+
font: inherit; // 2
|
22
|
+
margin: 0; // 3
|
57
23
|
}
|
58
24
|
|
59
|
-
//
|
60
|
-
// the UA stylesheet.
|
25
|
+
// Address `overflow` set to `hidden` in IE 8/9/10.
|
61
26
|
|
62
|
-
button
|
63
|
-
|
64
|
-
line-height: normal;
|
27
|
+
button {
|
28
|
+
overflow: visible;
|
65
29
|
}
|
66
30
|
|
67
31
|
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
68
32
|
// All other form control elements do not inherit `text-transform` values.
|
69
|
-
// Correct `button` style inheritance in
|
70
|
-
// Correct `select` style inheritance in Firefox
|
33
|
+
// Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
34
|
+
// Correct `select` style inheritance in Firefox.
|
71
35
|
|
72
36
|
button,
|
73
37
|
select {
|
@@ -76,80 +40,106 @@ select {
|
|
76
40
|
|
77
41
|
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
78
42
|
// and `video` controls.
|
79
|
-
// 2.
|
80
|
-
// 3.
|
43
|
+
// 2. Correct inability to style clickable `input` types in iOS.
|
44
|
+
// 3. Improve usability and consistency of cursor style between image-type
|
81
45
|
// `input` and others.
|
82
|
-
@if $legacy-support-for-ie7 {
|
83
|
-
// 4. Removes inner spacing in IE 7 without affecting normal text inputs.
|
84
|
-
// Known issue: inner spacing remains in IE 6.
|
85
|
-
}
|
86
46
|
|
87
47
|
button,
|
88
48
|
html input[type="button"], // 1
|
89
49
|
input[type="reset"],
|
90
50
|
input[type="submit"] {
|
91
|
-
|
92
|
-
|
93
|
-
@if $legacy-support-for-ie7 {
|
94
|
-
*overflow: visible;
|
95
|
-
}
|
51
|
+
-webkit-appearance: button; // 2
|
52
|
+
cursor: pointer; // 3
|
96
53
|
}
|
97
54
|
|
98
55
|
// Re-set default cursor for disabled elements.
|
99
56
|
|
100
57
|
button[disabled],
|
101
58
|
html input[disabled] {
|
102
|
-
|
59
|
+
cursor: default;
|
103
60
|
}
|
104
61
|
|
105
|
-
//
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
62
|
+
// Remove inner padding and border in Firefox 4+.
|
63
|
+
|
64
|
+
button::-moz-focus-inner,
|
65
|
+
input::-moz-focus-inner {
|
66
|
+
border: 0;
|
67
|
+
padding: 0;
|
110
68
|
}
|
111
69
|
|
70
|
+
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
71
|
+
// the UA stylesheet.
|
72
|
+
|
73
|
+
input {
|
74
|
+
line-height: normal;
|
75
|
+
}
|
76
|
+
|
77
|
+
// It's recommended that you don't attempt to style these elements.
|
78
|
+
// Firefox's implementation doesn't respect box-sizing, padding, or width.
|
79
|
+
//
|
80
|
+
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
81
|
+
// 2. Remove excess padding in IE 8/9/10.
|
82
|
+
|
112
83
|
input[type="checkbox"],
|
113
84
|
input[type="radio"] {
|
114
|
-
|
115
|
-
|
116
|
-
@if $legacy-support-for-ie7 {
|
117
|
-
*height: 13px; // 3
|
118
|
-
*width: 13px; // 3
|
119
|
-
}
|
85
|
+
box-sizing: border-box; // 1
|
86
|
+
padding: 0; // 2
|
120
87
|
}
|
121
88
|
|
122
|
-
//
|
123
|
-
//
|
89
|
+
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
90
|
+
// `font-size` values of the `input`, it causes the cursor style of the
|
91
|
+
// decrement button to change from `default` to `text`.
|
92
|
+
|
93
|
+
input[type="number"]::-webkit-inner-spin-button,
|
94
|
+
input[type="number"]::-webkit-outer-spin-button {
|
95
|
+
height: auto;
|
96
|
+
}
|
97
|
+
|
98
|
+
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
99
|
+
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
124
100
|
// (include `-moz` to future-proof).
|
125
101
|
|
126
102
|
input[type="search"] {
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
103
|
+
-webkit-appearance: textfield; // 1
|
104
|
+
-moz-box-sizing: content-box;
|
105
|
+
-webkit-box-sizing: content-box; // 2
|
106
|
+
box-sizing: content-box;
|
131
107
|
}
|
132
108
|
|
133
|
-
//
|
134
|
-
//
|
109
|
+
// Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
110
|
+
// Safari (but not Chrome) clips the cancel button when the search input has
|
111
|
+
// padding (and `textfield` appearance).
|
135
112
|
|
136
113
|
input[type="search"]::-webkit-search-cancel-button,
|
137
114
|
input[type="search"]::-webkit-search-decoration {
|
138
|
-
|
115
|
+
-webkit-appearance: none;
|
139
116
|
}
|
140
117
|
|
141
|
-
//
|
118
|
+
// Define consistent border, margin, and padding.
|
142
119
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
120
|
+
fieldset {
|
121
|
+
border: 1px solid #c0c0c0;
|
122
|
+
margin: 0 2px;
|
123
|
+
padding: 0.35em 0.625em 0.75em;
|
124
|
+
}
|
125
|
+
|
126
|
+
// 1. Correct `color` not being inherited in IE 8/9.
|
127
|
+
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
128
|
+
|
129
|
+
legend {
|
130
|
+
border: 0; // 1
|
131
|
+
padding: 0; // 2
|
147
132
|
}
|
148
133
|
|
149
|
-
//
|
150
|
-
// 2. Improves readability and alignment in all browsers.
|
134
|
+
// Remove default vertical scrollbar in IE 8/9.
|
151
135
|
|
152
136
|
textarea {
|
153
|
-
|
154
|
-
|
155
|
-
|
137
|
+
overflow: auto;
|
138
|
+
}
|
139
|
+
|
140
|
+
// Don't inherit the `font-weight` (applied by a rule above).
|
141
|
+
// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
142
|
+
|
143
|
+
optgroup {
|
144
|
+
font-weight: bold;
|
145
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@include normalize-version('Figures');
|
2
|
+
|
3
|
+
// ==========================================================================
|
4
|
+
// Grouping
|
5
|
+
// ==========================================================================
|
6
|
+
|
7
|
+
// Addresses margin not present in IE 8/9 and Safari 5.
|
8
|
+
|
9
|
+
figure {
|
10
|
+
margin: 1em 40px;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Address differences between Firefox and other browsers.
|
14
|
+
|
15
|
+
hr {
|
16
|
+
-moz-box-sizing: content-box;
|
17
|
+
box-sizing: content-box;
|
18
|
+
height: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Contain overflow in all browsers.
|
22
|
+
|
23
|
+
pre {
|
24
|
+
overflow: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
// Address odd `em`-unit font size rendering in all browsers.
|
28
|
+
|
29
|
+
code,
|
30
|
+
kbd,
|
31
|
+
pre,
|
32
|
+
samp {
|
33
|
+
font-family: monospace, monospace;
|
34
|
+
font-size: 1em;
|
35
|
+
}
|
@@ -23,14 +23,15 @@ summary {
|
|
23
23
|
|
24
24
|
// Corrects `inline-block` display not defined in IE 8/9.
|
25
25
|
|
26
|
+
// 1. Correct `inline-block` display not defined in IE 8/9.
|
27
|
+
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
28
|
+
|
26
29
|
audio,
|
27
30
|
canvas,
|
31
|
+
progress,
|
28
32
|
video {
|
29
|
-
display: inline-block;
|
30
|
-
|
31
|
-
*display: inline;
|
32
|
-
*zoom: 1;
|
33
|
-
}
|
33
|
+
display: inline-block; // 1
|
34
|
+
vertical-align: baseline; // 2
|
34
35
|
}
|
35
36
|
|
36
37
|
// Prevents modern browsers from displaying `audio` without controls.
|
@@ -43,6 +44,7 @@ audio:not([controls]) {
|
|
43
44
|
|
44
45
|
// Addresses styling for `hidden` attribute not present in IE 8/9.
|
45
46
|
|
46
|
-
[hidden]
|
47
|
+
[hidden],
|
48
|
+
template {
|
47
49
|
display: none;
|
48
|
-
}
|
50
|
+
}
|
@@ -4,10 +4,10 @@
|
|
4
4
|
// Links
|
5
5
|
// ==========================================================================
|
6
6
|
|
7
|
-
//
|
7
|
+
// Remove the gray background color from active links in IE 10.
|
8
8
|
|
9
|
-
a
|
10
|
-
|
9
|
+
a {
|
10
|
+
background: transparent;
|
11
11
|
}
|
12
12
|
|
13
13
|
// Improves readability when focused and also mouse hovered in all browsers.
|
@@ -15,4 +15,4 @@ a:focus {
|
|
15
15
|
a:active,
|
16
16
|
a:hover {
|
17
17
|
outline: 0;
|
18
|
-
}
|
18
|
+
}
|
@@ -2,11 +2,16 @@
|
|
2
2
|
|
3
3
|
// ==========================================================================
|
4
4
|
// Tables
|
5
|
-
//
|
5
|
+
// ==========================================================================
|
6
6
|
|
7
7
|
// Remove most spacing between table cells.
|
8
8
|
|
9
9
|
table {
|
10
10
|
border-collapse: collapse;
|
11
11
|
border-spacing: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
td,
|
15
|
+
th {
|
16
|
+
padding: 0;
|
12
17
|
}
|
@@ -4,44 +4,6 @@
|
|
4
4
|
// Typography
|
5
5
|
// ==========================================================================
|
6
6
|
|
7
|
-
// Address variable `h1` font-size and margin within `section` and `article`
|
8
|
-
// contexts in Firefox 4+, Safari 5, and Chrome.
|
9
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
10
|
-
// Addresses font sizes and margins set differently in IE 6/7.
|
11
|
-
}
|
12
|
-
|
13
|
-
h1 {
|
14
|
-
font-size: 2em;
|
15
|
-
margin: 0.67em 0;
|
16
|
-
}
|
17
|
-
|
18
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
19
|
-
h2 {
|
20
|
-
font-size: 1.5em;
|
21
|
-
margin: 0.83em 0;
|
22
|
-
}
|
23
|
-
|
24
|
-
h3 {
|
25
|
-
font-size: 1.17em;
|
26
|
-
margin: 1em 0;
|
27
|
-
}
|
28
|
-
|
29
|
-
h4 {
|
30
|
-
font-size: 1em;
|
31
|
-
margin: 1.33em 0;
|
32
|
-
}
|
33
|
-
|
34
|
-
h5 {
|
35
|
-
font-size: 0.83em;
|
36
|
-
margin: 1.67em 0;
|
37
|
-
}
|
38
|
-
|
39
|
-
h6 {
|
40
|
-
font-size: 0.67em;
|
41
|
-
margin: 2.33em 0;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
7
|
// Addresses styling not present in IE 8/9, Safari 5, and Chrome.
|
46
8
|
|
47
9
|
abbr[title] {
|
@@ -55,86 +17,27 @@ strong {
|
|
55
17
|
font-weight: bold;
|
56
18
|
}
|
57
19
|
|
58
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
59
|
-
blockquote {
|
60
|
-
margin: 1em 40px;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
20
|
// Addresses styling not present in Safari 5 and Chrome.
|
65
21
|
|
66
22
|
dfn {
|
67
23
|
font-style: italic;
|
68
24
|
}
|
69
25
|
|
70
|
-
// Address
|
71
|
-
//
|
26
|
+
// Address variable `h1` font-size and margin within `section` and `article`
|
27
|
+
// contexts in Firefox 4+, Safari 5, and Chrome.
|
72
28
|
|
73
|
-
|
74
|
-
-
|
75
|
-
|
76
|
-
height: 0;
|
29
|
+
h1 {
|
30
|
+
font-size: 2em;
|
31
|
+
margin: 0.67em 0;
|
77
32
|
}
|
78
33
|
|
79
|
-
// Addresses styling not present in IE
|
34
|
+
// Addresses styling not present in IE 8/9.
|
80
35
|
|
81
36
|
mark {
|
82
37
|
background: #ff0;
|
83
38
|
color: #000;
|
84
39
|
}
|
85
40
|
|
86
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
87
|
-
// Addresses margins set differently in IE 6/7.
|
88
|
-
|
89
|
-
p,
|
90
|
-
pre {
|
91
|
-
margin: 1em 0;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
// Corrects font family set oddly in Safari 5 and Chrome.
|
96
|
-
|
97
|
-
code,
|
98
|
-
kbd,
|
99
|
-
pre,
|
100
|
-
samp {
|
101
|
-
font-family: monospace, serif;
|
102
|
-
@if $legacy-support-for-ie6 {
|
103
|
-
_font-family: 'courier new', monospace;
|
104
|
-
}
|
105
|
-
font-size: 1em;
|
106
|
-
}
|
107
|
-
|
108
|
-
// Improves readability of pre-formatted text in all browsers.
|
109
|
-
|
110
|
-
pre {
|
111
|
-
white-space: pre;
|
112
|
-
white-space: pre-wrap;
|
113
|
-
word-wrap: break-word;
|
114
|
-
}
|
115
|
-
|
116
|
-
// Sets consistent quote types.
|
117
|
-
|
118
|
-
q {
|
119
|
-
quotes: "\201C" "\201D" "\2018" "\2019";
|
120
|
-
}
|
121
|
-
|
122
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
123
|
-
|
124
|
-
// 1. Addresses CSS quotes not supported in IE6/7
|
125
|
-
// 2. Addresses quote property not supported in S4
|
126
|
-
|
127
|
-
q {
|
128
|
-
quotes: none; // 1
|
129
|
-
}
|
130
|
-
|
131
|
-
q:before,
|
132
|
-
q:after {
|
133
|
-
content: ''; // 2
|
134
|
-
content: none; // 2
|
135
|
-
}
|
136
|
-
}
|
137
|
-
|
138
41
|
// Addresses inconsistent and variable font size in all browsers.
|
139
42
|
|
140
43
|
small {
|
@@ -157,4 +60,4 @@ sup {
|
|
157
60
|
|
158
61
|
sub {
|
159
62
|
bottom: -0.25em;
|
160
|
-
}
|
63
|
+
}
|
metadata
CHANGED
@@ -1,33 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-normalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: '1.5'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kristian Andersen
|
8
|
+
- Michaël Gallego
|
9
9
|
- Frederic Hemberger
|
10
10
|
- Sam Richard
|
11
11
|
- Ian Carrico
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: compass
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
20
|
requirements:
|
22
|
-
- -
|
21
|
+
- - ">="
|
23
22
|
- !ruby/object:Gem::Version
|
24
23
|
version: 0.12.0
|
25
24
|
type: :runtime
|
26
25
|
prerelease: false
|
27
26
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
27
|
requirements:
|
30
|
-
- -
|
28
|
+
- - ">="
|
31
29
|
- !ruby/object:Gem::Version
|
32
30
|
version: 0.12.0
|
33
31
|
description: This simple plugin for Compass enables you to use normalize.css in your
|
@@ -45,39 +43,35 @@ files:
|
|
45
43
|
- stylesheets/_normalize.scss
|
46
44
|
- stylesheets/normalize/_base.scss
|
47
45
|
- stylesheets/normalize/_embeds.scss
|
48
|
-
- stylesheets/normalize/_figures.scss
|
49
46
|
- stylesheets/normalize/_forms.scss
|
47
|
+
- stylesheets/normalize/_groups.scss
|
50
48
|
- stylesheets/normalize/_html5.scss
|
51
49
|
- stylesheets/normalize/_links.scss
|
52
|
-
- stylesheets/normalize/_lists.scss
|
53
50
|
- stylesheets/normalize/_tables.scss
|
54
51
|
- stylesheets/normalize/_typography.scss
|
55
|
-
- templates/legacy/manifest.rb
|
56
|
-
- templates/legacy/screen.scss
|
57
52
|
- templates/project/manifest.rb
|
58
53
|
- templates/project/screen.scss
|
59
54
|
homepage: http://github.com/ksmandersen/compass-normalize/
|
60
55
|
licenses: []
|
56
|
+
metadata: {}
|
61
57
|
post_install_message:
|
62
58
|
rdoc_options: []
|
63
59
|
require_paths:
|
64
60
|
- lib
|
65
61
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
62
|
requirements:
|
68
|
-
- -
|
63
|
+
- - ">="
|
69
64
|
- !ruby/object:Gem::Version
|
70
65
|
version: '0'
|
71
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
67
|
requirements:
|
74
|
-
- -
|
68
|
+
- - ">="
|
75
69
|
- !ruby/object:Gem::Version
|
76
70
|
version: '0'
|
77
71
|
requirements: []
|
78
72
|
rubyforge_project:
|
79
|
-
rubygems_version:
|
73
|
+
rubygems_version: 2.0.3
|
80
74
|
signing_key:
|
81
|
-
specification_version:
|
75
|
+
specification_version: 4
|
82
76
|
summary: A compass plugin for using normalize.css
|
83
77
|
test_files: []
|
@@ -1,11 +0,0 @@
|
|
1
|
-
@include normalize-version('Figures');
|
2
|
-
|
3
|
-
// ==========================================================================
|
4
|
-
// Figures
|
5
|
-
// ==========================================================================
|
6
|
-
|
7
|
-
// Addresses margin not present in IE 8/9 and Safari 5.
|
8
|
-
|
9
|
-
figure {
|
10
|
-
margin: 0;
|
11
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
2
|
-
// ==========================================================================
|
3
|
-
// Lists
|
4
|
-
// ==========================================================================
|
5
|
-
|
6
|
-
// Addresses margins set differently in IE 6/7.
|
7
|
-
|
8
|
-
dl,
|
9
|
-
menu,
|
10
|
-
ol,
|
11
|
-
ul {
|
12
|
-
margin: 1em 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
dd {
|
16
|
-
margin: 0 0 0 40px;
|
17
|
-
}
|
18
|
-
|
19
|
-
// Addresses paddings set differently in IE 6/7.
|
20
|
-
|
21
|
-
menu,
|
22
|
-
ol,
|
23
|
-
ul {
|
24
|
-
padding: 0 0 0 40px;
|
25
|
-
}
|
26
|
-
|
27
|
-
// Corrects list images handled incorrectly in IE 7.
|
28
|
-
|
29
|
-
nav ul,
|
30
|
-
nav ol {
|
31
|
-
list-style: none;
|
32
|
-
list-style-image: none;
|
33
|
-
}
|
34
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
description "A compass plugin for using normalize.css"
|
2
|
-
|
3
|
-
stylesheet 'screen.scss', :media => 'screen, projection'
|
4
|
-
|
5
|
-
help %Q{
|
6
|
-
Please see the normalize.css website for documentation and more information
|
7
|
-
|
8
|
-
http://necolas.github.com/normalize.css/
|
9
|
-
|
10
|
-
For more information on how normalize.css works please visit the wiki
|
11
|
-
|
12
|
-
https://github.com/necolas/normalize.css/wiki
|
13
|
-
}
|
14
|
-
|
15
|
-
welcome_message %Q{
|
16
|
-
Please see the normalize.css website for documentation and more information
|
17
|
-
|
18
|
-
http://necolas.github.com/normalize.css/
|
19
|
-
|
20
|
-
For more information on how normalize.css works please visit the wiki
|
21
|
-
|
22
|
-
https://github.com/necolas/normalize.css/wiki
|
23
|
-
}
|