Revising styles to incorporate adjustments based on css media queries