hexo-theme-stellar/source/css/_layout/main.styl

29 lines
570 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: -2px
// pc
@media screen and (min-width: $device-tablet)
.l_main
margin-top: $gap * 2
//
@media screen and (max-width: $device-tablet)
.l_main header
display: block