reorganize and minify css, closes #370