Convert @import with media queries to medias