Improved styling of error pages.
Moved navbar template into a separate file.