styling for snippets