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

28 lines
547 B
Stylus
Raw Normal View History

2021-02-19 23:33:19 +08:00
.l_main
position: relative
header
display: none
margin: $gap * 2 $gap $gap
padding: 0.25rem
background: var(--block)
2021-02-20 13:09:41 +08:00
border-radius: 6px
2021-02-19 23:33:19 +08:00
.logo-wrap
2021-02-20 13:09:41 +08:00
margin: 0.5rem 0.75rem
2021-02-19 23:33:19 +08:00
.img
width: 32px
height: 32px
.title
font-size: 1.5rem
2021-02-20 13:09:41 +08:00
nav.menu
margin: -2px
2021-02-19 23:33:19 +08:00
// pc
@media screen and (min-width: $device-tablet)
.l_main
margin-top: $gap * 2
//
@media screen and (max-width: $device-tablet)
2021-02-20 13:09:41 +08:00
.l_main header
2021-02-19 23:33:19 +08:00
display: block