[ENH] code styling changes , remove multiple css()

*closes #1119