meyer-reset 2.0.0

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.
@@ -0,0 +1,26 @@
1
+ # Eric Meyer - CSS Reset Stylesheet
2
+
3
+ Eric Meyer's CSS reset stylesheet as [Sass](http://sass-lang.com/), delivered as a [Compass Extension](http://compass-style.org/docs/tutorials/extensions/) and [Ruby Gem](http://rubygems.org/).
4
+
5
+ For more information: [http://meyerweb.com/eric/tools/css/reset/](http://meyerweb.com/eric/tools/css/reset/)
6
+
7
+ ## Installation
8
+
9
+ gem install meyer-reset
10
+
11
+ Then add `require 'meyer-reset'` to your Compass config file.
12
+
13
+ ## Usage
14
+
15
+ Using this is pretty easy. Simply import the extension into your stylesheet, preferably as the first import or declaration in your Sass stylesheet. [In the extension](https://github.com/adamstac/meyer-reset/styesheets/_meyer-reset.sass) we are including the mixin `+meyer-reset` for you in the last line, so all you will need to do is import and go.
16
+
17
+ @import meyer-reset
18
+
19
+ ...
20
+
21
+ ## License
22
+
23
+ None (public domain)
24
+
25
+ * v2.0 | 20110126
26
+ * [http://meyerweb.com/eric/tools/css/reset/](http://meyerweb.com/eric/tools/css/reset/)
@@ -0,0 +1,25 @@
1
+ require 'lib/meyer-reset'
2
+
3
+ namespace :sass do
4
+
5
+ desc "Converts the Sass to SCSS"
6
+ task :convert do
7
+ puts "*** Converting Sass to SCSS ***"
8
+ system "sass-convert stylesheets/*.sass stylesheets/*.scss"
9
+ end
10
+
11
+ end
12
+
13
+ namespace :gem do
14
+
15
+ desc "Build the gem"
16
+ task :build do
17
+ system "gem build *.gemspec"
18
+ end
19
+
20
+ desc "Build and release the gem"
21
+ task :release => :build do
22
+ system "gem push meyer-reset-#{MeyerReset::VERSION}.gem"
23
+ end
24
+
25
+ end
@@ -0,0 +1,10 @@
1
+ require 'compass'
2
+
3
+ # path from the library file to where you're keeping your compass stuff.
4
+ Compass::Frameworks.register("meyer-reset", :path => "#{File.dirname(__FILE__)}/..")
5
+
6
+ module MeyerReset
7
+
8
+ VERSION = "2.0.0".freeze
9
+
10
+ end
@@ -0,0 +1,41 @@
1
+ // http://meyerweb.com/eric/tools/css/reset/
2
+ // v2.0 | 20110126
3
+ // License: none (public domain)
4
+
5
+ =meyer-reset
6
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
7
+ margin: 0
8
+ padding: 0
9
+ border: 0
10
+ font-size: 100%
11
+ font: inherit
12
+ vertical-align: baseline
13
+
14
+ // HTML5 display-role reset for older browsers
15
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
16
+ display: block
17
+
18
+ body
19
+ line-height: 1
20
+
21
+ ol, ul
22
+ list-style: none
23
+
24
+ blockquote, q
25
+ quotes: none
26
+
27
+ blockquote
28
+ &:before, &:after
29
+ content: ''
30
+ content: none
31
+
32
+ q
33
+ &:before, &:after
34
+ content: ''
35
+ content: none
36
+
37
+ table
38
+ border-collapse: collapse
39
+ border-spacing: 0
40
+
41
+ +meyer-reset
@@ -0,0 +1,34 @@
1
+ // http://meyerweb.com/eric/tools/css/reset/
2
+ // v2.0 | 20110126
3
+ // License: none (public domain)
4
+
5
+ @mixin meyer-reset {
6
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
7
+ margin: 0;
8
+ padding: 0;
9
+ border: 0;
10
+ font-size: 100%;
11
+ font: inherit;
12
+ vertical-align: baseline; }
13
+ // HTML5 display-role reset for older browsers
14
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
15
+ display: block; }
16
+ body {
17
+ line-height: 1; }
18
+ ol, ul {
19
+ list-style: none; }
20
+ blockquote, q {
21
+ quotes: none; }
22
+ blockquote {
23
+ &:before, &:after {
24
+ content: "";
25
+ content: none; } }
26
+ q {
27
+ &:before, &:after {
28
+ content: "";
29
+ content: none; } }
30
+ table {
31
+ border-collapse: collapse;
32
+ border-spacing: 0; } }
33
+
34
+ @include meyer-reset;
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: meyer-reset
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 0
10
+ version: 2.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Adam Stacoviak
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-01-27 00:00:00 -06:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: compass
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 61
30
+ segments:
31
+ - 0
32
+ - 10
33
+ - 5
34
+ version: 0.10.5
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ description: Eric Meyer CSS Reset stylesheet as Sass to reduce browser inconsistencies such as default line heights, margins and font sizes of headings, etc.
38
+ email: adam@stacoviak.com
39
+ executables: []
40
+
41
+ extensions: []
42
+
43
+ extra_rdoc_files: []
44
+
45
+ files:
46
+ - Rakefile
47
+ - README.mdown
48
+ - lib/meyer-reset.rb
49
+ - stylesheets/_meyer-reset.sass
50
+ - stylesheets/_meyer-reset.scss
51
+ has_rdoc: true
52
+ homepage: http://adamstacoviak.com/
53
+ licenses: []
54
+
55
+ post_install_message:
56
+ rdoc_options: []
57
+
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 3
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 23
75
+ segments:
76
+ - 1
77
+ - 3
78
+ - 6
79
+ version: 1.3.6
80
+ requirements: []
81
+
82
+ rubyforge_project:
83
+ rubygems_version: 1.3.7
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: Eric Meyer CSS Reset stylesheet as Sass
87
+ test_files: []
88
+