build source with media query