move css from example to component

Some basic styling from the example moved to the component.