update style to support media query