mdBook/data/html-template/_stylus/theme-popup.styl

57 lines
922 B
Stylus
Raw Normal View History

2015-09-19 04:13:55 +08:00
.theme-popup {
position: relative
left: 10px
2015-09-19 04:13:55 +08:00
z-index: 1000;
2015-09-19 04:13:55 +08:00
border-radius: 4px
font-size: 0.7em
.theme {
margin: 0
padding: 2px 10px
line-height: 25px
white-space: nowrap
&:hover:first-child,
&:hover:last-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
2015-09-19 04:13:55 +08:00
}
2015-09-19 04:13:55 +08:00
}
@media only screen and (max-width: 1250px) {
.nav-chapters {
display: none
}
.mobile-nav-chapters {
font-size: 2.5em
text-align: center
text-decoration: none
max-width: 150px
min-width: 90px
justify-content: center
align-content: center
position: relative
display: inline-block
margin-bottom: 50px
border-radius: 5px
}
.next {
float: right
}
.previous {
float: left
}
}