Skip to content

Instantly share code, notes, and snippets.

@stuartgpalmer
Created June 28, 2018 20:47
Show Gist options
  • Save stuartgpalmer/f3e4275239875d61f4ffd9664ee6e794 to your computer and use it in GitHub Desktop.
Save stuartgpalmer/f3e4275239875d61f4ffd9664ee6e794 to your computer and use it in GitHub Desktop.
/* ---- Pagination ---- */
ul.pagination li {
list-style-type: none;
display: inline;
}
.formatted ul.pagination li:Before {
display:none;
}
ul.pagination li a {
display: block;
float: left;
padding: 8px 14px;
margin-right: 10px;
border: 1px solid #fff;
background-color:#fff;
color:#001740;
}
ul.pagination li span {
float: left;
margin-right: 4px;
}
ul.pagination li.ellipsis {
margin-right: 10px;
}
ul.pagination li a.page {
background-color:none;
}
ul.pagination li a.page:hover, ul.pagination li a.pagination-previous:hover, ul.pagination li a.pagination-next:hover {
background: #001740;
border: 1px solid #001740;
color: #fff;
text-decoration:none;
}
ul.pagination li.selected a.page {
background-color: #001740;
border: 1px solid #001740;
color: #fff;
}
ul.pagination li.disabled a, ul.pagination li.disabled a:hover {
border: 1px solid #fff;
background-color:#fff;
color:#999;
}
/* ---- Pagination end ---- */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment