adapting css for new framework