Edit in JSFiddle

  <ul class="main__paginator">
        <li class="paginator__left"><a href="#">Left</a></li>
        <li class="active"><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li class="paginator__right"><a href="#">Right</a></li>
      </ul>
ul {
  display: flex;
  justify-content: flex-end;
  border: 0;
  margin: 0;
  padding: 0;
  margin-top: 40px;
}

.main__paginator li {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 11px;
  list-style: none;
  margin-right: 2px;
}

.main__paginator a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #BDBDBD;
  border-radius: 5px;
  color: #3205F3;
  width: 60px;
  height: 60px;
  text-decoration: none;
}

.main__paginator .paginator__left {
  margin-right: 20px;
}

.main__paginator .paginator__right {
  margin-left: 20px;
}

.main__paginator .paginator__right a,
.main__paginator .paginator__left a {
  width: 105px;
}

.main__paginator .active {
  background-color: rgba(0, 0, 184, 0.1);
  border-radius: 5px;
}
.main__paginator .active a {
  border-color: #3205F3;
}

.main__paginator a:hover {
  border: solid 1px #3205F3;
}