Generates a CSS file containing rules for a grid.