How can I match WordPress's Pagination format for constistency

WordPress Pagination with the ...

Algolia / InstantSearch pagination

I have the styles more or less on point but showing the right number of pages, elipses and removing First/Last format options is throwing me off.