A minimal, opinionated, and content-centric CSS library designed for perfectionists by harnessing the magic of modular scale, and vertical rhythm.
There are two ways you can download, and use civil.css
:
- Download it from the project page.
- (Recommended) Install with Bower:
bower install --save civil.css
To build civil.css
from source, please ensure you have installed Bower.
-
Run
bower install
in the project directory. -
Compile the SASS source by running:
sass --load-path bower_components/bourbon/app/assets/stylesheets/ --style compressed --watch sass:dist
It can also be built using Gulp (Bower dependencies are still required):
- Run
npm install
to install the build dependencies. - Run
gulp build
(npm run build
if Gulp is not installed globally) to buildcivil.css
.
See, and modify sass/modules/_variables.scss
.
civil.css
was inspired by the following toolkits / libraries / frameworks which you should definitely check out: