31 lines
599 B
Stylus
31 lines
599 B
Stylus
.l_main
|
|
position: relative
|
|
header
|
|
display: none
|
|
margin: $gap * 2 $gap $gap
|
|
padding: 0.25rem
|
|
background: var(--block)
|
|
border-radius: 6px
|
|
.logo-wrap
|
|
margin: 0.5rem 0.75rem
|
|
.avatar
|
|
width: 32px
|
|
height: 32px
|
|
border: none
|
|
.title
|
|
font-size: 1.5rem
|
|
nav.menu
|
|
margin: -3px
|
|
a.nav-item
|
|
margin: 2px
|
|
|
|
// pc上右边顶部留白
|
|
@media screen and (min-width: $device-tablet)
|
|
.l_main
|
|
margin-top: $gap
|
|
|
|
// 移动端显示主导航栏
|
|
@media screen and (max-width: $device-tablet)
|
|
.l_main header
|
|
display: block
|