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

29 lines
845 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)
2021-04-02 20:24:16 +08:00
@media screen and (min-width: 1200px)
margin-left: "calc(2 * %s)" % var(--gap-l)
margin-right: "calc(0.75 * %s)" % var(--width-left)
2021-03-05 21:37:28 +08:00
@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-04-02 20:24:16 +08:00
padding: 2rem 1rem 0
border-bottom: 2px solid var(--block)
margin-bottom: 1.5rem
2021-02-19 23:33:19 +08:00
.logo-wrap
2021-04-02 20:24:16 +08:00
margin: 0.5rem 0
nav.menu
background: none
padding: 0
justify-content: space-between
a.nav-item
margin: 0
margin-bottom: -2px
padding: 0.5rem 1rem
border-radius: 0
border-bottom: 2px solid var(--block)
a.nav-item.active, a.nav-item:hover
background: none
color: $color-theme
border-bottom-color: $color-theme