[Bug 984315] Moving styles to CSS