Move footer to template function, add to basic and standard templates, clean-up css