This commit is contained in:
xaoxuu 2022-10-29 20:04:08 +08:00
parent 0be24ce616
commit 52df8b7090
1 changed files with 5 additions and 4 deletions

View File

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