rules and css adjustment for footer