Adjusting styles to optimize mobile viewing