This commit is contained in:
xaoxuu 2022-10-13 13:57:57 +08:00
parent d0e92cda42
commit 608d3c611e
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
@media screen and (min-width: 1400px) @media screen and (min-width: 1400px)
margin-left: "calc(2 * %s)" % var(--gap-l) margin-left: "calc(2 * %s)" % var(--gap-l)
margin-right: "calc(2 * %s + %s / 2)" % (var(--gap-l) var(--width-left)) margin-right: "calc(2 * %s + %s / 2)" % (var(--gap-l) var(--width-left))
@media screen and (min-width: $device-tablet) @media screen and (min-width: $device-mobile-max)
padding-top: "calc(2 * %s)" % var(--gap-l) padding-top: "calc(2 * %s)" % var(--gap-l)
header header
margin: 4rem 1rem 2rem margin: 4rem 1rem 2rem

View File

@ -6,14 +6,14 @@
padding: var(--gap-l) padding: var(--gap-l)
padding-top: "calc(2 * %s)" % var(--gap-l) padding-top: "calc(2 * %s)" % var(--gap-l)
height: "calc(100vh - 3 * %s)" % var(--gap-l) height: "calc(100vh - 3 * %s)" % var(--gap-l)
@media screen and (max-width: $device-tablet) @media screen and (max-width: $device-mobile-max)
padding-top: "calc(1 * %s)" % var(--gap-l) padding-top: "calc(1 * %s)" % var(--gap-l)
height: "calc(100% - 2 * %s)" % var(--gap-l) height: "calc(100% - 2 * %s)" % var(--gap-l)
.l_left[layout=wiki] .l_left[layout=wiki]
padding-bottom: 0 padding-bottom: 0
height: "calc(100vh - 2 * %s)" % var(--gap-l) height: "calc(100vh - 2 * %s)" % var(--gap-l)
@media screen and (max-width: $device-tablet) @media screen and (max-width: $device-mobile-max)
height: "calc(100% - 1 * %s)" % var(--gap-l) height: "calc(100% - 1 * %s)" % var(--gap-l)
.widgets >:last-child .widgets >:last-child
margin-bottom: 6rem margin-bottom: 6rem