changes in api.html

made some necessary changes in api.html and index.css