Make graph CSS styles more reusable

Fixes Issue #169