This commit is contained in:
xaoxuu 2022-10-29 19:21:33 +08:00
parent e929a33351
commit 0be24ce616
3 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@
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-mobile-max) @media screen and (min-width: $device-mobile-max)
padding-top: "calc(2 * %s)" % var(--gap-l) padding-top: "calc(1 * %s)" % var(--gap-l)
header header
margin: 4rem 1rem 2rem margin: 4rem 1rem 2rem
.logo-wrap .logo-wrap

View File

@ -1,7 +1,7 @@
.nav-wrap .nav-wrap
position: sticky position: sticky
position: -webkit-sticky position: -webkit-sticky
margin-top: 1.75rem margin-top: .75rem
top: -2px top: -2px
background: var(--site-bg) background: var(--site-bg)
padding: 0 1rem padding: 0 1rem

View File

@ -3,18 +3,18 @@
flex-direction: column flex-direction: column
word-break: break-all word-break: break-all
text-align: justify text-align: justify
padding: var(--gap-l) 0 height: "calc(100vh - 1 * %s)" % var(--gap-l)
padding-top: "calc(2 * %s)" % var(--gap-l)
height: "calc(100vh - 3 * %s)" % var(--gap-l)
@media screen and (max-width: $device-mobile-max)
padding-top: "calc(1 * %s)" % var(--gap-l)
height: "calc(100% - 2 * %s)" % var(--gap-l)
.header .header
margin: 0 var(--gap-l) margin: var(--gap-l) var(--gap-l) 0
>.widgets:first-child>.widget-wrap:first-child
margin-top: "calc(2 * %s)" % var(--gap-l)
@media screen and (max-width: $device-mobile-max)
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: 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: "calc(100% - 1 * %s)" % var(--gap-l)
.widgets >:last-child .widgets >:last-child