update legend css media query