Moved some repeated style rules to a separate file.