Adding the ability to use variables in media queries and such

This pull request solves the problem with variables inside media queries not being resolved.