extract media checks to variables
ignoring .sass-cache