centralised styling for boxes