Permalink
Browse files

Nesting, LESS, Stylus, and NPM

Added nesting into all files. Added a package.json so this can be an NPM
module. Added support for LESS and Stylus.
  • Loading branch information...
1 parent e60bdf9 commit d4846e471931fe1be0170b36c6d84f4fc4032f3e @TheJaredWilcurt committed Mar 17, 2016
Showing with 158 additions and 13 deletions.
  1. +1 −1 README.md
  2. +4 −6 _meyer-scss.scss
  3. +60 −0 _meyer.less
  4. +3 −5 _meyer.sass
  5. +55 −0 _meyer.styl
  6. +1 −1 bower.json
  7. +34 −0 package.json
View
@@ -15,7 +15,7 @@ We keep the first two digits matching the latest Meyer Reset (`2.0`). The last o
Code | Version | Date
:-- | :-- | :--
Meyer Reset | v2.0 | 2011-01-26
-meyer-sass | v2.0.0 | 2016-03-16
+meyer-sass | v2.0.1 | 2016-03-17
* * *
View
@@ -48,12 +48,10 @@ ol, ul {
blockquote, q {
quotes: none;
-}
-
-blockquote:before, blockquote:after,
-q:before, q:after {
- content: '';
- content: none;
+ &:before, &:after {
+ content: '';
+ content: none;
+ }
}
table {
View
@@ -0,0 +1,60 @@
+
+//Resets the default styles in all browsers so they don't render things differently by default.
+//
+//The Meyer resets a great at catching fringe cases and old browser compatibility.
+//It is recommended that you load "Normalize.css" after this file as it is more up to date and
+//will support more modern browsers and mobile better. They work very good together.
+
+// http://github.com/TheJaredWilcurt/meyer-sass
+// http://meyerweb.com/eric/tools/css/reset/
+// v2.0 | 20110126
+// License: none (public domain)
+
+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 {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+
+// HTML5 display-role reset for older browsers
+
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+
+body {
+ line-height: 1;
+}
+
+ol, ul {
+ list-style: none;
+}
+
+blockquote, q {
+ quotes: none;
+ &:before, &:after {
+ content: '';
+ content: none;
+ }
+}
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
View
@@ -44,11 +44,9 @@ ol, ul
blockquote, q
quotes: none
-
-blockquote:before, blockquote:after,
-q:before, q:after
- content: ''
- content: none
+ &:before, &:after
+ content: ''
+ content: none
table
border-collapse: collapse
View
@@ -0,0 +1,55 @@
+
+//Resets the default styles in all browsers so they don't render things differently by default.
+//
+//The Meyer resets a great at catching fringe cases and old browser compatibility.
+//It is recommended that you load "Normalize.css" after this file as it is more up to date and
+//will support more modern browsers and mobile better. They work very good together.
+
+// http://github.com/TheJaredWilcurt/meyer-sass
+// http://meyerweb.com/eric/tools/css/reset/
+// v2.0 | 20110126
+// License: none (public domain)
+
+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
+ margin: 0
+ padding: 0
+ border: 0
+ font-size: 100%
+ font: inherit
+ vertical-align: baseline
+
+// HTML5 display-role reset for older browsers
+
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section
+ display: block
+
+body
+ line-height: 1
+
+ol, ul
+ list-style: none
+
+blockquote, q
+ quotes: none
+
+blockquote:before, blockquote:after,
+q:before, q:after
+ content: ''
+ content: none
+
+table
+ border-collapse: collapse
+ border-spacing: 0
View
@@ -1,6 +1,6 @@
{
"name": "meyer-sass",
- "version": "2.0.0",
+ "version": "2.0.1",
"homepage": "https://github.com/TheJaredWilcurt/meyer-sass",
"authors": ["TheJaredWilcurt"],
"description": "Eric Meyer's CSS Resets in .sass format",
View
@@ -0,0 +1,34 @@
+{
+ "name": "meyer-sass",
+ "homepage": "https://github.com/TheJaredWilcurt/meyer-sass",
+ "version": "2.0.1",
+ "author": "The Jared Wilcurt",
+ "description": "Eric Meyer's CSS Resets in .sass format",
+ "keywords": [
+ "eric meyer",
+ "meyer",
+ "resets",
+ "css",
+ "sass",
+ "scss",
+ "cross-browser",
+ "cross-compatibility"
+ ],
+ "maintainers":[{
+ "name": "TheJaredWilcurt",
+ "email": "TheJaredWilcurt@users.noreply.github.com",
+ "web": "http://github.com/TheJaredWilcurt"
+ }],
+ "repository": [{
+ "type": "git",
+ "url": "git://github.com/TheJaredWilcurt/meyer-sass.git"
+ }],
+ "bugs": {
+ "url": "https://github.com/TheJaredWilcurt/meyer-sass/issues"
+ },
+ "license": "Public Domain",
+ "main": "_meyer.sass",
+ "dependencies": {},
+ "devDependencies": {},
+ "scripts": {}
+}

0 comments on commit d4846e4

Please sign in to comment.