fix css, add media class