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

18 lines
539 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)
2022-08-28 20:06:58 +08:00
@media screen and (min-width: 1400px)
2021-04-02 20:24:16 +08:00
margin-left: "calc(2 * %s)" % var(--gap-l)
2022-10-09 13:42:03 +08:00
margin-right: "calc(2 * %s + %s / 2)" % (var(--gap-l) var(--width-left))
2022-10-13 13:57:57 +08:00
@media screen and (min-width: $device-mobile-max)
2024-01-17 00:27:48 +08:00
padding-top: 8px
2022-11-19 17:42:35 +08:00
@media screen and (max-width: $device-mobile-max)
padding-top: 1rem
2021-02-19 23:33:19 +08:00
header
2022-11-19 17:42:35 +08:00
margin: 2rem 1rem 1rem
2021-08-19 23:13:05 +08:00
.logo-wrap
margin: 0
2024-01-04 22:50:57 +08:00
.l_main.list
@media screen and (max-width: $device-mobile-max)
padding-top: 0