A bunch of CSS fixes

I implemented a bunch of missing CSS. This should make pages work better now.