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

23 lines
501 B
Stylus
Raw Normal View History

2021-02-19 23:33:19 +08:00
.l_main
position: relative
2021-03-05 21:37:28 +08:00
padding-bottom: "calc(1 * %s)" % var(--gap-l)
@media screen and (min-width: $device-tablet)
padding-top: "calc(2 * %s)" % var(--gap-l)
2021-02-19 23:33:19 +08:00
header
2021-03-05 21:37:28 +08:00
margin: 2rem 1rem 1rem
2021-02-19 23:33:19 +08:00
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