moving document view media queries to mixins