Move styles-related things to the one place
(misplaced in f477f71a966aa31f0cbeac585ef0cb7d3ebe5b88 commit)