adds styles to html tags to vertically align. copying demo
adds styles to vertically align on media as well