mdBook/src/theme/stylus/nav-icons.styl

24 lines
474 B
Stylus
Raw Normal View History

2015-09-19 04:13:55 +08:00
.nav-chapters {
font-size: 2.5em
text-align: center
text-decoration: none
position: absolute
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 }
.previous { left: 0 }
.next { right: 0 }