Add css to center diagrams.