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

31 lines
599 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-23 21:09:49 +08:00
margin: -3px
a.nav-item
margin: 2px
2021-02-19 23:33:19 +08:00
// pc
@media screen and (min-width: $device-tablet)
.l_main
2021-02-24 22:07:32 +08:00
margin-top: $gap
2021-02-19 23:33:19 +08:00
//
@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