2021-04-20 23:11:27 +08:00
|
|
|
.mobile-only
|
|
|
|
display: none
|
2022-10-09 13:42:03 +08:00
|
|
|
@media screen and (max-width: $device-mobile-max)
|
2021-04-20 23:11:27 +08:00
|
|
|
display: block !important
|
|
|
|
|
|
|
|
.mobile-hidden
|
2022-10-09 13:42:03 +08:00
|
|
|
@media screen and (max-width: $device-mobile-max)
|
2021-08-19 23:13:05 +08:00
|
|
|
display: none !important
|
2021-04-20 23:11:27 +08:00
|
|
|
|
|
|
|
.float-panel
|
|
|
|
position: sticky
|
|
|
|
right: 0
|
|
|
|
bottom: 2rem
|
|
|
|
float: right
|
2021-11-20 12:32:53 +08:00
|
|
|
z-index: 10
|
2021-04-20 23:11:27 +08:00
|
|
|
display: flex
|
2022-11-13 00:45:15 +08:00
|
|
|
border-radius: 2rem
|
|
|
|
margin-right: 1rem
|
2021-04-20 23:11:27 +08:00
|
|
|
overflow: hidden
|
2022-11-13 00:45:15 +08:00
|
|
|
--blur-px: 16px
|
|
|
|
--blur-bg: alpha(#fff, .4)
|
|
|
|
trans1: all
|
2021-04-20 23:11:27 +08:00
|
|
|
if hexo-config('style.darkmode') == 'auto'
|
|
|
|
@media (prefers-color-scheme: dark)
|
2022-11-13 00:45:15 +08:00
|
|
|
--blur-bg: alpha(#000, .4)
|
2022-10-22 13:59:21 +08:00
|
|
|
if hexo-config('style.darkmode') == 'always'
|
2022-11-13 00:45:15 +08:00
|
|
|
--blur-bg: alpha(#000, .4)
|
2021-04-20 23:11:27 +08:00
|
|
|
|
2024-02-02 14:53:35 +08:00
|
|
|
// 侧边栏弹出按钮
|
2024-02-04 21:09:44 +08:00
|
|
|
.leftbar-toggle.mobile
|
2021-04-20 23:11:27 +08:00
|
|
|
cursor: pointer
|
2024-01-31 22:45:07 +08:00
|
|
|
color: var(--text)
|
2021-04-20 23:11:27 +08:00
|
|
|
background: none
|
2024-01-17 00:27:48 +08:00
|
|
|
padding: 8px
|
2021-04-20 23:11:27 +08:00
|
|
|
line-height: 0
|
2024-02-02 14:53:35 +08:00
|
|
|
font-size: 28px
|
2021-04-21 23:46:28 +08:00
|
|
|
margin: 0
|
2024-02-02 14:53:35 +08:00
|
|
|
display: flex
|
|
|
|
>*
|
|
|
|
path#sep
|
|
|
|
trans1 transform
|
|
|
|
width: auto
|
|
|
|
height: 28px
|
|
|
|
// 侧边栏弹出后
|
2024-02-04 21:09:44 +08:00
|
|
|
.l_body.mobile.leftbar .leftbar-toggle.mobile
|
2024-02-02 14:53:35 +08:00
|
|
|
svg g
|
|
|
|
fill: currentColor
|
|
|
|
fill-opacity: 0.3
|
|
|
|
path#sep
|
|
|
|
transform: translateX(2px)
|
2021-04-20 23:11:27 +08:00
|
|
|
|
|
|
|
|
2024-02-04 21:09:44 +08:00
|
|
|
.l_body.mobile.leftbar
|
|
|
|
.leftbar-toggle.mobile
|
2021-04-20 23:11:27 +08:00
|
|
|
background: var(--card)
|
|
|
|
color: $color-hover
|
|
|
|
border-color: var(--block-border)
|