Divide stylesheet into separate media sections

Not necessary for rendering, but the point here is to make the source as
legible as possible and move any long data uris into the footer.