Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better pager #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
6 changes: 3 additions & 3 deletions css/ZeroBlog.css
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ blockquote { border-left: 3px solid #333; margin-left: 0px; padding-left: 1em }
.pager a { border: 2px solid #333; padding: 10px 20px; font-size: 15px; display: none; transition: all 0.3s }
.pager a:hover { color: white; box-shadow: inset 150px 0px 0px 0px #333; }
.pager a:active { color: white; box-shadow: inset 150px 0px 0px 0px #AF3BFF; transition: none; border-color: #AF3BFF }
.pager .next { float: right }
.pager .prev:hover { box-shadow: inset -150px 0px 0px 0px #333; }
.pager .prev:active { box-shadow: inset -150px 0px 0px 0px #AF3BFF; }

.pager .currentpage:hover{}
.pager .currentpage { color: white; box-shadow: inset 150px 0px 0px 0px #AF3BFF; transition: none; border-color: #AF3BFF }
.pager .pagershow {display:inline-block; margin:1px}
/* Score */
/*
.score {
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ <h2 id="Comments">0 Comments:</h2>

<!-- Pager -->
<div class="pager">
<a class="prev" href="#">← <span>Prev page</span></a>
<a class="next" href="#"><span>Next page</span> →</a>
<a class="first" href="?page=1">&lt;&lt;</a>
<a class="currentpage" href="javascript:void"></a>
<a class="last" href="#">&gt;&gt;</a>
</div>
<!-- EOF Pager -->

Expand Down
Loading