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

29 lines
570 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-22 23:07:12 +08:00
.avatar
2021-02-19 23:33:19 +08:00
width: 32px
height: 32px
2021-02-22 23:07:12 +08:00
border: none
2021-02-19 23:33:19 +08:00
.title
font-size: 1.5rem
2021-02-22 23:07:12 +08:00
nav.menu
2021-02-20 13:09:41 +08:00
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