Center align pre text with some DRYing