Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,8 @@
body {
padding: 50px;
}
.pager li.active a {
font-weight: bold;
border-color: #ddd;
}
.pager li a {
text-decoration: none;
border-radius: 3px;
border: 1px solid #eee;
padding: 3px 8px;
margin: 0 2px;
color: #2a2a2a;
.pager {
margin: 10px;
}
</style>

Expand Down
35 changes: 34 additions & 1 deletion pager.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,37 @@

.pager-hide {
opacity: .2;
}
}

.pager-hide a {
cursor: default;
}

.pager-active {
font-weight: bold;
}

.pager-page,
.pager-dots {
display: inline-block;
width: 40px;
margin: 0 3px;
padding: 0;
text-align: center
}

.pager li.pager-active a {
font-weight: bold;
border-color: #ddd;
}

.pager li a {
display: inline-block;
width: 100%;
text-decoration: none;
border-radius: 3px;
border: 1px solid #eee;
line-height: 20px;
margin: 0 2px;
color: #2a2a2a;
}