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

11 lines
346 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-20 23:11:27 +08:00
margin: 2rem 1rem