improve api ref styles