More search improvements

The problems were caused by referring to the top search bar as #search
instead of #header #search, so all the CSS was being applied to the
search bar in Special:Search as well. This fixes the issue by changing
references to #search as needed.