Added .gitignore file
Added css and improved how custom patterns are defined