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

19 lines
554 B
Stylus

.l_main
position: relative
padding-bottom: "calc(1 * %s)" % var(--gap-l)
@media screen and (min-width: 1400px)
margin-left: "calc(2 * %s)" % var(--gap-l)
margin-right: "calc(2 * %s + %s / 2)" % (var(--gap-l) var(--width-left))
@media screen and (min-width: $device-mobile-max)
padding-top: 8px
@media screen and (max-width: $device-mobile-max)
padding-top: 1rem
header
margin: 2rem 1rem 1rem
.logo-wrap
margin: 0
.l_body.index
.l_main
@media screen and (max-width: $device-mobile-max)
padding-top: 0