Refactor CSS

Separate CSS into 4 areas: base styles, general block and ring stylings,
and stylings specific to card blocks and rings respectively.