Refactor style into less variables for #584

This is a first-blush attempt at solving #584. The only changes in the built CSS are swapping shorthand colour definitions for expanded definitions.