Styling is automatically defined to match with the Pagy gem's HTML and classes.
<nav class="pagy nav" aria-label="Pages"><a href="/docs/pagination?page=43" aria-label="Previous"><</a><a href="/docs/pagination">1</a><a role="link" aria-disabled="true" class="gap">…</a><a href="/docs/pagination?page=43">43</a><a role="link" aria-disabled="true" aria-current="page" class="current">44</a><a href="/docs/pagination?page=45">45</a><a role="link" aria-disabled="true" class="gap">…</a><a href="/docs/pagination?page=50">50</a><a href="/docs/pagination?page=45" aria-label="Next">></a></nav>