Skip to content

Commit

Permalink
remove compass, add less and bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jgritman committed Dec 3, 2011
1 parent 70d3b43 commit 3c8ca31
Show file tree
Hide file tree
Showing 17 changed files with 2,546 additions and 260 deletions.
4 changes: 2 additions & 2 deletions .gitignore
@@ -1,3 +1,3 @@
.DS_Store
_site _site
_sass/.sass-cache stylesheets/styles.css
.sass-cache
8 changes: 4 additions & 4 deletions Rakefile
Expand Up @@ -7,13 +7,13 @@ end


desc 'Build site with Jekyll' desc 'Build site with Jekyll'
task :build => :clean do task :build => :clean do
compass less
jekyll jekyll
end end


desc 'Start server with --auto' desc 'Start server with --auto'
task :server => :clean do task :server => :clean do
compass less
jekyll('--server --auto') jekyll('--server --auto')
end end


Expand Down Expand Up @@ -60,6 +60,6 @@ def jekyll(opts = '')
sh 'jekyll ' + opts sh 'jekyll ' + opts
end end


def compass(opts = '') def less(opts = '')
sh 'compass compile -c config.rb --force ' + opts sh 'lessc _less/styles.less > stylesheets/styles.css'
end end
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -2,7 +2,7 @@


permalink: date permalink: date
pygments: true pygments: true
exclude: ['Rakefile', 'README.md', 'config.rb'] exclude: ['Rakefile', 'README.md']
markdown: rdiscount markdown: rdiscount


# configuration required for some pages # configuration required for some pages
Expand Down
26 changes: 26 additions & 0 deletions _less/bootstrap.less
@@ -0,0 +1,26 @@
/*!
* Bootstrap @VERSION
*
* Copyright 2011 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: @DATE
*/

// CSS Reset
@import "reset.less";

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "mixins.less";

// Grid system and page structure
@import "scaffolding.less";

// Styled patterns and elements
@import "type.less";
@import "forms.less";
@import "tables.less";
@import "patterns.less";

0 comments on commit 3c8ca31

Please sign in to comment.