diff --git a/.npmignore b/.npmignore index 5573c1b..a4d89d7 100644 --- a/.npmignore +++ b/.npmignore @@ -3,5 +3,8 @@ .travis.yml bower.json component.json +composer.json +contributing.md gruntfile.js +package.js src \ No newline at end of file diff --git a/bower.json b/bower.json index 8cb7e45..e36c912 100644 --- a/bower.json +++ b/bower.json @@ -8,34 +8,35 @@ "author": "CJ Patoilo ", "main": "dist/milligram.css", "keywords": [ - "boilerplate", "bootstrap", "css", "css3", - "design", "front-end", "framework", "html", "html5", - "kickstart", + "kickstarter", "less", - "milligram", "responsive", "mobile", "mobile-first", + "postcss", "responsive", "sass", - "stylus", - "style", - "stylesheet" + "scss", + "stylus" ], "ignore": [ ".editorconfig", ".gitignore", + ".npmignore", ".travis.yml", "component.json", - "package.json", + "composer.json", + "contributing.md", "gruntfile.js", + "package.js", + "package.json", "src" ], "dependencies": { diff --git a/component.json b/component.json index b66f886..6cec394 100644 --- a/component.json +++ b/component.json @@ -8,34 +8,35 @@ "author": "CJ Patoilo ", "main": "dist/milligram.css", "keywords": [ - "boilerplate", "bootstrap", "css", "css3", - "design", "front-end", "framework", "html", "html5", - "kickstart", + "kickstarter", "less", - "milligram", "responsive", "mobile", "mobile-first", + "postcss", "responsive", "sass", - "stylus", - "style", - "stylesheet" + "scss", + "stylus" ], "ignore": [ ".editorconfig", ".gitignore", + ".npmignore", ".travis.yml", "bower.json", - "package.json", + "composer.json", + "contributing.md", "gruntfile.js", + "package.js", + "package.json", "src" ], "repo": "milligram/milligram", diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..2cb0217 --- /dev/null +++ b/composer.json @@ -0,0 +1,45 @@ +{ + "name": "milligram", + "version": "1.0.3", + "description": "A minimalist CSS framework.", + "homepage": "http://milligram.github.io", + "repository": "milligram/milligram", + "license": "MIT", + "author": "CJ Patoilo ", + "main": "dist/milligram.css", + "keywords": [ + "bootstrap", + "css", + "css3", + "front-end", + "framework", + "html", + "html5", + "kickstarter", + "less", + "responsive", + "mobile", + "mobile-first", + "postcss", + "responsive", + "sass", + "scss", + "stylus" + ], + "ignore": [ + ".editorconfig", + ".gitignore", + ".npmignore", + ".travis.yml", + "bower.json", + "component.json", + "contributing.md", + "gruntfile.js", + "package.js", + "package.json", + "src" + ], + "dependencies": { + "normalize.css": "latest" + } +} \ No newline at end of file diff --git a/contributing.md b/contributing.md new file mode 100644 index 0000000..a49ab86 --- /dev/null +++ b/contributing.md @@ -0,0 +1,10 @@ +## Contributing + +Help improve these docs. Open an [issue](https://github.com/milligram/milligram/issues/new) or submit a pull request. + +- Navigate to the main page of the repository +- [Fork it!](https://github.com/milligram/milligram#fork-destination-box) +- Create your feature branch: git checkout -b my-new-feature +- Commit your changes: git commit -m 'Add some feature' +- Push to the branch: git push origin my-new-feature +- Submit a pull request =D \ No newline at end of file diff --git a/gruntfile.js b/gruntfile.js index ab55c41..aa4c4ad 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -58,7 +58,7 @@ module.exports = function ( grunt ) { all: [ 'dist' ] }, - // Compile SASS files to CSS + // Compile Sass files to CSS sass: { minify: { options: { diff --git a/package.json b/package.json index 9e43d36..b87f2cf 100644 --- a/package.json +++ b/package.json @@ -8,34 +8,35 @@ "author": "CJ Patoilo ", "main": "dist/milligram.css", "keywords": [ - "boilerplate", "bootstrap", "css", "css3", - "design", "front-end", "framework", "html", "html5", - "kickstart", + "kickstarter", "less", - "milligram", "responsive", "mobile", "mobile-first", + "postcss", "responsive", "sass", - "stylus", - "style", - "stylesheet" + "scss", + "stylus" ], "ignore": [ ".editorconfig", ".gitignore", + ".npmignore", ".travis.yml", "bower.json", "component.json", + "composer.json", + "contributing.md", "gruntfile.js", + "package.js", "src" ], "dependencies": { diff --git a/readme.md b/readme.md index 9c95539..b140111 100644 --- a/readme.md +++ b/readme.md @@ -60,4 +60,4 @@ Help improve these docs. Open an [issue](https://github.com/milligram/milligram/ ## License -[MIT License](http://cjpatoilo.mit-license.org/) @ CJ Patoilo +Designed with ♥ by [CJ Patoilo](http://cjpatoilo.com). Licensed under the [MIT License](http://cjpatoilo.mit-license.org). diff --git a/src/_Base.sass b/src/_Base.sass index 2509c7e..2793d3a 100644 --- a/src/_Base.sass +++ b/src/_Base.sass @@ -8,6 +8,7 @@ html box-sizing: border-box font-size: 62.5% +// Default body styles body color: $color-secondary font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif @@ -16,7 +17,7 @@ body letter-spacing: .01em line-height: 1.6 -// Box Sizing FTW +// Set box-sizing globally to handle padding and border widths *, *:after, *:before diff --git a/src/_Code.sass b/src/_Code.sass index aa6f410..09e17c2 100644 --- a/src/_Code.sass +++ b/src/_Code.sass @@ -2,11 +2,6 @@ // Code // –––––––––––––––––––––––––––––––––––––––––––––––––– -pre - background: $color-tertiary - border-left: .3rem solid $color-primary - font-family: 'Menlo', 'Consolas', 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', monospace - code background: $color-tertiary border-radius: .4rem @@ -15,9 +10,14 @@ code margin: 0 .2rem white-space: nowrap -pre > code - background: transparent - border-radius: 0 - display: block - padding: 1rem 1.5rem - white-space: pre +pre + background: $color-tertiary + border-left: .3rem solid $color-primary + font-family: 'Menlo', 'Consolas', 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', monospace + + & > code + background: transparent + border-radius: 0 + display: block + padding: 1rem 1.5rem + white-space: pre