ported js styling to css mef/communities#412