2015-09-19 04:13:55 +08:00
|
|
|
.nav-chapters {
|
|
|
|
font-size: 2.5em
|
|
|
|
text-align: center
|
|
|
|
text-decoration: none
|
|
|
|
|
2017-06-05 10:58:51 +08:00
|
|
|
position: fixed
|
2015-09-19 04:13:55 +08:00
|
|
|
top: 50px /* Height of menu-bar */
|
|
|
|
bottom: 0
|
|
|
|
margin: 0
|
|
|
|
max-width: 150px
|
|
|
|
min-width: 90px
|
|
|
|
display: flex
|
|
|
|
justify-content: center
|
|
|
|
align-content: center
|
|
|
|
flex-direction: column
|
|
|
|
|
|
|
|
transition: color 0.5s
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-nav-chapters { display: none }
|
|
|
|
.nav-chapters:hover { text-decoration: none }
|
2017-06-05 10:58:51 +08:00
|
|
|
.previous {
|
|
|
|
left: $sidebar-width + $page-padding
|
|
|
|
transition: left 0.5s
|
|
|
|
|
|
|
|
@media only screen and (max-width: $max-page-width-with-hidden-sidebar) {
|
|
|
|
left: $page-padding
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.next { right: $page-padding }
|
|
|
|
|
|
|
|
.sidebar-hidden .previous {
|
|
|
|
left: $page-padding
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-visible .previous {
|
|
|
|
left: $sidebar-width + $page-padding
|
|
|
|
}
|