Skip to content

Commit

Permalink
LDOC-43
Browse files Browse the repository at this point in the history
Improved appearance of pagination, and matched pagination to other
features.
  • Loading branch information
sacarney committed Feb 21, 2017
1 parent 08ef134 commit 200e464
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -1594,6 +1594,69 @@ span.date-display-single {
margin-left: 1rem;
}

/* Pagination */

.book-navigation .page-links {
border-top: 0;
border-bottom: 0;
padding: 0;
}

.book-navigation .page-next,
.book-navigation .page-previous,
.book-navigation .page-up {
display: inline-block;
width: auto;
margin-top: 1rem;
padding: 10px 16px;
color: #333;
font-size: 14px;
font-weight: bold;
text-decoration: none;
border: 1px solid #ddd;
border-radius: 3px;
}

.book-navigation .page-up {
margin-right: auto;
margin-left: auto;
float: none;
}

.book-navigation .page-next:hover,
.book-navigation .page-previous:hover,
.book-navigation .page-up:hover {
text-decoration: underline;
}

@media (max-width: 550px) {
.book-navigation .page-links {
display: flex;
flex-wrap: wrap;
}

.book-navigation .page-next,
.book-navigation .page-previous,
.book-navigation .page-up {
display: block;
float: none;
}

.book-navigation .page-next,
.book-navigation .page-previous {
width: calc(50% - 10px);
}

.book-navigation .page-previous {
margin-right: 20px;
}

.book-navigation .page-up {
width: 100%;
order: -1;
}
}

/* -------------------- */
/* ## NODE - GENERAL
/* -------------------- */
Expand Down

0 comments on commit 200e464

Please sign in to comment.