Adding media rules for header