updated styling of snippets, fixed vertical align issues