refactored the pretty-printing css rules so it's not copy-and-pasted in two files.