make styling for angular posts more reusable.