Adding optional margin to block css