Fix grid offsets, floats and responsive sizes

Sorry, I can't believe I missed this. The grid system rules were getting generated completely incorrectly.