Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
raleighnc.gov css file
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
compressed/prod
dev
prod
test
.gitignore
Gemfile
Gemfile.lock
README.rdoc
Rakefile
settings.yml

README.rdoc

RaleighNC.gov CSS

Compression

The CSS is compressed using YUI CSS Compressor (developer.yahoo.com/yui/compressor/) via the Jammit Ruby Gem (documentcloud.github.com/jammit/). Settings for this gem are located in settings.yml

Compressed CSS is saved to compressed/prod

Installing Compression Gems

OS X by default includes a version of ruby which is sufficient for this gem. Bundler is used for gem dependencies.

In the terminal, run:

gem install bundler
(or sudo gem install bundler)  

bundle install

Compressing the CSS

cd into the main directory and run:

rake

JavaScript

Jammit can additionally handle JavaScript minification using Google's Closure Compiler. This feature is not currently used.

Something went wrong with that request. Please try again.