Merge branch 'release/1.0.1'
This commit is contained in:
commit
831d722ea4
9 files changed
+109
-8
No files matched your search
@@ -1 +1,2 @@
|
|||||||
.sass-cache/*
|
.sass-cache/*
|
||||||
|
node_modules
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
|
grunt.initConfig({
|
||||||
|
pkg: grunt.file.readJSON('package.json'),
|
||||||
|
// CSS
|
||||||
|
sass: {
|
||||||
|
dist: {
|
||||||
|
files: {
|
||||||
|
'css/skeleton.css': 'scss/skeleton.scss',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
csslint: {
|
||||||
|
scssoutput: {
|
||||||
|
options: {
|
||||||
|
import: false
|
||||||
|
},
|
||||||
|
src: ['css/skeleton.css']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
cssmin: {
|
||||||
|
compress: {
|
||||||
|
options: {
|
||||||
|
banner: '/* <%= pkg.name %> <%= pkg.version %> <%= grunt.template.today("dd-mm-yyyy") %> */'
|
||||||
|
},
|
||||||
|
files: {
|
||||||
|
'css/skeleton.min.css': 'css/skeleton.css'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
files: 'scss/**/*',
|
||||||
|
tasks: ['sass', 'csslint', 'cssmin']
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-csslint');
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-sass');
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||||
|
|
||||||
|
grunt.registerTask('lint', ['sass', 'csslint']);
|
||||||
|
grunt.registerTask('minify', ['cssmin']);
|
||||||
|
grunt.registerTask('build', ['sass', 'cssmin']);
|
||||||
|
|
||||||
|
};
|
||||||
@@ -14,8 +14,24 @@ Either clone this repository and drop in manually, or install from bower:
|
|||||||
bower install --save Skeleton-SCSS
|
bower install --save Skeleton-SCSS
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
I've added grunt configuration to the repository for those of you that use it.
|
||||||
|
|
||||||
|
There are 4 main tasks added:
|
||||||
|
* build - Runs Sass to create the stylesheet from the source files, places the output in ./css then creates a minified version of the file and places it into the same directory
|
||||||
|
* lint - This runs CSSLint over the output CSS file (Note that there are a few bits in skeleton that I need to fix!)
|
||||||
|
* minify - This literally just runs cssmin, useful if you've edited skeleton.css directly
|
||||||
|
* watch - This will monitor the scss directory for changes and automatically rebuild the css and minified css (Effectively the same as sass --watch but with added minification)
|
||||||
|
|
||||||
|
### To get started with the grunt tools
|
||||||
|
You need to npm install grunt-cli to start with, otherwise you wont have a runner!
|
||||||
|
Then following that, from the root dir of this project, run `npm install` which will set up all of the required dependencies.
|
||||||
|
|
||||||
|
You should be good to go.
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
* Apr 23, 2013 - Skeleton SCSS v1.0 - Additional variable conversions and bower submission.
|
* May 17, 2013 - (v1.0.1) Added grunt build tools
|
||||||
|
* Apr 23, 2013 - (v1.0.0) Skeleton SCSS v1.0 - Additional variable conversions, changes based on feedback to the original project and bower submission.
|
||||||
* Jan 31, 2013 - Completed SCSS conversion of Skeleton 1.2.
|
* Jan 31, 2013 - Completed SCSS conversion of Skeleton 1.2.
|
||||||
|
|
||||||
## Contributers
|
## Contributers
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Skeleton-SCSS",
|
"name": "Skeleton-SCSS",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"main": "css/skeleton.css",
|
"main": "css/skeleton.css",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
|
|||||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Skeleton V1.2
|
* Skeleton SCSS V1.0
|
||||||
* Copyright 2011, Dave Gamache
|
* Skeleton is Copyright 2011, Dave Gamache
|
||||||
*
|
*
|
||||||
* SCSS Conversion and Mixins by Nick Pack
|
* SCSS Conversion and Mixins by Nick Pack
|
||||||
*
|
*
|
||||||
@@ -74,7 +74,7 @@ body {
|
|||||||
margin-right: 10px; }
|
margin-right: 10px; }
|
||||||
.column.alpha, .columns.alpha {
|
.column.alpha, .columns.alpha {
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
.column.omerga, .columns.omerga {
|
.column.omega, .columns.omega {
|
||||||
margin-right: 0; }
|
margin-right: 0; }
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
|
|||||||
Vendored
+2
@@ -0,0 +1,2 @@
|
|||||||
|
/* Skeleton-SCSS 1.0.0 17-05-2013 */
|
||||||
|
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}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}.remove-bottom{margin-bottom:0!important}.half-bottom{margin-bottom:10px!important}.add-bottom{margin-bottom:20px!important}body{background:#fff;font:14px/21px HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#444;-webkit-text-size-adjust:100%}.container{position:relative;margin:0 auto;padding:0}.column,.columns{float:left;display:inline;margin-left:10px;margin-right:10px}.column.alpha,.columns.alpha{margin-left:0}.column.omega,.columns.omega{margin-right:0}.row{margin-bottom:20px}.container{width:960px}.container .columns.one,.container .column.one{width:40px}.container .columns.two,.container .column.two{width:100px}.container .columns.three,.container .column.three{width:160px}.container .columns.four,.container .column.four{width:220px}.container .columns.five,.container .column.five{width:280px}.container .columns.six,.container .column.six{width:340px}.container .columns.seven,.container .column.seven{width:400px}.container .columns.eight,.container .column.eight{width:460px}.container .columns.nine,.container .column.nine{width:520px}.container .columns.ten,.container .column.ten{width:580px}.container .columns.eleven,.container .column.eleven{width:640px}.container .columns.twelve,.container .column.twelve{width:700px}.container .columns.thirteen,.container .column.thirteen{width:760px}.container .columns.fourteen,.container .column.fourteen{width:820px}.container .columns.fifteen,.container .column.fifteen{width:880px}.container .columns.sixteen,.container .column.sixteen{width:940px}.container .columns.one-third,.container .column.one-third{width:300px}.container .columns.two-thirds,.container .column.two-thirds{width:620px}.container .offset-by-one{padding-left:60px}.container .offset-by-two{padding-left:120px}.container .offset-by-three{padding-left:180px}.container .offset-by-four{padding-left:240px}.container .offset-by-five{padding-left:300px}.container .offset-by-six{padding-left:360px}.container .offset-by-seven{padding-left:420px}.container .offset-by-eight{padding-left:480px}.container .offset-by-nine{padding-left:540px}.container .offset-by-ten{padding-left:600px}.container .offset-by-eleven{padding-left:660px}.container .offset-by-twelve{padding-left:720px}.container .offset-by-thirteen{padding-left:780px}.container .offset-by-fourteen{padding-left:840px}.container .offset-by-fifteen{padding-left:900px}@media only screen and (max-width:959px){.container{width:768px}.container .columns.one,.container .column.one{width:28px}.container .columns.two,.container .column.two{width:76px}.container .columns.three,.container .column.three{width:124px}.container .columns.four,.container .column.four{width:172px}.container .columns.five,.container .column.five{width:220px}.container .columns.six,.container .column.six{width:268px}.container .columns.seven,.container .column.seven{width:316px}.container .columns.eight,.container .column.eight{width:364px}.container .columns.nine,.container .column.nine{width:412px}.container .columns.ten,.container .column.ten{width:460px}.container .columns.eleven,.container .column.eleven{width:508px}.container .columns.twelve,.container .column.twelve{width:556px}.container .columns.thirteen,.container .column.thirteen{width:604px}.container .columns.fourteen,.container .column.fourteen{width:652px}.container .columns.fifteen,.container .column.fifteen{width:700px}.container .columns.sixteen,.container .column.sixteen{width:748px}.container .columns.one-third,.container .column.one-third{width:236px}.container .columns.two-thirds,.container .column.two-thirds{width:492px}.container .offset-by-one{padding-left:48px}.container .offset-by-two{padding-left:96px}.container .offset-by-three{padding-left:144px}.container .offset-by-four{padding-left:192px}.container .offset-by-five{padding-left:240px}.container .offset-by-six{padding-left:288px}.container .offset-by-seven{padding-left:336px}.container .offset-by-eight{padding-left:384px}.container .offset-by-nine{padding-left:432px}.container .offset-by-ten{padding-left:480px}.container .offset-by-eleven{padding-left:528px}.container .offset-by-twelve{padding-left:576px}.container .offset-by-thirteen{padding-left:624px}.container .offset-by-fourtLine truncated
|
||||||
+2
-2
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<!-- CSS
|
<!-- CSS
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<link rel="stylesheet" href="css/skeleton.css">
|
<link rel="stylesheet" href="css/skeleton.min.css">
|
||||||
|
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="sixteen columns">
|
<div class="sixteen columns">
|
||||||
<h1 class="remove-bottom" style="margin-top: 40px">Skeleton-SCSS</h1>
|
<h1 class="remove-bottom" style="margin-top: 40px">Skeleton-SCSS</h1>
|
||||||
<h5>Version 1.0</h5>
|
<h5>Version 1.0.1</h5>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
<div class="one-third column">
|
<div class="one-third column">
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "Skeleton-SCSS",
|
||||||
|
"title": "Skeleton SCSS",
|
||||||
|
"description": "Skeleton: A Beautiful Boilerplate for Responsive, Mobile-Friendly Development.",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"homepage": "https://github.com/nickpack/Skeleton-SCSS",
|
||||||
|
"author": {
|
||||||
|
"name": "Nick Pack",
|
||||||
|
"email": "nick@nickpack.com",
|
||||||
|
"url": "http://0xdeadfa11.net"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git@github.com:nickpack/Skeleton-SCSS.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/nickpack/Skeleton-SCSS/issues"
|
||||||
|
},
|
||||||
|
"licenses": [
|
||||||
|
{
|
||||||
|
"type": "MIT",
|
||||||
|
"url": "https://github.com/nickpack/Skeleton-SCSS/blob/master/LICENSE-MIT"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "./index",
|
||||||
|
"keywords": [
|
||||||
|
"static"
|
||||||
|
],
|
||||||
|
"devDependencies": {
|
||||||
|
"grunt": "~0.4.1",
|
||||||
|
"grunt-contrib-watch": "~0.3.1",
|
||||||
|
"grunt-contrib-sass": "~0.3.0",
|
||||||
|
"grunt-contrib-csslint": "~0.1.1",
|
||||||
|
"grunt-contrib-cssmin": "~0.5.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Skeleton SCSS V1.0
|
* Skeleton SCSS V1.0.1
|
||||||
* Skeleton is Copyright 2011, Dave Gamache
|
* Skeleton is Copyright 2011, Dave Gamache
|
||||||
*
|
*
|
||||||
* SCSS Conversion and Mixins by Nick Pack
|
* SCSS Conversion and Mixins by Nick Pack
|
||||||
|
|||||||
Reference in new issue
Block a user