[ticket/12613] Remove unnecessary checks and clean up CSS

PHPBB3-12613