Removed issue with extends within media queries

Signed-off-by: Dave <davidajberner@gmail.com>