hexo-theme-ayer/source/css/_partial/navbar.styl
2019-12-03 19:37:44 +08:00

42 lines
690 B
Stylus

.navbar
position relative
padding-top 3rem
text-align center
.nav
list-unstyled()
.nav-item-link
display block
padding 1rem
color #bbb
text-decoration none
cursor pointer
&:hover
opacity .8
background-color body-color
&.nav-main
.nav-item-link
i
font-size 1rem
display block
line-height 1
.navbar-bottom
position absolute
bottom 0
width 100%
font-size 2rem
.logo
text-align center
margin-bottom 2rem
img
width logo-size
// Media Query
@media (max-width: 768px)
.navbar
.nav
.nav-item-link
&.nav-item-search
display: none