Typeahead.js provides some of the layout, but while the page is loading, the navbar flickers a little if you don't put this in the css.

I'll do a quick check whether every line is necessary, and purge all useless lines!