Add media CSS rule
Refactor local file testing