Skip to content
Permalink
Browse files

Added gulp task to process SASS

Added package.json, gulpfile.js and Site.scss
  • Loading branch information
Edward Ridge committed Aug 25, 2015
1 parent 5da1a89 commit 8d00491f141298732887df2b87c36a569bc165de

Some generated files are not rendered by default. Learn more.

@@ -0,0 +1,32 @@
body {
padding-top: 50px;
padding-bottom: 20px;
background-color: white;
}

/* Set padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists
will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
max-width: 280px;
}

.jumbotron {
p, h1
{
color: red;
}
}
Binary file not shown.
@@ -0,0 +1,20 @@
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();

gulp.task('sass', function () {
gulp.src('./Content/*.scss')
.pipe(plugins.sourcemaps.init())
.pipe(plugins.sass())
.pipe(plugins.autoprefixer())
.pipe(plugins.sourcemaps.write())
.pipe(gulp.dest('./Content'))
.pipe(plugins.livereload())
;
});

gulp.task('watch-sass', function () {
plugins.livereload.listen();
gulp.watch('./Content/*.scss', ['sass']);
});

gulp.task('default', ['watch-sass']);
@@ -0,0 +1,12 @@
{
"scripts": { "install": "echo Done" },

"devDependencies": {
"gulp": "~3.9.0",
"gulp-load-plugins": "~0.10.0",
"gulp-sass": "~2.0.4",
"gulp-sourcemaps": "~1.5.2",
"gulp-autoprefixer": "~2.3.1",
"gulp-livereload": "~3.8.0"
}
}

0 comments on commit 8d00491

Please sign in to comment.