Trying to make sense of this awful clusterfuck of CSS.